diff options
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r-- | gnu/packages/maths.scm | 135 |
1 files changed, 110 insertions, 25 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index c6584330e6..dad9d4c4d5 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -70,6 +70,7 @@ ;;; Copyright © 2025 Luca Cirrottola <luca.cirrottola@inria.fr> ;;; Copyright © 2025 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2025 Sören Tempel <soeren@soeren-tempel.net> +;;; Copyright © 2025 nomike Postmann <nomike@nomike.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -480,9 +481,7 @@ enough to be used effectively as a scientific calculator.") "0csy4pjw1p8rp6g5qxi2h0ychhhp1fldv7gb761627fs2mclw9gv")))) (build-system cmake-build-system) (arguments - '(#:test-target "test" - #:configure-flags '("-DBUILD_SHARED_LIBS=ON" - "-DBUILD_TESTING=ON"))) + '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"))) (synopsis "Conversion routines for IEEE doubles") (description "The double-conversion library provides binary-decimal and decimal-binary @@ -1199,8 +1198,7 @@ large scale eigenvalue problems.") "-DCBLAS=ON" "-DLAPACKE=ON" ;; Build the 'LAPACKE_clatms' functions. - "-DLAPACKE_WITH_TMG=ON" - "-DBUILD_TESTING=ON"))) + "-DLAPACKE_WITH_TMG=ON"))) (synopsis "Library for numerical linear algebra") (description "LAPACK is a Fortran 90 library for solving the most commonly occurring @@ -3242,7 +3240,7 @@ includes a complete LAPACK implementation.") (define-public hpcombi (package (name "hpcombi") - (version "1.0.1") + (version "1.1.0") (source (origin (method git-fetch) (uri (git-reference @@ -3251,11 +3249,9 @@ includes a complete LAPACK implementation.") (file-name (git-file-name name version)) (sha256 (base32 - "00mbxw5x6m61n0x68dsiyq97i7b08h3hkbj9is2w6gcg571jy319")))) - (arguments - (list #:configure-flags #~(list "-DBUILD_TESTING=ON"))) + "0xxqjz4lba57vn65m2k5jxrz0v7y6jwnhxwg6njd4vrafv5w17yv")))) (native-inputs - (list catch2-3)) + (list catch2-3.8)) (build-system cmake-build-system) (home-page "https://libsemigroups.github.io/HPCombi/") (synopsis "Fast combinatorics in C++ using SSE/AVX instruction sets") @@ -3606,6 +3602,22 @@ This is the certified version of the Open Cascade Technology (OCCT) library.") ;; File src/NCollection/NCollection_StdAllocator.hxx: license:public-domain)))) +;; PrusaSlicer has a hard dependency on this slightly older version of +;; OpenCASCADE. According to them, all newer versions have a bug that causes +;; chamfers to be triangulated incorrectly. +;; See https://github.com/prusa3d/PrusaSlicer/commit/c6a02106fd1d3caa9a48a6b7c2bdd04546b24485. +(define-public opencascade-occt-7.6.1 + (hidden-package + (package/inherit opencascade-occt + (name "opencascade-occt") + (version "7.6.1") + (source + (origin + (inherit (package-source opencascade-occt)) + (file-name (git-file-name name version)) + (sha256 + (base32 "1cc7n4rs26lm1awwn2bijvjq9b3kz204ffnks02lrpgs7pf8yk8b"))))))) + (define-public fast-downward (package (name "fast-downward") @@ -4641,6 +4653,40 @@ bindings to almost all functions of PETSc.") ;; <https://github.com/dimpase/primecountpy/issues/16>. (license license:gpl2+))) +(define-public python-py-bobyqa + (package + (name "python-py-bobyqa") + (version "1.5.0") + (source + (origin + (method git-fetch) ;no tests in PyPI release + (uri (git-reference + (url "https://github.com/numericalalgorithmsgroup/pybobyqa") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0k9iapdlbp1k2ck1550ckw0y75f71gxzqkv4clz89ym4fwqwszv2")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest + python-setuptools + python-wheel)) + (propagated-inputs + (list python-numpy + python-pandas + python-scipy + python-setuptools)) + (home-page "https://github.com/numericalalgorithmsgroup/pybobyqa") + (synopsis "Derivative-free solver for general objective minimization") + (description + "Py-BOBYQA is a flexible package for solving bound-constrained general +objective minimization, without requiring derivatives of the objective. At +its core, it is a Python implementation of the BOBYQA algorithm by Powell,but +Py-BOBYQA has extra features improving its performance on some problems. +Py-BOBYQA is particularly useful when evaluations of the objective function +are expensive and/or noisy.") + (license license:gpl3))) + (define-public python-pyglm (package (name "python-pyglm") @@ -5403,7 +5449,8 @@ implemented in ANSI C, and MPI for communications.") (list flex bison gfortran)) (outputs '("out" "metis")) (arguments - (list #:configure-flags #~'("-DBUILD_SHARED_LIBS=YES" "-DINTSIZE=64" + (list #:parallel-tests? #f + #:configure-flags #~'("-DBUILD_SHARED_LIBS=YES" "-DINTSIZE=64" "-DBUILD_PTSCOTCH=OFF") #:phases #~(modify-phases %standard-phases @@ -5498,6 +5545,7 @@ bio-chemistry.") (build-system cmake-build-system) (arguments (list + #:tests? #f #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON" #$@(if (target-x86?) @@ -8064,8 +8112,7 @@ supports compressed MAT files, as well as newer (version 7.3) MAT files.") (arguments (list #:configure-flags - #~(list "-DBUILD_TESTING=ON" - ;; By default, Vc will optimize for the CPU of the build machine. + #~(list ;; By default, Vc will optimize for the CPU of the build machine. ;; Setting this to "none" makes it create portable binaries. See ;; "cmake/OptimizeForArchitecture.cmake". "-DTARGET_ARCHITECTURE=none") @@ -8750,6 +8797,7 @@ reduction.") (inputs (list boost glu mesa qtbase-5)) (build-system cmake-build-system) + (arguments (list #:tests? #f)) (synopsis "Toolset for the mCRL2 formal specification language") (description "@dfn{mCRL2} (micro Common Representation Language 2) is a formal @@ -8768,7 +8816,8 @@ analysed.") (inputs (list boost)) (arguments - '(#:configure-flags '("-DMCRL2_ENABLE_GUI_TOOLS=OFF"))))) + (list #:tests? #f + #:configure-flags #~(list "-DMCRL2_ENABLE_GUI_TOOLS=OFF"))))) (define-public tcalc (package @@ -10277,7 +10326,6 @@ community detection algorithm.") (arguments (list #:build-type "Release" - #:test-target "test" #:configure-flags #~(list "-DENABLE_TESTING=ON" "-DSTATS=ON") #:phases #~(modify-phases %standard-phases @@ -10593,16 +10641,23 @@ projects up to the certification of critical software.") (base32 "0c88gc72j3zggyk4yrrip6i0v7xkx97l140vpy3xhxs2i7xy1461")))) (build-system cmake-build-system) (arguments - `(#:configure-flags '("-DBUILD_DOC=ON" - "-DBUILD_TESTING=ON") - ;; The default "check" target also includes examples and benchmarks. - #:test-target "check-testsuite" - #:phases - (modify-phases %standard-phases - (add-after 'build 'build-doc - (lambda _ - (invoke "make" "-j" (number->string (parallel-job-count)) - "blitz-doc")))))) + (list + #:configure-flags #~(list "-DBUILD_DOC=ON") + #:modules '((guix build cmake-build-system) + ((guix build gnu-build-system) #:prefix gnu:) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + (add-after 'build 'build-doc + (lambda _ + (invoke "make" "-j" (number->string (parallel-job-count)) + "blitz-doc"))) + (replace 'check + (lambda* (#:rest args) + (apply (assoc-ref gnu:%standard-phases 'check) + ;; The default "check" target also includes examples and + ;; benchmarks. + #:test-target "check-testsuite" args)))))) (native-inputs (list python texinfo)) (synopsis "C++ template class library for multidimensional arrays") @@ -11356,6 +11411,36 @@ Mathics3.") (description "This package provides a Django front end for Mathics3.") (license license:gpl3))) +(define-public python-mathics3-notebook-frontends + (let ((commit "63b90a07704acab5b04acc7a9335a8a88916c402") ; no releases + (revision "0")) + (package + (name "python-mathics3-notebook-frontends") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Mathics3/Mathics3-notebook-frontends") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "02smq8w0m3kj1xssbyd7kl17b34mk1jzy9ds7fsqb54qa5pba78q")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-mathics-core)) + (arguments + (list #:tests? #f)) ; no tests + (native-inputs + (list python-setuptools + python-wheel)) + (home-page "https://mathics.org/") + (synopsis "Mathics frontend for Jupyter Notebook") + (description + "This package provides a Mathics3 frontend for +@url{https://jupyter.org/, Jupyter Notebook} and @url{https://marimo.io/, +Marimo}.") + (license license:gpl3+)))) + (define-public lie (package (name "lie") |