feat(initial): added portable mfem build system

This commit is contained in:
2026-09-05 07:11:05 -04:00
commit 6a54f2625e
49 changed files with 4344 additions and 0 deletions

0
subprojects/.wraplock Normal file
View File

10
subprojects/algoim.wrap Normal file
View File

@@ -0,0 +1,10 @@
[wrap-file]
directory = algoim-9c9ca0ef094d8ab0390ed36367a1151b459bbe0a
source_url = https://github.com/algoim/algoim/archive/9c9ca0ef094d8ab0390ed36367a1151b459bbe0a.tar.gz
source_filename = algoim-9c9ca0ef094d8ab0390ed36367a1151b459bbe0a.tar.gz
source_hash = 8b0cbeb3821665c57bbd88426cee7ffca21c95cb2e37edf2f670139b1e50c2cf
patch_directory = algoim
[provide]
algoim = algoim_dep

10
subprojects/blitz.wrap Normal file
View File

@@ -0,0 +1,10 @@
[wrap-file]
directory = blitz-1.0.2
source_url = https://github.com/blitzpp/blitz/archive/refs/tags/1.0.2.tar.gz
source_filename = blitz-1.0.2.tar.gz
source_hash = 500db9c3b2617e1f03d0e548977aec10d36811ba1c43bb5ef250c0e3853ae1c2
patch_directory = blitz
[provide]
blitz = blitz_dep

10
subprojects/fms.wrap Normal file
View File

@@ -0,0 +1,10 @@
[wrap-file]
directory = FMS-0.2
source_url = https://github.com/CEED/FMS/archive/refs/tags/v0.2.tar.gz
source_filename = fms-0.2.tar.gz
source_hash = 872489a1325b247968dbb7265b8736660af94121a86c93f7938441ce7478183e
patch_directory = fms
[provide]
fms = fms_dep

7
subprojects/gslib.wrap Normal file
View File

@@ -0,0 +1,7 @@
[wrap-file]
directory = gslib-1.0.9
source_url = https://github.com/Nek5000/gslib/archive/refs/tags/v1.0.9.tar.gz
source_filename = gslib-1.0.9.tar.gz
source_hash = 572c78b1ca4ddda75ec85c6299ee0597459f4dbf5170b9faa6de4c435dcdc80b
patch_directory = gslib

7
subprojects/hypre.wrap Normal file
View File

@@ -0,0 +1,7 @@
[wrap-file]
directory = hypre-2.33.0
source_url = https://github.com/hypre-space/hypre/archive/refs/tags/v2.33.0.tar.gz
source_filename = hypre-2.33.0.tar.gz
source_hash = 0f9103c34bce7a5dcbdb79a502720fc8aab4db9fd0146e0791cde7ec878f27da
patch_directory = hypre

10
subprojects/libceed.wrap Normal file
View File

@@ -0,0 +1,10 @@
[wrap-file]
directory = libCEED-0.12.0
source_url = https://github.com/CEED/libCEED/archive/refs/tags/v0.12.0.tar.gz
source_filename = libceed-0.12.0.tar.gz
source_hash = 2d94c218f6ab1bed072d11b70b0a0e70a5720fdf3d61db924e89909424a2f93e
patch_directory = libceed
[provide]
libceed = libceed_dep

7
subprojects/metis.wrap Normal file
View File

@@ -0,0 +1,7 @@
[wrap-file]
directory = tpls-b60352fbe9675d374b00828055e55be4584c7995
source_url = https://github.com/mfem/tpls/archive/b60352fbe9675d374b00828055e55be4584c7995.tar.gz
source_filename = mfem-tpls-b60352f.tar.gz
source_hash = 026192230134b8e8028ef4969553f180c7f64fca8a156993d2db38868536f71f
patch_directory = metis

7
subprojects/mfem.wrap Normal file
View File

@@ -0,0 +1,7 @@
[wrap-file]
directory = mfem-4.10
source_url = https://github.com/mfem/mfem/archive/refs/tags/v4.10.tar.gz
source_filename = mfem-4.10.tar.gz
source_hash = d5aabe991b8b5569aa26e2b5d4b59ac617ee10ebac3d45fd6ff9c74b2c1a47dd
patch_directory = mfem

7
subprojects/mpich.wrap Normal file
View File

@@ -0,0 +1,7 @@
[wrap-file]
directory = mpich-4.3.2
source_url = https://www.mpich.org/static/downloads/4.3.2/mpich-4.3.2.tar.gz
source_filename = mpich-4.3.2.tar.gz
source_hash = 47d774587a7156a53752218c811c852e70ac44db9c502dc3f399b4cb817e3818
patch_directory = mpich

15
subprojects/nanobind.wrap Normal file
View File

@@ -0,0 +1,15 @@
[wrap-file]
directory = nanobind-2.15.0
source_url = https://github.com/wjakob/nanobind/archive/refs/tags/v2.15.0.tar.gz
source_filename = nanobind-2.15.0.tar.gz
source_hash = 36c8760b3acb25643cd89d549782d8c67bd82ce54c6238608787c22a34fd490f
source_fallback_url = https://wrapdb.mesonbuild.com/v2/nanobind_2.15.0-1/get_source/nanobind-2.15.0.tar.gz
patch_filename = nanobind_2.15.0-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/nanobind_2.15.0-1/get_patch
patch_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/nanobind_2.15.0-1/nanobind_2.15.0-1_patch.zip
patch_hash = 4a3956c67792830e0c85dff3cf88b30a5547bd087c33842fa5f1596ca86ccabf
wrapdb_version = 2.15.0-1
[provide]
dependency_names = nanobind

View File

@@ -0,0 +1,4 @@
project('algoim-source')
algoim_source_dir = meson.current_source_dir()
algoim_dep = declare_dependency(variables: {'source_dir': algoim_source_dir})

View File

@@ -0,0 +1,3 @@
project('blitz-source', version: '1.0.2')
blitz_source_dir = meson.current_source_dir()
blitz_dep = declare_dependency(variables: {'source_dir': blitz_source_dir})

View File

@@ -0,0 +1,3 @@
project('fms-source', version: '0.2')
fms_source_dir = meson.current_source_dir()
fms_dep = declare_dependency(variables: {'source_dir': fms_source_dir})

View File

@@ -0,0 +1,3 @@
project('gslib-source', 'c', version: '1.0.9', meson_version: '>=1.5.0')
gslib_source_dir = meson.current_source_dir()

View File

@@ -0,0 +1,3 @@
project('hypre-source', 'c', version: '2.33.0', meson_version: '>=1.5.0')
hypre_source_dir = meson.current_source_dir()

View File

@@ -0,0 +1,4 @@
project('libceed-source', version: '0.12.0')
libceed_source_dir = meson.current_source_dir()
libceed_dep = declare_dependency(variables: {'source_dir': libceed_source_dir})

View File

@@ -0,0 +1,2 @@
project('metis-source', 'c', version: '5.1.0', meson_version: '>=1.5.0')
metis_source_dir = meson.current_source_dir()

View File

@@ -0,0 +1,3 @@
project('mfem-source', 'cpp', version: '4.10', meson_version: '>=1.5.0')
mfem_source_dir = meson.current_source_dir()

View File

@@ -0,0 +1,3 @@
project('mpich-source', 'c', version: '4.3.2', meson_version: '>=1.5.0')
mpich_source_dir = meson.current_source_dir()

View File

@@ -0,0 +1,3 @@
project('sundials-source', ['c', 'cpp'], version: '7.8.0', meson_version: '>=1.5.0')
sundials_source_dir = meson.current_source_dir()

View File

@@ -0,0 +1,3 @@
project('zlib-source', 'c', version: '1.3.1', meson_version: '>=1.5.0')
zlib_source_dir = meson.current_source_dir()

View File

@@ -0,0 +1,15 @@
[wrap-file]
directory = robin-map-1.4.1
source_url = https://github.com/Tessil/robin-map/archive/refs/tags/v1.4.1.tar.gz
source_filename = robin-map-1.4.1.tar.gz
source_hash = 0e3f53a377fdcdc5f9fed7a4c0d4f99e82bbb64175233bd13427fef9a771f4a1
source_fallback_url = https://wrapdb.mesonbuild.com/v2/robin-map_1.4.1-1/get_source/robin-map-1.4.1.tar.gz
patch_filename = robin-map_1.4.1-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/robin-map_1.4.1-1/get_patch
patch_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/robin-map_1.4.1-1/robin-map_1.4.1-1_patch.zip
patch_hash = 8137d5283004db445d744d603e600119047fed865cbd740f8fec4421dc1a45b6
wrapdb_version = 1.4.1-1
[provide]
dependency_names = tsl-robin-map

View File

@@ -0,0 +1,7 @@
[wrap-file]
directory = sundials-7.8.0
source_url = https://github.com/LLNL/sundials/archive/refs/tags/v7.8.0.tar.gz
source_filename = sundials-7.8.0.tar.gz
source_hash = c2ca15a16d7ae0d79cf1c2c288335f16b0f1c2c6d349db20aff2ce3fd1296d5a
patch_directory = sundials

7
subprojects/zlib.wrap Normal file
View File

@@ -0,0 +1,7 @@
[wrap-file]
directory = zlib-1.3.1
source_url = https://github.com/madler/zlib/archive/refs/tags/v1.3.1.tar.gz
source_filename = zlib-1.3.1.tar.gz
source_hash = 17e88863f3600672ab49182f217281b6fc4d3c762bde361935e436a95214d05c
patch_directory = zlib