summaryrefslogtreecommitdiff
path: root/gnu/packages/maths.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r--gnu/packages/maths.scm93
1 files changed, 48 insertions, 45 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 813c019c58..f53478e2df 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1246,37 +1246,40 @@ of partial differential equations using iterative methods.")
"0nnap9q1mv14g57dl3vkvxrdr10k5w7zzyxs6rgxhia8q8mphgqb"))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags '("-DCMAKE_C_FLAGS=-fcommon -O2")
+ (list
+ #:configure-flags
+ #~(list (string-append "-DCMAKE_C_FLAGS=-fcommon -O2"
+ " -Wno-error=implicit-function-declaration"))
#:phases
- (modify-phases %standard-phases
- ;; These tests use a lot of stack variables and segfault without
- ;; lifting resource limits.
- (add-after 'unpack 'disable-broken-tests
- (lambda _
- (substitute* "TESTING/CMakeLists.txt"
- (("add_lapack_test.* xeigtstz\\)") ""))))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (libdir (string-append out "/lib"))
- (f2cinc (string-append out "/include/libf2c")))
- (mkdir-p f2cinc)
- (display (getcwd))
- (for-each (lambda (file)
- (install-file file libdir))
- '("SRC/liblapack.a"
- "F2CLIBS/libf2c/libf2c.a"
- "TESTING/MATGEN/libtmglib.a"
- "BLAS/SRC/libblas.a"))
- (for-each (lambda (file)
- (install-file file f2cinc))
- (cons "F2CLIBS/libf2c/arith.h"
- (find-files (string-append "../clapack-"
- ,version "-CMAKE/F2CLIBS/libf2c")
- "\\.h$")))
- (copy-recursively (string-append "../clapack-"
- ,version "-CMAKE/INCLUDE")
- (string-append out "/include"))))))))
+ #~(modify-phases %standard-phases
+ ;; These tests use a lot of stack variables and segfault without
+ ;; lifting resource limits.
+ (add-after 'unpack 'disable-broken-tests
+ (lambda _
+ (substitute* "TESTING/CMakeLists.txt"
+ (("add_lapack_test.* xeigtstz\\)") ""))))
+ (replace 'install
+ (lambda _
+ (let ((libdir (string-append #$output "/lib"))
+ (f2cinc (string-append #$output "/include/libf2c")))
+ (mkdir-p f2cinc)
+ (display (getcwd))
+ (for-each (lambda (file)
+ (install-file file libdir))
+ '("SRC/liblapack.a"
+ "F2CLIBS/libf2c/libf2c.a"
+ "TESTING/MATGEN/libtmglib.a"
+ "BLAS/SRC/libblas.a"))
+ (for-each (lambda (file)
+ (install-file file f2cinc))
+ (cons "F2CLIBS/libf2c/arith.h"
+ (find-files (string-append
+ "../clapack-"
+ #$version "-CMAKE/F2CLIBS/libf2c")
+ "\\.h$")))
+ (copy-recursively (string-append "../clapack-"
+ #$version "-CMAKE/INCLUDE")
+ (string-append #$output "/include"))))))))
(home-page "https://www.netlib.org/clapack/")
(synopsis "Numerical linear algebra library for C")
(description
@@ -3706,7 +3709,7 @@ supports the propositional fragment of PDDL2.2.")
(define-public gmsh
(package
(name "gmsh")
- (version "4.13.1")
+ (version "4.14.1")
(source
(origin
(method git-fetch)
@@ -3717,7 +3720,7 @@ supports the propositional fragment of PDDL2.2.")
(string-replace-substring version "." "_")))))
(file-name (git-file-name name version))
(sha256
- (base32 "16abxhadyyj7890lv6cdfxskg25w105pcpqvb5iwf6a59py8na8y"))
+ (base32 "1s53b7llkq30imyahf0f1rwmhfq9149czbrqhfvidkdxzhwpk27d"))
(modules '((guix build utils)))
(snippet
'(delete-file-recursively "contrib/metis"))))
@@ -5903,7 +5906,7 @@ implementation."))))
(define-public wxmaxima
(package
(name "wxmaxima")
- (version "24.11.0")
+ (version "25.04.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -5912,7 +5915,7 @@ implementation."))))
(file-name (git-file-name name version))
(sha256
(base32
- "1q66qv7m7dky9h7m6dzvlw6pkzixna4bhrdkz11sg7bv3a9qrlfy"))))
+ "0m8sk02cmiqxqlcw8rcljyinwajn5hvj5ldf3xr5v1asq1mvck00"))))
(build-system cmake-build-system)
(native-inputs (list gettext-minimal))
(inputs (list bash-minimal
@@ -6033,7 +6036,7 @@ parts of it.")
(define-public openblas
(package
(name "openblas")
- (version "0.3.29")
+ (version "0.3.30")
(source
(origin
(method git-fetch)
@@ -6043,7 +6046,7 @@ parts of it.")
(file-name (git-file-name name version))
(sha256
(base32
- "1wm00hn0vzb45nqg0q3ka15wjqjzma5lh1x6227di73icqdcbzcz"))))
+ "08crjjs7avnkk7l226pghhz68mw9ak62xcghc9hdpshbflwzd0vy"))))
(build-system gnu-build-system)
(arguments
(list
@@ -6057,10 +6060,11 @@ parts of it.")
"MAKE_NB_JOBS=0" ;use jobserver for submakes
"NO_STATIC=1" ;avoid a 67 MiB static archive
- ;; This is the maximum number of threads OpenBLAS will ever use (that
- ;; is, if $OPENBLAS_NUM_THREADS is greater than that, then NUM_THREADS
- ;; is used.) If we don't set it, the makefile sets it to the number
- ;; of cores of the build machine, which is obviously wrong.
+ ;; This is the maximum number of threads OpenBLAS will ever use
+ ;; (that is, if $OPENBLAS_NUM_THREADS is greater than that, then
+ ;; NUM_THREADS is used.) If we don't set it, the makefile sets
+ ;; it to the number of cores of the build machine, which is
+ ;; obviously wrong.
"NUM_THREADS=128"
;; DYNAMIC_ARCH is only supported on some architectures.
@@ -6101,7 +6105,8 @@ parts of it.")
(string-append
"-L"
(dirname
- (search-input-file inputs "/lib/libgfortran.so")))))))))
+ (search-input-file inputs
+ "/lib/libgfortran.so")))))))))
(inputs
(list `(,gfortran "lib")))
(native-inputs
@@ -6129,8 +6134,6 @@ from the GotoBLAS2-1.13 BSD version.")
(synopsis "Optimized BLAS library based on GotoBLAS (ILP64 version)")
(license license:bsd-3)))
-(define-public openblas-0.3.29 openblas)
-
(define-public libblastrampoline
(package
(name "libblastrampoline")
@@ -8506,7 +8509,7 @@ operations.")
(define-public bitwuzla
(package
(name "bitwuzla")
- (version "0.7.0")
+ (version "0.8.2")
(source
(origin
(method git-fetch)
@@ -8515,7 +8518,7 @@ operations.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1fpd1kgb5xdbcjiqbbc6j0b8g2ly9bp9m3la78fiayl4qlmsvh2b"))))
+ (base32 "0nakqz29cfkn91yvx1xzsk50rlqbiihslflbjanv4lflcl2zx6mz"))))
(build-system meson-build-system)
(arguments
`(#:configure-flags '("-Dtesting=enabled" "-Ddefault_library=shared"