Commit graph

1587 commits

Author SHA1 Message Date
Artyom Bologov
2ef05f033c
gnu: gsl: Add debug output.
* gnu/packages/maths.scm (gsl)[outputs]: Add "debug".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-03 10:45:31 +01:00
Lars Bilke
f129a6cc59
gnu: petsc: Remove store references on make and gcc.
Reduces closure size from 970 MB to around 700 MB for petsc-openmpi
package and also makes `guix pack` packages containing petsc
bit-reproducible (by removing make it removes implicit guile
dependency).

* gnu/packages/maths.scm (petsc)[arguments]: Add patterns in
’clean-local-references’ and ‘clear-reference-to-compiler’.

Change-Id: I465c325b152b09befdb746e5bc47fbeaf9a061dc
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-29 15:45:19 +01:00
Lars Bilke
7ec33a1cc3
gnu: petsc: Remove arch version from uname output.
Enables reproducible building on machines with have a different
arch-suffix in uname output, e.g.:

Machine·characteristics:·Linux-x.x.x-arch1-1-x86_64-with-glibc2.39

vs.

Machine·characteristics:·Linux-x.x.x-arch2-1-x86_64-with-glibc2.39

Will become

Machine·characteristics:·Linux-x.x.x-archx-x-x86_64-with-glibc2.39

* gnu/packages/maths.scm (petsc)[arguments]: Adjust machine regexp in
‘clean-local-references’.

Change-Id: Icc37a298c0c2d16e96f2c8eaf5aa4781cc4e5ac4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-29 15:45:19 +01:00
Felix Gruber
48cd108290
gnu: dune-functions: Update to 2.10.0.
* gnu/packages/maths.scm (dune-functions): Update to 2.10.0.

Change-Id: I022a75f9c66adf50b5b074594d50eed98f316634
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-11-22 20:18:55 +01:00
Felix Gruber
296425c765
gnu: dune-typetree: Update to 2.10.0.
* gnu/packages/maths.scm (dune-typetree): Update to 2.10.0.

Change-Id: I5f41fd6a1f8401283d6fa1831d8af96cd751907e
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-11-22 20:18:55 +01:00
Felix Gruber
108a42c2cf
gnu: dune-subgrid: Update to 2.10.0.
* gnu/packages/maths.scm (dune-subgrid): Update to 2.10.0.

Change-Id: I447398849731713a4f56e22139b829cb835e97ce
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-11-22 20:18:55 +01:00
Felix Gruber
cc29fb8fca
gnu: dune-alugrid: Update to 2.10.0.
* gnu/packages/maths.scm (dune-alugrid): Update to 2.10.0.

Change-Id: I316d27b7da3e07398d12a156fa9b3b24675b7fad
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-11-22 20:18:55 +01:00
Felix Gruber
644d2aa36b
gnu: dune-localfunctions: Update to 2.10.0.
* gnu/packages/maths.scm (dune-localfunctions): Update to 2.10.0.

Change-Id: If3a92b213d0c94b15035b937e9d0fd96bdf13554
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-11-22 20:18:54 +01:00
Felix Gruber
7e855f5fa0
gnu: dune-istl: Update to 2.10.0.
* gnu/packages/maths.scm (dune-istl): Update to 2.10.0.
  [source]: Remove patch that has been applied upstream.
* gnu/packages/patches/dune-istl-fix-solver-playground.patch: Remove
  file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Change-Id: Ifbbb6f2dea815159a1743ae6e622c154cf1cc9b0
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-11-22 20:18:54 +01:00
Felix Gruber
3b5e1b4931
gnu: dune-grid: Update to 2.10.0.
* gnu/packages/maths.scm (dune-grid): Update to 2.10.0.
  [source]: Remove patch that has been applied upstream.
* gnu/packages/patches/dune-grid-add-missing-include-cassert.patch:
  Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Change-Id: I793f9151ace3c5104fd2b8d74ace128e73133cf3
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-11-22 20:18:54 +01:00
Felix Gruber
fe61fb93ea
gnu: dune-uggrid: Update to 2.10.0.
* gnu/packages/maths.scm (dune-uggrid): Update to 2.10.0.
  [source]: Download as tarball.

Change-Id: I3b89ad16dffe6bb64bc343bda4b27868720551f4
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-11-22 20:18:54 +01:00
Felix Gruber
a20ca98ce4
gnu: dune-geometry: Update to 2.10.0.
* gnu/packages/maths.scm (dune-geometry): Update to 2.10.0.

Change-Id: I4643e3f2c558abbe56f8dbd5e3ff59b334c00912
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-11-22 20:18:54 +01:00
Felix Gruber
21d5250c9b
gnu: dune-common: Update to 2.10.0.
* gnu/packages/maths.scm (dune-common): Update to 2.10.0.

Change-Id: I9294c8cb03933533ca05d574320fbfcb8fc711fd
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-11-22 20:18:45 +01:00
Lars Bilke
7c9fcc3e6e
gnu: hdf5: Remove machine info from libraries.
* gnu/packages/maths.scm (hdf5-1.14)[arguments]: Add
‘patch-configure-build-settings’.

Change-Id: I1435b866babeb95af48e0fd970d931f022c8bc67
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-18 10:58:42 +01:00
Nicolas Graves
eb959d5a63
gnu: scilab: Update to 2025.0.0.
* gnu/packages/maths.scm (scilab): Update to 2025.0.0.
[inputs]: Replace hdf5-1.1.0 by hdf5-1.14.

Signed-off-by: Andreas Enge <andreas@enge.fr>
Change-Id: If70812525226bb1e9968b1f1042d822d56908f8b
2024-11-15 09:26:46 +01:00
Zheng Junjie
ec1dffc2c1
gnu: boolector: Fix build.
gnu/packages/maths.scm (boolector)[inputs]: Add gmp.

Change-Id: I008360baed99d02d55bff76d683136ff505e2742
2024-10-31 10:43:59 +08:00
Zheng Junjie
142be256d4
gnu: louvain-community: Fix home-page.
* gnu/packages/maths.scm (louvain-community)[home-page]: Use the right link.

Change-Id: Idb1f54511f63bf62a9bf29cfb9177cd9f31b2390
2024-10-31 10:43:59 +08:00
Zheng Junjie
af7a5ea4e4
gnu: louvain-community: Don't tune native.
* gnu/packages/maths.scm (louvain-community)[arguments]<#:phases>: Add
no-tune-native phase.
[properties]: Add tunable? field.

Change-Id: Idb1f54511f63bf62a9bf29cfb9177cd9f31b2390
2024-10-31 10:43:56 +08:00
Vinicius Monego
9d577f0f4c
gnu: Add python-primecountpy.
* gnu/packages/maths.scm (python-primecountpy): New variable.

Change-Id: Id775a672c104162965825d8d44e599df0c26f11a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-10-24 10:59:58 +01:00
Sharlatan Hellseher
64ed498737
gnu: primecount: Update to 7.14.
* gnu/packages/maths.scm (primecount): Update to 7.14.
[argumetns]<#configure-flags>: Build man pages, link to existing
primesieve package.
[inputs]: Add primesieve.
[native-inputs]: Add asciidoc.

Change-Id: Ia6405274c86c3f996bcaa533cb86226da047fbfa
2024-10-24 10:59:58 +01:00
Vinicius Monego
6c72e72ae8
gnu: Add primecount.
* gnu/packages/maths.scm (primecount): New variable.

Change-Id: I03692a1be46cc4d0f3eabe95a3f76719a5c63d83
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-10-24 10:59:58 +01:00
Sharlatan Hellseher
68fe21b5b2
gnu: packages/maths: Sort alphabetically.
* gnu/packages/maths.scm: (python-blis, python-blis-for-thinc,
python-cvxopt, python-kiwisolver, python-libensemble, python-petsc4py):
Sort variables alphabetically.

Change-Id: Ie00bea4d51ded909e9852e8565b1e26b1412c644
2024-10-24 10:59:58 +01:00
Sharlatan Hellseher
6781127a0b
gnu: packages/maths: Sort alphabetically.
* gnu/packages/maths.scm: (pnetcdf, popf, ppl, primesieve): Sort
variables alphabetically.

Change-Id: I49653934a3a7149ef51975c6f757d2dcd2f84fb5
2024-10-24 10:59:51 +01:00
Liliana Marie Prikler
739b0a0fe1
gnu: cryptominisat: Update to 5.11.22.
* gnu/packages/maths.scm (cryptominisat): Update to 5.11.22.
[source]: Patch include for cadiback.
[inputs]: Add cadical, cadiback-for-cryptominisat and gmp.
2024-10-06 12:17:17 +02:00
Liliana Marie Prikler
caaf6e98df
gnu: Add cadiback-for-cryptominisat.
* gnu/packages/maths.scm (cadiback-for-cryptominisat): New variable.
2024-10-06 12:17:17 +02:00
Liliana Marie Prikler
ea8ef0f878
gnu: Add cadiback.
* gnu/packages/maths.scm (cadiback): New variable.
2024-10-06 12:17:16 +02:00
Liliana Marie Prikler
dcf77f8fca
gnu: Add cadical.
* gnu/packages/patches/cadical-add-shared-library.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/maths.scm (cadical): New variable.
2024-10-06 12:17:16 +02:00
Liliana Marie Prikler
e2ff842ece
gnu: lingeling: Update to 1.0.0.
* gnu/packages/maths.scm (lingeling): Update to 1.0.0.
[#:phases]<hard-code-commit>: Adjust accordingly.
2024-10-06 12:17:16 +02:00
Liliana Marie Prikler
857c50d6e0
gnu: z3: Update to 4.13.0.
* gnu/packages/maths.scm (z3): Update to 4.13.0.
2024-10-06 12:17:16 +02:00
Liliana Marie Prikler
7a3b9db47e
gnu: kissat: Update to 4.0.1.
* gnu/packages/maths.scm (kissat): Update to 4.0.1.
[#:phases]<patch-source>: Relax regexp to fix test.
2024-10-06 12:17:16 +02:00
Liliana Marie Prikler
a77f280b34
gnu: scasp: Update to 1.1.4.
* gnu/packages/maths.scm (scasp): Update to 1.1.4.
2024-10-06 12:17:16 +02:00
Nicolas Graves
ed0d985385
gnu: scilab: Add sanity-check phase.
* gnu/packages/maths.scm (scilab):
  [arguments]<#:phases>: Add sanity-check phase.

Change-Id: Idc6911511fd0bf7e779d4af026f0a6390eb3b079
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-04 19:43:39 +02:00
Nicolas Graves
8570fccfa7
gnu: scilab: Fix the scilab build script.
* gnu/packages/maths.scm (scilab):
[arguments]<#:phases>: Reintroduce a manual patch for /bin/ls in phase
pre-build. This is necessary because the file is used when scilab
builds macros, even if it is discarded later.
[inputs]: Add coreutils-minimal.

Change-Id: I692fd6696273bfdce0e50b0f688a60e7dc289ce6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-04 19:43:39 +02:00
Nicolas Graves
e6391ceb1e
gnu: scilab: Cleanup more files.
* gnu/packages/maths.scm (scilab):
[source] Delete .bat files.

Change-Id: I6f9ae17dd5d689c3e5836bf0c9e54725ef381428
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-04 19:43:38 +02:00
Nicolas Graves
2e433799c5
gnu: scilab: Update to 2024.1.0.
* gnu/packages/maths.scm (scilab): Update to 2024.1.0.
* gnu/packages/patches/scilab-tbx_build_help.patch: Update patch.

Change-Id: I79197822aefba698b2383e3aa30fbc511da6954c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-04 19:43:38 +02:00
Ludovic Courtès
51868735f3
gnu: netcdf: Remove input labels and use gexps.
* gnu/packages/maths.scm (netcdf)[inputs]: Remove labels.
[arguments]: Use gexps.
(netcdf-parallel-openmpi): Use ‘package/inherit’.
[inputs]: Remove labels.
[arguments]: Use gexps.

Change-Id: Ibf133cd3eea20cbaf7c3d2e407370225f8716d10
2024-10-04 17:23:13 +02:00
Romain GARBAGE
a227a6efb5
gnu: netcdf-parallel-openmpi: Enable pnetcdf support.
* gnu/packages/maths.scm (netcdf-parallel-openmpi) [arguments]: Enable pnetcdf support.

Change-Id: I7f3fc6abdb262be86840ea3f68bb6416a0ab1fad
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-04 17:23:13 +02:00
Romain GARBAGE
26d1b6b3c9
gnu: Add pnetcdf.
* gnu/packages/maths.scm (pnetcdf): New variable.

Change-Id: I419161be82cd45585187abfd1e63a23feac73d59
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-04 17:23:13 +02:00
Romain GARBAGE
c51d7fd569
gnu: netcdf-parallel-openmpi: Build shared library.
* gnu/packages/maths.scm (netcdf-parallel-openmpi) [arguments]: Enable
building of shared library.

Change-Id: I6e901d5939108421e041252207f10f4800890e97
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-09-30 22:52:23 +02:00
Efraim Flashner
5bc1fff8f1
gnu: sleef: Update to 3.6.1.
* gnu/packages/maths.scm (sleef): Update to 3.6.1.
[arguments]: Set build-type to release.  Update configure-flags to only
set building a shared library.
[inputs]: Remove openssl-1.1.  Add mpfr, openssl.

Change-Id: I3dab4b84a755a49f187e93e684e85659af0e2a49
2024-09-17 21:17:22 +03:00
Tobias Geerinckx-Rice
278cce9f61
gnu: armadillo: Update to 12.4.2.
* gnu/packages/maths.scm (armadillo): Update to 12.4.2.

Change-Id: I06b5c63075589de9ef0c32115da912190c077b85
2024-09-08 02:00:00 +02:00
Efraim Flashner
02a3ad5b0c
gnu: chuffed: Add a source file-name.
* gnu/packages/maths.scm (chuffed)[source]: Add a file-name field.

Change-Id: Iae1bf75cf0ceb050c6fe2be37a1de3b36b68d0c2
2024-09-16 09:08:38 +03:00
Tobias Geerinckx-Rice
4e2a35661a
gnu: 4ti2: Update to 1.6.10.
* gnu/packages/maths.scm (4ti2): Update to 1.6.10.

Change-Id: Ic32526be423aade04a529fcdfbf9332a7c328daf
2024-09-08 02:00:00 +02:00
Ludovic Courtès
c4a2b99f7d
Revert "gnu: gsl: Add debug output."
This reverts commit 36e30a33e8, which
triggers too many rebuilds (‘gsl’ has 2.9K dependents).

Change-Id: Ia0f0968b23dbf8234c69973eaf71d33a2e8c0690
2024-09-06 09:00:55 +02:00
Artyom Bologov
36e30a33e8
gnu: gsl: Add debug output.
* gnu/packages/maths.scm (gsl)[outputs]: Add "debug".
2024-09-05 19:10:40 -05:00
Ludovic Courtès
993d6d2e7b
gnu: dealii: Update to 9.6.0.
* gnu/packages/maths.scm (dealii): Update to 9.6.0.

Change-Id: I197511908d9ac27dd4ba1356515f1fbf7bafd218
2024-09-05 10:14:25 +02:00
Ludovic Courtès
7e87b95c40
gnu: sundials, sundials-openmpi: Use gexps.
* gnu/packages/maths.scm (sundials)[arguments]: Use gexps and use
‘search-input-file’ rather than ‘assoc-ref’.
(sundials-openmpi)[arguments]: Likewise.

Change-Id: Ife0c2ae3604cf66c90ec4a13fe9242f7fe7d550f
2024-09-05 10:14:25 +02:00
Ludovic Courtès
0fcd05b044
gnu: sundials: Upgrade to 7.1.1.
* gnu/packages/maths.scm (sundials): Update to 7.1.1.
[native-inputs]: Add PKG-CONFIG.
(sundials-openmpi)[arguments]: Pass ‘-DPETSC_INCLUDE_DIRS’ instead of
‘-DPETSC_DIR’.

Change-Id: I750415109d69b53afbcf461dc98b2028af03c35a
2024-09-05 10:14:25 +02:00
Ludovic Courtès
8d5d66887e
gnu: petsc: Make ‘petscvariables’ reproducible.
This is a followup to 31fe177a97.

* gnu/packages/maths.scm (petsc)[arguments]: In
‘clean-local-references’, fix typo in ‘MAKE_NP’ and ‘NPMAX’ regexps.
Substitute ‘MAKE_TEST_NP’ and ‘MAKE_LOAD’ as well.

Change-Id: I41b4279a3cdc4b077fab21f0f99273d0d50ed8e1
2024-09-05 10:14:24 +02:00
Ludovic Courtès
0b6586a223
gnu: python-slepc4py: Update to 3.21.1.
* gnu/packages/maths.scm (python-slepc4py): Update to 3.21.1.
[arguments]: Switch to gexps.  Replace ‘check’ phase.
[native-inputs]: New field.
[inputs]: Remove labels.  Add ‘petsc-openmpi’.

Change-Id: Ib6f1480415ac5128399c32c1974779b67edb5550
2024-09-05 10:14:24 +02:00