Commit graph

1652 commits

Author SHA1 Message Date
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
Ludovic Courtès
b4a8f5d784
gnu: slepc: Update to 3.21.1.
* gnu/packages/maths.scm (slepc): Update to 3.21.1.

Change-Id: Ib82754c351100de94b57c650a3688747bf706713
2024-09-05 10:14:24 +02:00
Ludovic Courtès
0852461c4f
gnu: python-petsc4py: Update to 3.21.4.
* gnu/packages/maths.scm (python-petsc4py): Update to 3.21.4.
[source](modules, snippet): Remove.
[arguments]: Switch to gexps.  Rename ‘pre-build’ phase to
‘set-PETSC_DIR’.  Replace ‘check’ phase.
[native-inputs]: Switch to ‘python-cython-3’.
[inputs]: Remove labels.

Change-Id: I2d8ef3519f6ffe93ff761ef99c4b8951b6107e1c
2024-09-05 10:14:24 +02:00
Ludovic Courtès
23e62a1529
gnu: petsc: Update to 3.21.4.
* gnu/packages/maths.scm (petsc): Update to 3.21.4.  Update source URL.
[arguments]: Move ‘check’ phase after ‘install’.
[home-page]: Update.

Change-Id: I8e7244ad4f8566119bc259f1dccec9589760a491
2024-09-05 10:14:24 +02:00
Ludovic Courtès
ed1b4f56fc
gnu: hypre: Use gexps.
* gnu/packages/maths.scm (hypre)[arguments]: Use gexps.
(hypre-openmpi)[arguments]: Likewise.

Change-Id: I3064b7606b97076e2fb2947b1fb93319eeb184c9
2024-09-05 10:14:24 +02:00
Ludovic Courtès
6bf70cf9a6
gnu: hypre: Add missing TeX Live dependency.
* gnu/packages/maths.scm (hypre)[native-inputs]: Add TEXLIVE-CHANGEPAGE.

Change-Id: I47592a908e3bda39a182424d4f0c9fd820f0d613
2024-09-05 10:14:24 +02:00
Artyom V. Poptsov
aef015bfc9
gnu: jacal: Update to 1c8.
* gnu/packages/maths.scm (jacal): Update to 1c8.
[native-inputs]: Add time.

Change-Id: I855993e5caf67854c4c508546485872f770afdd6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-09-03 13:59:34 +02:00
Vinicius Monego
c01a99bb34
gnu: python-libensemble: Update to 1.4.2.
* gnu/packages/maths.scm (python-libensemble): Update to 1.4.2.
[propagated-inputs]: Add python-mpmath.
[arguments]: Delete a file that contains a failing test.

Change-Id: I76deae624b7f2bede63ad1b2bcf445c5aae53953
2024-09-02 17:42:34 -03:00
Ludovic Courtès
461df5574f
gnu: gsl: Use gexps.
* gnu/packages/maths.scm (gsl)[arguments]: Use gexps.

Change-Id: Ic81576c61a237ff41d6ed767dcf58e38ca96e9ca
2024-08-31 10:45:46 +02:00
Ludovic Courtès
4d8382ab84
gnu: gsl: Fix test failures on i686-linux by building with -O2.
* gnu/packages/maths.scm (gsl)[arguments]: Pass #:make-flags '() on
i686-linux.  Remove modification of ‘linalg/test.c’ in
‘disable-failing-tests’ phase for i686-linux.

Change-Id: I615d4e0d71253ca294bc5c5c7a278e3046c186cc
2024-08-31 10:45:46 +02:00
Efraim Flashner
2b93fed8fa
gnu: gsl-static: Remove variable.
* gnu/packages/maths.scm (gsl-static): Remove variable.

Change-Id: I20af472e62582b403afa4be80b2d3f725903dabc
2024-08-31 10:42:48 +02:00
Efraim Flashner
53bec65c51
gnu: gsl: Provide static library in separate output.
* gnu/packages/maths.scm (gsl)[outputs]: New field.
[arguments]: Remove configure-flag disabling static library.  Add
make-flag to produce PIC output.  Add a phase to move the static
libraries into the static output.

Change-Id: I4c5dddb8d384f4e2f82122b239da44350bacf57a
2024-08-31 10:42:48 +02:00
Maxime Devos
c5ae065596
gnu: maths: Add 'bash' input for 'wrap-program'.
It is required for cross-compilation.

* gnu/packages/maths.scm
(units): Fix indentation, remove trailing #t.
[inputs]: Add bash-minimal and drop labels.
(feedgnuplot)[inputs]: Add bash-minimal.
(vuesz)[inputs]: Likewise.
(lingeling)[inputs]: Likewise.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ifc89d72147d4dbb268410c236a3a2137cd0712a0
2024-08-31 10:42:33 +02:00
Maxim Cournoyer
bd3843d7e6
gnu: lingeling: Import the correct set of modules.
* gnu/packages/maths.scm (lingeling) [arguments]
<modules>: Replace %default-gnu-imported-modules with %default-gnu-modules.

Change-Id: I9293cf6798395d9c9cf3fde5adac5439d02884df
2024-08-31 10:42:22 +02:00
Maxim Cournoyer
832c2549c0
gnu: hypre: Import the correct set of modules.
* gnu/packages/maths.scm (hypre) [arguments]
<modules>: Replace %default-gnu-imported-modules with %default-gnu-modules.

Change-Id: Iad7958af53360f83e7b04c5b6f8e2ccc8e87e27c
2024-08-31 10:42:22 +02:00
Maxim Cournoyer
40864d6597
gnu: mumps: Import the correct set of modules.
* gnu/packages/maths.scm (mumps) [arguments]
<modules>: Replace %default-gnu-imported-modules with %default-gnu-modules.

Change-Id: I61e06ba8df29a833124940a1a4e55cb063c66e4b
2024-08-31 10:42:22 +02:00
Maxim Cournoyer
f59df1aa3c
build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-modules.
Until now users would have to cargo cult or inspect the private
%default-modules variable of (guix build-systems gnu) to discover which
modules to include when extending the used modules via the #:modules argument.

The renaming was automated via the command:

  $ git grep -l %gnu-build-system-modules
    | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i

* guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to...
(%default-gnu-imported-modules): ... this.
(%default-modules): Rename to...
(%default-gnu-modules): ... this.  Export.
(dist-package, gnu-build, gnu-cross-build): Adjust accordingly.

Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
2024-08-31 10:42:16 +02:00
Nicolas Goaziou
44553da934
gnu: nauty: Fix build.
* gnu/packages/maths.scm (nauty): Fix hash.

Change-Id: I4837baf2c43279705f0445fd08ad2578e431b8cc
2024-08-26 22:04:11 +02:00
Nicolas Goaziou
732dac4ce0
gnu: nauty: Update to 2.8.9.
* gnu/packages/maths.scm (nauty): Update to 2.8.9.
[arguments]<#:phases>: Add a phase for fixing a test.

Change-Id: I854754ab372ef6ae1d5e13e14c0fc8a667177b4d
2024-08-26 20:57:44 +02:00
Luca Cirrottola
84c62cf166
gnu: hdf5-parallel-openmpi: Update to 1.14.x.
Fixes <https://issues.guix.gnu.org/68313>.

HDF5 1.14.3 contains the fix for <https://github.com/HDFGroup/hdf5/pull/3421>.

* gnu/packages/maths.scm (hdf5-parallel-openmpi): Inherit from HDF5-1.14.
[arguments]: Take arguments from HDF5-1.14.  Use gexps.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I99222a1085dcd75c3c9ac83a0e88495e86a8cf59
2024-08-19 12:02:05 +02:00
Luca Cirrottola
832f2bcb92
gnu: hdf5@1.14: Update to 1.14.3.
* gnu/packages/maths.scm (hdf5-1.14): Update to 1.14.3.
[arguments]: New field.

Co-authored-by: Ludovic Courtès <ludovic.courtes@inria.fr>
Change-Id: If413ec4d00de0de86020d8f56f2e3f9ec52ed0a9
2024-08-19 12:01:46 +02:00
Janneke Nieuwenhuizen
918b7d102c
gnu: mcrl2: Update to 202307.1.
* gnu/packages/maths.scm (mcrl2): Update to 202307.1.

Change-Id: I6fe73c964336654a2f29df398c7f710db73f2637
2024-08-01 09:10:25 +02:00
Lars Bilke
31fe177a97
gnu: petsc: Build reproducibly.
* gnu/packages/maths.scm (petsc)[arguments]: In ‘configure’ phase, add
‘sorted’ call in ‘gmakegen.py’.
In ‘clean-local-references’, remove substitution of “Libraries compiled
on”, which is unnecessary since  PETSc 3.9
(<a970bd7489>).
Add substitution for “Machine characteristics” bit.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: Ibb846c1ae368af94b46d5ce789b1263e0bc78a13
2024-07-26 18:18:12 +02:00
Karl Hallsby
971e874f4e
gnu: gnuplot: Update to 6.0.1
* gnu/packages/maths.scm (gnuplot): Update to 6.0.1.

Change-Id: Ifd03a68eec47375f5af6bacfca616ff02bd23d7b
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-07-21 16:48:42 +02:00
Artyom V. Poptsov
ab54f8c514
gnu: xaos: Update to 4.3.2.
* gnu/packages/maths.scm (xaos): Update to 4.3.2.
[native-inputs]: Remove qtbase-5 and qttools-5; add qtbase and qttools.
[arguments]: Use gexps.  Fix "PREFIX" variable in "XaoS.pro" during
"configure" phase.

Change-Id: Ifae9890309368ee4131b531c9ea7b155a3cf693c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-07-10 16:08:52 +02:00
Lars Bilke
d5a99af93f
gnu: petsc: Build optimized libraries.
* gnu/packages/maths.scm (petsc)[arguments]: Disable debug information.

Change-Id: Iec92a5bf50a004880aeb1ec49d2a2beb154ef222
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-07-09 13:54:44 +02:00
Vinicius Monego
f4ad32bfb4
gnu: primesieve: Update to 12.3.
* gnu/packages/maths.scm (primesieve): Update to 12.3.

Change-Id: Ie98e370f2467fd9e9c24e6bfb99b809011ee104a
2024-07-06 23:05:52 -03:00
Vinicius Monego
ae8b2caf11
gnu: cminpack: Update to 1.3.9.
* gnu/packages/maths.scm (cminpack): Update to 1.3.9.

Change-Id: I2b4039c4e8c313204f96773b1d0dd072dfca5d41
2024-07-06 23:05:52 -03:00
Efraim Flashner
c070c060fd
gnu: openblas-ilp64: Enable building on all 64bit platforms.
* gnu/packages/maths.scm (openblas-ilp64)[supported-systems]: Mark all
64bit platforms as supported.

Change-Id: I3956b0140798842bae23fc5f855f0953ec81b53d
2024-06-30 10:49:59 +03:00
Jean-Pierre De Jesus DIAZ
9ae83ac21d
gnu: frama-c: Add wrap-programs phase.
Frama-C needs the OCAMLPATH variable to be defined to load libraries, so
define it using the OCAMLPATH variable generated during build time.

Related issues:

- <https://issues.guix.gnu.org/54094> (fixes it).
- <https://issues.guix.gnu.org/69996> (only Frama-C fixed from this one).

* gnu/packages/maths.scm (frama-c) <arguments>: Add wrap-programs phase.

Change-Id: Icc8a0be5fed6678b71649da2e39a83caaaee9df2
Signed-off-by: jgart <jgart@dismail.de>
2024-06-24 14:59:15 -05:00
Jean-Pierre De Jesus DIAZ
79f59b43d8
gnu: frama-c: Use G-Expressions.
* gnu/packages/maths.scm (frama-c) <arguments>: Use G-Expressions.

Change-Id: I25670a3d7e735e001aba63628c2f046be07fc643
Signed-off-by: jgart <jgart@dismail.de>
2024-06-24 14:59:15 -05:00
Jean-Pierre De Jesus DIAZ
8632bda8bb
gnu: frama-c: Update to 29.0.
* gnu/packages/maths.scm (frama-c): Update to 29.0.

Change-Id: Ifca4712bc1d75b0c8837ac04151fa9a83ae95bbe
Signed-off-by: jgart <jgart@dismail.de>
2024-06-24 14:59:15 -05:00
Andy Tai
250ab39c36
gnu: octave: Update to 9.2.0.
* gnu/packages/maths.scm (octave-cli): Update to 9.2.0.

Change-Id: Ib00c0eb687a469ecca20d570f39b69d8027c0cb0
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-06-24 08:51:40 -04:00
Artyom V. Poptsov
9cc7fc6e79
gnu: bitwise: Update to 0.50.
* gnu/packages/maths.scm (bitwise): Update to 0.50.

Change-Id: I34958302d3385d5dbe80715bf7d955af7a4aadbd
Signed-off-by: jgart <jgart@dismail.de>
2024-06-10 18:20:18 -05:00
Herman Rimm
0bd5e1bf92
gnu: minizinc: Update to 2.8.4.
* gnu/packages/maths.scm (minizinc): Update to 2.8.4.

Change-Id: I503fd004b38abaac8829a2cb94c182b001d83763
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 12:05:10 +02:00
Herman Rimm
977bac6897
gnu: chuffed: Update to 0.13.2.
* gnu/packages/maths.scm (chuffed): Update to 0.13.2.

Change-Id: I77fc1ceb9caa42833689fba771010aeb38443e5e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 12:05:10 +02:00