Commit Graph

1063 Commits

Author SHA1 Message Date
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
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
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
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
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
Paul A. Patience
3a9b925f44
gnu: nomad-optimizer: Remove input labels.
* gnu/packages/maths.scm (nomad-optimizer)[native-inputs]: Remove
labels.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-19 12:29:44 +02:00
Paul A. Patience
d483dbe0fa
gnu: gmsh: Update to 4.9.5.
* gnu/packages/maths.scm (gmsh): Update to 4.9.5.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-19 12:29:44 +02:00
Paul A. Patience
7488c73dd2
gnu: gnuplot: Update to 5.4.3.
* gnu/packages/maths.scm (gnuplot): Update to 5.4.3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-19 12:29:43 +02:00
Ludovic Courtès
16372cb347
gnu: sundials: Remove input labels.
* gnu/packages/maths.scm (sundials)[native-inputs, inputs]: Remove labels.
(sundials-openmpi)[inputs]: Remove labels.
2022-04-14 14:48:21 +02:00
Ludovic Courtès
61bcd648ca
gnu: sundials: Update to 6.1.1.
* gnu/packages/maths.scm (sundials): Update to 6.1.1.
[inputs]: Add PETSC.
(sundials-openmpi)[inputs]: Remove PETSC.
[arguments]: Remove now unnecessary flags.  Change "MPI_ENABLE" to "ENABLE_MPI".
2022-04-14 14:48:21 +02:00
Arun Isaac
973ee1c91d
gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux.
* gnu/packages/maths.scm (gsl)[arguments]: Force an autotools bootstrap
when cross-compiling to riscv64-linux.
[native-inputs]: Add autoconf, automake and libtool when cross-compiling
to riscv64-linux.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-03-31 16:14:52 +03:00
Ludovic Courtès
2da0f2828b
gnu: petsc-openmpi: Remove input labels.
* gnu/packages/maths.scm (petsc-openmpi)[inputs]: Use 'modify-inputs'.
[arguments]: Adjust label name for hdf5.
2022-03-18 16:03:32 +01:00
Ludovic Courtès
5f83f95210
gnu: petsc-openmpi: Fix compilation with Scotch 7.0.
* gnu/packages/maths.scm (petsc-openmpi)[inputs]: Add SCOTCH:METIS.
[arguments]: Add 'adjust-pt-scotch-library-names' phase.
2022-03-18 16:03:32 +01:00
Ludovic Courtès
6e09ab9f61
gnu: scotch: Explicitly pass "-DINTSIZE" to CMake.
Previously, the 'scotch' and 'pt-scotch' packages would use the default
int size, which turned out to be 32 on x86_64-linux instead of 64 as it
used to be in Scotch 6.x.

* gnu/packages/maths.scm (scotch)[arguments]: Add "-DINTSIZE" to #:configure-flags.
(scotch32)[arguments]: Likewise.
(pt-scotch)[arguments]: Likewise.
(pt-scotch32)[arguments]: Likewise.
2022-03-07 22:49:27 +01:00
Ludovic Courtès
96bc9420cb
gnu: hypre: Remove input labels.
* gnu/packages/maths.scm (hypre)[native-inputs, inputs]: Remove labels.
(hypre-openmpi)[inputs]: Use 'modify-inputs'.
2022-03-02 19:26:16 +01:00
Ludovic Courtès
5a04a8a6bc
gnu: texlive-latex-wrapfig: Rename to "texlive-wrapfig".
* gnu/packages/tex.scm (texlive-latex-wrapfig): Rename to...
(texlive-wrapfig): ... this.
(texlive-latex-wrapfig): Define as deprecated.
* gnu/packages/maths.scm (hypre)[native-inputs]: Use new name.
* gnu/packages/python-xyz.scm (python-ipython-documentation)
(python-numpy-documentation): Likewise.
2022-03-02 19:26:16 +01:00
Julien Lepiller
8fc4cfd3ce
gnu: why3: Update to 1.4.1.
* gnu/packages/maths.scm (why3): Update to 1.4.1.
2022-03-02 09:45:16 +01:00
Marius Bakke
1bd1f42a31
gnu: Remove unneeded uses of 'libiconv'.
iconv is part of glibc, there is no need to add it as input.

* gnu/packages/accessibility.scm (brltty)[inputs]: Remove LIBICONV.
* gnu/packages/compression.scm (innoextract)[inputs]: Likewise.
* gnu/packages/haskell-apps.scm (darcs)[inputs]: Likewise.
* gnu/packages/kde-multimedia.scm (k3b)[inputs]: Likewise.
* gnu/packages/linphone.scm (liblinphone)[inputs]: Likewise.
* gnu/packages/mail.scm (mailutils)[inputs]: Likewise.
* gnu/packages/maths.scm (libqalculate)[inputs]: Likewise.
* gnu/packages/pep.scm (pep-engine)[inputs]: Likewise.
* gnu/packages/vim.scm (neovim)[inputs]: Likewise.
* gnu/packages/wget.scm (wget2)[inputs]: Likewise.
* gnu/packages/telegram.scm (telegram-desktop)[inputs]: Likewise.
* gnu/packages/video.scm (transcode)[native-inputs]: Likewise.
2022-02-15 20:44:21 +01:00
Ludovic Courtès
ee92b0fb7d
gnu: mumps: Remove input labels.
* gnu/packages/maths.scm (mumps)[inputs]: Remove labels.
[arguments]: Adjust 'configure' phase to not rely on the "mpi" and
"blas" labels.
(mumps-metis, mumps-openmpi, mumps-metis-openmpi): Use 'modify-inputs'.
2022-02-15 17:24:08 +01:00
Ludovic Courtès
d4709d78c3
gnu: scotch: Update to 7.0.1.
* gnu/packages/maths.scm (scotch): Update to 7.0.1.
[source]: Switch to 'git-fetch'.
[build-system]: Switch to CMAKE-BUILD-SYSTEM.
[arguments]: Add #:configure-flags.  Remove #:make-flags.  Remove
'chdir-to-src', 'configure', and 'build-esmumps' phases.
[properties]: Update 'release-monitoring-url' property.
(scotch32, pt-scotch, pt-scotch32): Update accordingly, replacing now
useless build phases with #:configure-flags.
(scotch-shared, pt-scotch-shared): Mark as deprecated.
(mumps)[arguments]: In 'configure' phase, use '-lesmumps'
unconditionally, since that's now how pt-scotch calls it.
2022-02-15 17:24:08 +01:00
Petr Hodina
4c1dff9abe
gnu: opencascade-occt: Update to 7.6.0.
* gnu/packages/maths.scm (opencascade-occt): Update to 7.6.0.
  [native-inputs]: Add fontconfig.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-02-11 16:47:45 +01:00
Eric Bavier
10b901a437
gnu: superlu: Update to 5.3.0.
* gnu/packages/maths.scm (superlu): Update to 5.3.0.
[source]: Adjust to new url.
2022-02-05 00:24:40 -06:00
Efraim Flashner
264162124f
gnu: openblas: Fix building on riscv64-linux.
* gnu/packages/maths.scm (openblas)[arguments]: Adjust make-flags on
riscv64-linux to target the correct architecture when building for
riscv64-linux.
2022-02-01 10:44:53 +02:00
Nicolas Goaziou
c5f1f8b81e
gnu: Properly deprecate texlive-generic-ulem.
* gnu/packages/python-xyz.scm (python-nbconvert):
* gnu/packages/maths.scm (hypre): Apply deprecation.
* gnu/packages/tex.scm (texlive-generic-ulem): Fix typo in deprecation
command.
2022-01-28 15:05:01 +01:00
Nicolas Goaziou
2b37ec1c60
gnu: Remove occurrences of deprecated texlive-latex-capt-of.
* gnu/packages/maths.scm (hypre):
* gnu/packages/python-xyz.scm (python-numpy-documentation):
(python-ipython-documentation): Use texlive-capt-of instead of texlive-latex-capt-of.
2022-01-28 14:37:49 +01:00
Morgan Smith
d0744d8650
gnu: jacal: Update to 1c7.
* gnu/packages/patches/jacal-fix-texinfo.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Delete this.
* gnu/packages/maths.scm (jacal)[source]: Delete this patch.
[version]: Update to 1c7.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2022-01-22 12:07:55 +03:00
Felix Gruber
895a2669df
gnu: dune-pdelab: Update to 2.7.1.
* gnu/packages/maths.scm (dune-pdelab): Update to 2.7.1.
  [version]: Use `git-version` to compute the version string.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-20 15:28:15 +01:00
Felix Gruber
ad0a7a16d9
gnu: dune-functions: Update to 2.7.1.
* gnu/packages/maths.scm (dune-functions): Update to 2.7.1.
  [arguments]: Parallelize build-tests phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-20 15:28:15 +01:00
Felix Gruber
adc65e9691
gnu: dune-typetree: Update to 2.7.1.
* gnu/packages/maths.scm (dune-typetree): Update to 2.7.1.
  [arguments]: Parallelize build-tests phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-20 15:28:14 +01:00
Felix Gruber
fb6e3fdfa7
gnu: dune-subgrid: Update to 2.7.1.
* gnu/packages/maths.scm (dune-subgrid): Update to 2.7.1.
  [version]: Use `git-version` to compute the version string.
  [arguments]: Parallelize build-tests phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-20 15:28:14 +01:00
Felix Gruber
fff6f00c35
gnu: dune-alugrid: Update to 2.7.1.
* gnu/packages/maths.scm (dune-alugrid): Update to 2.7.1.
  [version]: Use `git-version` to compute the version string.
  [arguments]: Parallelize build-tests phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-20 15:28:14 +01:00
Felix Gruber
ef07f19b93
gnu: dune-localfunctions: Update to 2.7.1.
* gnu/packages/maths.scm (dune-localfunctions): Update to 2.7.1.
  [arguments]: Parallelize build-tests phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-20 15:28:14 +01:00
Felix Gruber
8159cd08d2
gnu: dune-istl: Update to 2.7.1.
* gnu/packages/maths.scm (dune-istl): Update to 2.7.1.
  [arguments]: Parallelize build-tests phase.
  [source](patches) Remove patch that is no longer needed.
* gnu/packages/patches/dune-istl-2.7-fix-non-mpi-tests.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove above patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-20 15:28:14 +01:00
Felix Gruber
67e6b69916
gnu: dune-grid: Update to 2.7.1.
* gnu/packages/maths.scm (dune-grid): Update to 2.7.1.
  [arguments]: Parallelize build-tests phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-20 15:28:14 +01:00
Felix Gruber
15ae25bd25
gnu: dune-uggrid: Update to 2.7.1.
* gnu/packages/maths.scm (dune-uggrid): Update to 2.7.1.
  [arguments]: Parallelize build-tests phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-20 15:28:14 +01:00