diff options
author | Thomas Helfer <thomas.helfer@cea.fr> | 2023-12-01 03:47:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-30 19:47:57 -0700 |
commit | 91453c5ba0b043ff27f4269c906f083dac7b0067 (patch) | |
tree | 14ed2c2ba5f79332306dda403f662072d32c5c68 | |
parent | a587a10c86b1ffe6b91abc597f3850604d17bc57 (diff) | |
download | spack-91453c5ba0b043ff27f4269c906f083dac7b0067.tar.gz spack-91453c5ba0b043ff27f4269c906f083dac7b0067.tar.bz2 spack-91453c5ba0b043ff27f4269c906f083dac7b0067.tar.xz spack-91453c5ba0b043ff27f4269c906f083dac7b0067.zip |
Add support for new versions of TFEL and MGIS (#41357)
* Add new versions to TFEL and MGIS
-rw-r--r-- | var/spack/repos/builtin/packages/mgis/package.py | 19 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/tfel/package.py | 29 |
2 files changed, 31 insertions, 17 deletions
diff --git a/var/spack/repos/builtin/packages/mgis/package.py b/var/spack/repos/builtin/packages/mgis/package.py index 7910537426..7af49aedb3 100644 --- a/var/spack/repos/builtin/packages/mgis/package.py +++ b/var/spack/repos/builtin/packages/mgis/package.py @@ -24,6 +24,8 @@ class Mgis(CMakePackage): # development branches version("master", branch="master") + version("rliv-2.2", branch="rliv-2.2") + version("rliv-2.1", branch="rliv-2.1") version("rliv-2.0", branch="rliv-2.0") version("rliv-1.2", branch="rliv-1.2") version("rliv-1.1", branch="rliv-1.1") @@ -31,10 +33,12 @@ class Mgis(CMakePackage): # released version version( - "2.0", - sha256="cb427d77f2c79423e969815b948a8b44da33a4370d1760e8c1e22a569f3585e2", + "2.2", + sha256="b3776d7b3a534ca626525a42b97665f7660ae2b28ea57b3f53fd7e8538da1ceb", preferred=True, ) + version("2.1", sha256="f5b556aab130da0c423f395fe4c35d6bf509dd8fc958242f2e37ea788464aea9") + version("2.0", sha256="cb427d77f2c79423e969815b948a8b44da33a4370d1760e8c1e22a569f3585e2") version("1.2.2", sha256="dc24e85cc90ec656ed707eef3d511317ad800915014d9e4e9cf8818b406586d5") version("1.2.1", sha256="a2d7cae3a24546adcf1d1bf7f13f012170d359370f5b6b2c1730b19eb507601d") version("1.2", sha256="ed82ab91cbe17c00ef36578dbfcb4d1817d4c956619b7cccbea3e3f1a3b31940") @@ -47,14 +51,10 @@ class Mgis(CMakePackage): variant("fortran", default=True, description="Enables fortran bindings") variant("python", default=True, description="Enables python bindings") variant("static", default=False, description="Enables static libraries") - variant( - "build_type", - default="Release", - description="The build type to build", - values=("Debug", "Release"), - ) # dependencies + depends_on("tfel@4.2.0", when="@2.2") + depends_on("tfel@4.1.0", when="@2.1") depends_on("tfel@4.0.0", when="@2.0") depends_on("tfel@3.4.3", when="@1.2.2") depends_on("tfel@3.4.1", when="@1.2.1") @@ -62,6 +62,9 @@ class Mgis(CMakePackage): depends_on("tfel@3.3.0", when="@1.1") depends_on("tfel@3.2.1", when="@1.0.1") depends_on("tfel@3.2.0", when="@1.0") + depends_on("tfel@rliv-4.2", when="@rliv-2.2") + depends_on("tfel@rliv-4.1", when="@rliv-2.1") + depends_on("tfel@rliv-4.0", when="@rliv-2.0") depends_on("tfel@rliv-3.4", when="@rliv-1.2") depends_on("tfel@rliv-3.3", when="@rliv-1.1") depends_on("tfel@rliv-3.2", when="@rliv-1.0") diff --git a/var/spack/repos/builtin/packages/tfel/package.py b/var/spack/repos/builtin/packages/tfel/package.py index cfbd22f6dd..c0b481382a 100644 --- a/var/spack/repos/builtin/packages/tfel/package.py +++ b/var/spack/repos/builtin/packages/tfel/package.py @@ -34,6 +34,8 @@ class Tfel(CMakePackage): # development branches version("master", branch="master") + version("rliv-4.2", branch="rliv-4.2") + version("rliv-4.1", branch="rliv-4.1") version("rliv-4.0", branch="rliv-4.0") version("rliv-3.4", branch="rliv-3.4") version("rliv-3.3", branch="rliv-3.3") @@ -45,18 +47,29 @@ class Tfel(CMakePackage): # released version version( - "4.0.0", - sha256="7a0c32c8a9cd2fd65cbcb54fff802f303665d7cba5d46f92ff3d55f057c92845", + "4.2.0", + sha256="cf8a309c4d19a8e36232f8540ff28aa0d6285645f8dfb1ac57dd481ba3453e02", preferred=True, ) + version("4.1.1", sha256="e0f229094e88a2d6c6a78ae60fa77d2f4b8294e9d810c21fd7df61004bf29a33") + version("4.1.0", sha256="7505c41da9df5fb3c281651ff29b58a18fd4d91b92f839322f0267269c5f1375") + version("4.0.2", sha256="f5c8a285e00f334fd3e1a95f9a393fed393990ee827dae3766da1decfaa1074e") + version("4.0.1", sha256="f54741b7e654cb12511ca68c6494a4789ba41b5ada4cd345ad2bc7da631309d1") + version("4.0.0", sha256="7a0c32c8a9cd2fd65cbcb54fff802f303665d7cba5d46f92ff3d55f057c92845") + version("3.4.5", sha256="8092db9571df3d256a56ff269691a871a68b9b19ce163461531879a36e05a100") + version("3.4.4", sha256="a518a7a761fec6c92fab6dc9df5694c28aad2554c7c649d707dfdc71fe93d2ca") version("3.4.3", sha256="e58515effe57d473385fe0b592d9e1d1286c0901496c61268d9efd92a2550849") version("3.4.2", sha256="f39e65b2282fd3b108081388f161ba662407b192fed68fafe324c7528026a202") version("3.4.1", sha256="04cd4257e39e1b05e02b12ad941106fff4d439934bdfe6e950c08bab23e2a4ba") version("3.4.0", sha256="176feb4c1726d0f21f4c656b20620dce6f99ab7f5f09a66905aeb643a316bbc1") + version("3.3.4", sha256="3829e0b07520a14b17a8e75f879683a0d97b04b897aeb3ad0dd96dc94c0fcd6b") version("3.3.3", sha256="5a1fb43a8086e594e0a7234c1f227e6e005d384fd84affe3acadccb68fe2bbf6") version("3.3.2", sha256="17127ffdf92367c10041258f70a88ac3dcb0a7d89c1766a6aa1ebaeb4d03d55d") version("3.3.1", sha256="ad07329c25874832fbacc999b5f88d9b9ab84415bc897a6f3cae5b4afcd7661f") version("3.3.0", sha256="884ad68b0fbbededc3a602d559433c24114ae4534dc9f0a759d31ca3589dace0") + version("3.2.9", sha256="4ee26f2b5db24dc10113100ae0165cbbe8c7960c99c0e64ec96410788774aa54") + version("3.2.8", sha256="8bc3db975a87c3f0da3a857ab45cd237ee02f4ab35094a7db28b01d92676a78c") + version("3.2.7", sha256="05a055a955dd52f0b2dbf9d518a86c58805b2b63f3766268d72cacd6126c187d") version("3.2.6", sha256="ae80c76d92aeae207e307436aed32bbaed913a437ae57b5ee128ce4f543f20a9") version("3.2.5", sha256="194e799ca8d2f7ffea25aa3842c48cfc12850c252d851ce03941b5e3ae533b21") version("3.2.4", sha256="e7ac7e61fb3e02301285885bb3dc81ca1b09bd6e2929d15c755555d66088fe33") @@ -64,6 +77,8 @@ class Tfel(CMakePackage): version("3.2.2", sha256="69b01ae0d1f9140b619aaa9135948284ff40d4654672c335e55ab4934c02eb43") version("3.2.1", sha256="12786480524a7fe86889120fb334fa00211dfd44ad5ec71e2279e7adf1ddc807") version("3.2.0", sha256="089d79745e9f267a2bd03dcd8841d484e668bd27f5cc2ff7453634cb39016848") + version("3.1.12", sha256="770aa4680063ddd7be4f735ed1ec9402e83502d1ceb688c79cdba27490b7bf98") + version("3.1.11", sha256="578e3463db029bfed7b24bfa1226394e6998cc95959b46246ab9bf5cfb6d65f0") version("3.1.10", sha256="635a2507f139bb6d893e0a7bb223cd1d9ddab5dfddee179a3b2e9f8b0b63e065") version("3.1.9", sha256="8aeb020beddd125c207271e01d3e7d3985a91268dbf0bbc6132d217cc72b12a8") version("3.1.8", sha256="8c99ef80a27b3e791d78de2ceb1111396989942424697eccbc886edc3983163f") @@ -75,6 +90,8 @@ class Tfel(CMakePackage): version("3.1.2", sha256="2eaa191f0699031786d8845ac769320a42c7e035991d82b3738289886006bfba") version("3.1.1", sha256="a4c0c21c6c22752cc90c82295a6bafe637b3395736c66fcdfcfe4aeccb5be7af") version("3.1.0", sha256="dd67b400b5f157aef503aa3615b9bf6b52333876a29e75966f94ee3f79ab37ad") + version("3.0.12", sha256="f7dae9e5a00c721445b3167ec7bc71747bab047ddb36103f232b72d3e4d3cd00") + version("3.0.11", sha256="3d2d249534563887d301f6be5c4c2e4be33258b9d712d550d4c71271b764cc2d") version("3.0.10", sha256="1604f22948b4af6ef84839d97909f7011ce614254e1a6de092ddc61832f7d343") version("3.0.9", sha256="461dbb9e78fb6de9eaff21e387f5441020a077bba51d47b6510f11312e5ee333") version("3.0.8", sha256="3639f11d14278e20814e8673e097d26161e26117128289516be5b1b1e1387e57") @@ -110,17 +127,11 @@ class Tfel(CMakePackage): variant("comsol", default=True, description="Enables comsol interface") variant("diana-fea", default=True, description="Enables DIANA-FEA interface") - variant( - "build_type", - default="Release", - description="The build type to build", - values=("Debug", "Release"), - ) - depends_on("java", when="+java") depends_on("python", when="+python", type=("build", "link", "run")) depends_on("python", when="+python_bindings", type=("build", "link", "run")) depends_on("py-numpy", when="+python_bindings", type=("build", "link", "run")) + # As boost+py has py runtime dependency, boost+py needs types link and run as well: depends_on( "boost+python+numpy+exception+container", |