Merge branch 'arcane' into 'master'

Draft: Add Arcane Framework

See merge request nonguix/nonguix!702
This commit is contained in:
Fernando Ayats 2025-09-08 12:16:09 +02:00 committed by GitLab
commit 3fb40505c2
No known key found for this signature in database

54
nongnu/packages/maths.scm Normal file
View file

@ -0,0 +1,54 @@
(define-module (nongnu packages maths)
#:use-module (guix packages)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module (guix build-system cmake)
#:use-module (nongnu packages dotnet)
#:use-module (gnu packages glib)
#:use-module (gnu packages xml)
#:use-module (gnu packages boost)
#:use-module (gnu packages gcc)
#:use-module (gnu packages maths)
#:use-module (gnu packages mpi)
#:use-module (gnu packages check)
#:use-module (gnu packages pkg-config))
(define-public arcane
(package
(name "arcane")
(version "3.15.3.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/arcaneframework/framework")
(commit (string-append "arcane-v" version))
(recursive? #t)))
(file-name (git-file-name name version))
(sha256
(base32 "0ww3ln19r0salhfd2668r33zqs68fwmql41a7pzfdl2ayd9n9dwd"))))
(build-system cmake-build-system)
(arguments
(list
#:configure-flags
#~(list "-DBUILD_SHARED_LIBS=TRUE" "-DARCCORE_USE_MPI=TRUE"
"-DARCCORE_WANT_TEST=TRUE")
#:parallel-build? #f))
(native-inputs (list pkg-config dotnet gfortran))
(inputs (list glib
libxml2
boost
openblas
openmpi
googletest))
(home-page
"https://arcaneframework.github.io/arcane/userdoc/html/index.html")
(synopsis "Development environment for parallel numerical calculation code")
(description "Arcane is a development environment for parallel numerical calculation
code. It supports the architectural aspects of a calculation code, such as data
structures for meshing and parallelism, as well as more environment-related aspects
such as dataset configuration.")
(license license:asl2.0)))