1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-09 22:50:34 +02:00
Commit Graph

1093 Commits

Author SHA1 Message Date
Philip McGrath
86c0bc5d48 gnu: Add itex2mml.
* gnu/packages/maths.scm (itex2mml): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:50 +02:00
Paul A. Patience
797f3de592 gnu: gnuplot: Update to 5.4.4.
* gnu/packages/maths.scm (gnuplot): Update to 5.4.4.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-08-02 20:50:01 +03:00
Paul A. Patience
a53bc40036 gnu: gnuplot: Use G-expressions.
* gnu/packages/maths.scm (gnuplot)[arguments]: Use G-expressions.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-08-02 20:49:56 +03:00
Paul A. Patience
44c7098809 gnu: gnuplot: Remove input labels.
* gnu/packages/maths.scm (gnuplot)[inputs]: Move below native-inputs and
sort.
[native-inputs]: Remove labels.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-08-02 20:49:50 +03:00
Efraim Flashner
29c51c6525 gnu: wcalc: Remove pre-generated files.
* gnu/packages/maths.scm (wcalc)[source]: Add snippet to remove files
generated by bison and flex.
[native-inputs]: Add bison, flex.
2022-08-02 19:47:50 +03:00
Paul A. Patience
18d998ffdb gnu: trilinos-for-dealii-openmpi: Use G-expressions.
* gnu/packages/maths.scm (trilinos-for-dealii-openmpi)[arguments]: Use
G-expressions.
<#:phases>: Remove trailing boolean.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-01 17:20:27 +02:00
Paul A. Patience
32bcadc98c gnu: trilinos-for-dealii-openmpi: Remove input labels.
* gnu/packages/maths.scm (trilinos-for-dealii-openmpi)[native-inputs,
inputs, propagated-inputs]: Remove labels.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-01 17:20:26 +02:00
Paul A. Patience
a42730183a gnu: dealii: Update to 9.4.0.
* gnu/packages/maths.scm (dealii): Update to 9.4.0.
[propagated-inputs]: Replace sundials-5 with sundials.
(dealii-openmpi)[propagated-inputs]: Replace sundials-openmpi-5 with
sundials-openmpi.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-01 17:20:26 +02:00
Paul A. Patience
6a15bd031f gnu: dealii: Use G-expressions.
* gnu/packages/maths.scm (dealii)[snippet, arguments]: Use
G-expressions.
(dealii-openmpi)[arguments]: Same.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-01 17:20:26 +02:00
Paul A. Patience
bbf5e033d4 gnu: trilinos-for-dealii-openmpi: Fix build.
* gnu/packages/maths.scm (trilinos-for-dealii-openmpi)[native-inputs]:
Add gcc-7 to fix the failing build with newer versions of gcc.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-01 17:20:26 +02:00
Paul A. Patience
e0de48f0e4 gnu: hdf5-1.8: Add missing comma to linker flag.
* gnu/packages/maths.scm (hdf5-1.8)[arguments]<#:phases>: Add missing
comma to linker flag.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-01 14:08:08 +02:00
Maxim Cournoyer
eef8e2ec46 gnu: qttools: Rename to qttools-5.
Automated with:

  git grep -l qttools | xargs sed 's/\bqttools\b/\0-5/g' -i
  git checkout NEWS
2022-07-31 21:55:48 -04:00
Maxim Cournoyer
1ef04fb228 gnu: qtsvg: Rename variable to qtsvg-5.
This is in preparation of the qtsvg update to version 6.

This change was automated via the following command:

  git grep -l '\bqtsvg\b' | xargs sed 's/qtsvg/qtsvg-5/g' -i
2022-07-31 21:55:43 -04:00
Paul A. Patience
fa21cd31cb gnu: gmsh: Update to 4.10.5.
* gnu/packages/maths.scm (gmsh): Update to 4.10.5.
[source]: Reindent.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-07-15 09:46:16 +01:00
Paul A. Patience
ab636bde18 gnu: gmsh: Remove trailing booleans.
* gnu/packages/maths.scm (gmsh)[snippet, arguments]: Remove trailing
booleans.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-07-15 09:46:15 +01:00
Paul A. Patience
d10af3fc97 gnu: gmsh: Remove input labels.
* gnu/packages/maths.scm (gmsh)[inputs]: Remove labels.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-07-15 09:46:15 +01:00
Maxim Cournoyer
734f50c31d gnu: elpa: Update source URL.
Fixes <https://issues.guix.gnu.org/46460>.

* gnu/packages/maths.scm (elpa): Update source URL.

Reported-by: Danny Milosavljevic <dannym@scratchpost.org>
2022-07-13 01:08:59 -04:00
Nicolas Goaziou
c0f6287974 gnu: nauty: Update package style.
* gnu/packages/maths.scm (nauty)[arguments]: Use G-expressions. Remove
trailing #T.
2022-07-04 15:22:03 +02:00
Nicolas Goaziou
c3a2d354e3 gnu: nauty: Update to 2.7r4.
* gnu/packages/maths.scm (nauty): Update to 2.7r4.
2022-07-04 15:19:11 +02:00
Sharlatan Hellseher
e8e7b4cdae gnu: Add giza
* gnu/packages/maths.scm (giza): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 12:29:05 +02:00
Zhu Zihao
0e64835b2e gnu: z3: Prefer CMake to build the package.
Z3 developer recommends to use CMake to build Z3 except the OCaml bindings.
Use CMake also enable us to cross compile z3.

* gnu/packages/maths.scm (z3)[build-system]: Use cmake-build-system.
[arguments]<#:configure-flags>: Add flags for CMake.
<#:phases>: Remove stale phase 'fix-compatability'.
In phase 'check', build the z3 test binary and don't test when cross
compiling.
Add phase 'compile-python-modules' phase to generate python bytecode cache for
z3 python binding.
Add phase 'fix-z3-library-path' to help z3 pythong binding to find the z3
shared library.

(ocaml-z3)[build-system]: Override the inherited value with 'gnu-build-system'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 12:29:04 +02:00
Zhu Zihao
cec5142183 gnu: z3: Update to 4.8.17.
* gnu/packages/maths.scm (z3): Update to 4.8.17.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 12:29:04 +02:00
Zhu Zihao
3366be5db0 gnu: z3: Use G-expressions.
* gnu/packages/maths.scm (z3)[arguments]: Use G-expressions.
[native-inputs]: Use label-less style.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 12:29:04 +02:00
Jan (janneke) Nieuwenhuizen
36a0ec9e78 gnu: mcrl2: Update to 202206.0.
* gnu/packages/patches/mcrl2-fix-1687.patch,
gnu/packages/patches/mcrl2-fix-counterexample.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/maths.scm (mcrl2): Update to 202206.0 and use them.
2022-07-01 15:45:37 +02:00
Greg Hogan
4eddce8ce9 gnu: octave: Update to 7.1.0.
* gnu/packages/maths.scm (octave): Update to 7.1.0.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-06-30 11:23:38 +02:00
Ontje Lünsdorf
d651f28017 gnu: hypre: Add missing dependencies on latex fonts.
* gnu/packages/maths.scm (hypre)[native-inputs]: Add TEXLIVE-COURIER and
TEXLIVE-HELVETIC.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-23 23:20:57 +02:00
Ludovic Courtès
091eb323ba Merge branch 'master' into staging 2022-06-08 14:53:16 +02:00
Vagrant Cascadian
a04a987450 gnu: itpp: Avoid embedding build dates.
* gnu/packages/maths.scm (itpp): Add 'set-man-page-date and
  'set-force-source-date phases.
2022-06-06 13:50:46 -07:00
Efraim Flashner
64c043e63a Merge remote-tracking branch 'origin/master' into staging 2022-06-01 12:42:04 +03:00
Maxim Cournoyer
8824061544 gnu: Remove python2-kiwisolver.
* gnu/packages/maths.scm (python2-kiwisolver): Delete variable.
2022-05-31 14:53:36 -04:00
Maxim Cournoyer
5ab0cbd0f1 gnu: Remove python2-numpy.
* gnu/packages/python-xyz.scm (python2-numpy): Delete variable.
(python2-numpy-1.8): Likewise.
(python-numpy)[properties]: Delete field.
* gnu/packages/maths.scm (flann): Delete comment.
* gnu/packages/chemistry.scm (with-numpy-1.8): Delete procedure.
2022-05-31 14:53:34 -04:00
SeerLite
7115a075f3 gnu: ruby-asciimath: Update to 2.0.4.
gnu/packages/math.scm (ruby-asciimath): Update to 2.0.4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-04 00:11:44 +02:00
Ricardo Wurmus
2e2fed31a3 gnu: nlopt: Update to 2.7.1.
* gnu/packages/maths.scm (nlopt): Update to 2.7.1.
[source]: Fetch from git.
[build-system]: Use cmake-build-system.
[arguments]: Adjuts 'set-libnlopt-file-name phase.
[inputs]: Replace guile-2.0 with guile-3.0; add octave and python.
[native-inputs]: Add swig.
2022-05-28 23:19:04 +02:00
Ludovic Courtès
1038f7d681 gnu: openblas: Remove input labels.
* gnu/packages/maths.scm (openblas)[inputs, native-inputs]: Remove labels.
[arguments]: In 'set-extralib' phase, use 'search-input-file'.
2022-05-15 22:49:49 +02:00
Aurora
20eadd425e gnu: openblas: Update to 0.3.20
* gnu/packages/maths.scm (openblas): Update to 0.3.20.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-15 22:49:49 +02:00
Pierre-Antoine Bouttier
6829d61bc5 gnu: Add n2p2.
* gnu/packages/maths.scm (n2p2): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-05-05 23:56:58 +02:00
Paul A. Patience
8b2d266607 gnu: dealii: Update to 9.3.3.
* gnu/packages/maths.scm (dealii): Update to 9.3.3.
* gnu/packages/patches/dealii-fix-compiliation-with-boost-1.78.patch:
Delete file.
* gnu/packages/patches/dealii-fix-sundials.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:28 +02:00
Paul A. Patience
240b604eda gnu: dealii: Add SUNDIALS dependency.
* gnu/packages/maths.scm (dealii)[propagated-inputs]: Add sundials-5.
Reformat list to clarify comment.
(dealii-openmpi)[propagated-inputs]: Add sundials-openmpi-5.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:28 +02:00
Paul A. Patience
d34f941c33 gnu: dealii-openmpi: Remove input labels.
* gnu/packages/maths.scm (dealii-openmpi)[inputs]: Remove labels.
[propagated-inputs]: Same.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:28 +02:00
Paul A. Patience
e131f705dd gnu: dealii: Remove trailing booleans.
* gnu/packages/maths.scm (dealii)[snippet]: Remove trailing boolean (and
therefore the 'begin').
[native-inputs, inputs]: Reindent.
[arguments]<#:phases>: Remove trailing boolean.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:28 +02:00
Paul A. Patience
e648957b7b gnu: sundials: Add 5.8.0.
* gnu/packages/maths.scm (sundials-5, sundials-openmpi-5): New
variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:27 +02:00
Paul A. Patience
d1a6a795b3 gnu: sundials: Update to 6.2.0.
* gnu/packages/maths.scm (sundials): Update to 6.2.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:27 +02:00
Paul A. Patience
4c509a73b7 gnu: sundials-openmpi: Add HYPRE dependency.
* gnu/packages/maths.scm (sundials-openmpi)[propagated-inputs]: Add
hypre-openmpi.
[arguments]<#:configure-flags>: Add -DENABLE_HYPRE, -DHYPRE_INCLUDE_DIR
and -DHYPRE_LIBRARY_DIR.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:27 +02:00
Paul A. Patience
0d3c2c9543 gnu: sundials: Fix various issues.
This commit fixes various issues. First, some of SUNDIALS's CMake
variables were renamed at some point between 5.2.0 and 5.7.0, in
particular KLU_ENABLE, which was changed to ENABLE_KLU. Since
sundials-julia is essentially SUNDIALS 5.2.0, its configure flags need
to be different from those of the sundials package. Second, commit
61bcd648ca, which updated SUNDIALS to
6.1.1, accidentally completely disabled PETSc support for
sundials-openmpi (PETSc is supported only with MPI) by removing the
relevant configure flags. Third, SUNDIALS's default index size is
64 bits, but PETSc's is 32 bits, and they need to be the same; this
issue is discussed in the next three paragraphs.

The default index size in SUNDIALS 3.1.1 (which was the sundials
package's version previous to the aforementioned commit) was also
64 bits (though it was configured through the SUNDIALS_INDEX_TYPE CMake
variable, which could take the values INT64_T or INT32_T), but
SUNDIALS's configure script didn't warn of any incompatibility with
PETSc's 32-bit indices. I don't know if this was an accidental omission
from the configure script or if SUNDIALS's index size didn't have to
correspond to PETSc's at the time.

Keeping 64-bit indices in SUNDIALS would require adding a package for
PETSc with 64-bit indices (using the --with-64-bit-indices configure
flag), possibly named petsc64-openmpi (to follow the style of the SCOTCH
packages, i.e., scotch, scotch32, etc., though there the unadorned
package name represents the 64-bit version, unlike the unadorned petsc),
which would in turn require a package for METIS with 64-bit
indices (using IDXTYPEWIDTH=64). However, SUNDIALS is an optional
dependency of deal.II, both of which have PETSc as an optional
dependency, and deal.II's index size (which defaults to 32 bits) must
match PETSc's. In other words, the current deal.II package can build
with SUNDIALS only if SUNDIALS has 32-bit indices.

Furthermore, users needing 64-bit indices in SUNDIALS probably also need
them in PETSc and other libraries. If and when 64-bit indices are deemed
necessary, we can add all the package variations at once (for SUNDIALS,
PETSc, METIS, deal.II and any others).

* gnu/packages/maths.scm (sundials)[source]: Reuse version in URL.
[native-inputs]: Capitalize and punctuate comment.
[inputs]: Remove petsc, now unnecessary gfortran, and obsolete
comment. Move TODO item to sundials-openmpi.
[arguments]<#:configure-flags>: Add -DSUNDIALS_INDEX_SIZE=32 to match
PETSc's 32-bit indices. Remove obsolete -DEXAMPLES_ENABLE_F77,
-DEXAMPLES_ENABLE_F90 and -DFCMIX_ENABLE. Mention new but currently
unusable -DBUILD_FORTRAN_MODULE_INTERFACE and
-DEXAMPLES_ENABLE_F2003. Rename KLU_ENABLE to ENABLE_KLU.
(sundials-openmpi): Use package/inherit.
[inputs]: Move openmpi and petsc-openmpi from here...
[propagated-inputs]: ...to here. Clarify comment.
[arguments]<#:configure-flags>: Add -DENABLE_PETSC and -DPETSC_DIR, the
equivalents of which were accidentally removed in commit
61bcd648ca.
<#:phases>: Replace a tab with spaces.
[synopsis]: Replace OpenMPI with MPI to conform to other package
synopses.
(sundials-julia)[inputs]: Add gfortran.
[arguments]<#:configure-flags>: Set only, and manually, -DCMAKE_C_FLAGS,
-DSUNDIALS_INDEX_SIZE, -DKLU_ENABLE, -DKLU_INCLUDE_DIR,
-DKLU_LIBRARY_DIR and -DLAPACK_ENABLE instead of inheriting from the
sundials package, because some of SUNDIALS's CMake variables have
changed name.
[synopsis]: Capitalize “LAPACK”.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:27 +02:00
Paul A. Patience
a3b6a4df6c gnu: petsc-openmpi: Fix header inclusions.
* gnu/packages/maths.scm (petsc-openmpi)[arguments]: Add
'patch-header-inclusions' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:27 +02:00
Paul A. Patience
ee89bbb5ed gnu: nomad-optimizer: Disable failing test.
* gnu/packages/maths.scm (nomad-optimizer)[arguments]: Disable the
examples/advanced/library/PSDMads test.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-04-26 10:45:42 +02:00
Andreas Enge
bfe6d6ea66 gnu: lrslib: Update to 7.2.
* gnu/packages/maths.scm (lrslib): Update to 7.2.
2022-04-19 16:09:32 +02:00
Paul A. Patience
d262a258bb gnu: nomad-optimizer: Fix some tests.
* gnu/packages/maths.scm (nomad-optimizer)[arguments]<#:phases>
[fix-sources-for-tests]: Enable the pipefail option in the (generated)
script that runs tests. Enable the basic batch example3 test. Fix the
advanced library FixedVariable test (and seemingly the neighbor PSDMads
test). Expand some comments.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-19 12:29:44 +02:00
Paul A. Patience
11e761b9a6 gnu: nomad-optimizer: Update to 4.2.0.
* gnu/packages/maths.scm (nomad-optimizer): Update to 4.2.0.
[arguments]: Accommodate updated build process.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-19 12:29:44 +02:00
Paul A. Patience
3a6703268b gnu: nomad-optimizer: Remove trailing booleans.
* gnu/packages/maths.scm (nomad-optimizer)[arguments]: Remove trailing
booleans.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-19 12:29:44 +02:00