Seacas exodusii 04 2024 (#43468)
* SEACAS: Update package.py to handle new SEACAS project name The base project name for the SEACAS project has changed from "SEACASProj" to "SEACAS" as of @2022-10-14, so the package needed to be updated to use the new project name when needed. The refactor also changes several: "-DSome_CMAKE_Option:BOOL=ON" to define("Some_CMAKE_Option", True) * SEACAS, EXODUSII: New version; deprecate older versions; better variant descriptions * [@spackbot] updating style on behalf of gsjaardema * Fix long lines reported by flake8 --------- Co-authored-by: gsjaardema <gsjaardema@users.noreply.github.com>
This commit is contained in:
parent
4517c7fa9b
commit
53fb4795ca
2 changed files with 130 additions and 39 deletions
|
@ -31,6 +31,9 @@ class Exodusii(CMakePackage):
|
|||
license("BSD-3-Clause")
|
||||
|
||||
version("master", branch="master")
|
||||
version(
|
||||
"2024-04-03", sha256="72b095bae64b2b6c232630f79de763c6ade00c9b1199fc6980800891b2ab3751"
|
||||
)
|
||||
version(
|
||||
"2024-03-11", sha256="5d417aa652e4ec8d66e27714c63b8cb5a7f878fb7b2ec55f629636fcff7c0f00"
|
||||
)
|
||||
|
@ -59,39 +62,61 @@ class Exodusii(CMakePackage):
|
|||
"2022-01-27", sha256="d21c14b9b30f773cef8e2029773f3cc35da021eebe9060298231f95021eb814f"
|
||||
)
|
||||
version(
|
||||
"2021-10-11", sha256="5c04d252e1c4a10b037aa352b89487e581ec6b52bdb46e9e85f101bbdcd9c388"
|
||||
"2021-10-11",
|
||||
sha256="5c04d252e1c4a10b037aa352b89487e581ec6b52bdb46e9e85f101bbdcd9c388",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2021-04-05", sha256="f40d318674753287b8b28d2b4e5cca872cd772d4c7383af4a8f3eeb48fcc7ec0"
|
||||
"2021-04-05",
|
||||
sha256="f40d318674753287b8b28d2b4e5cca872cd772d4c7383af4a8f3eeb48fcc7ec0",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2021-04-02", sha256="811037a68eaff0daf9f34bd31b2ab1c9b8f028dfcb998ab01fbcb80d9458257c"
|
||||
"2021-04-02",
|
||||
sha256="811037a68eaff0daf9f34bd31b2ab1c9b8f028dfcb998ab01fbcb80d9458257c",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2021-01-20", sha256="6ff7c3f0651138f2e2305b5270108ca45f96346a739b35a126a0a260c91cbe64"
|
||||
"2021-01-20",
|
||||
sha256="6ff7c3f0651138f2e2305b5270108ca45f96346a739b35a126a0a260c91cbe64",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2021-01-06", sha256="69cafef17d8e624c2d9871f3a281ff3690116a6f82162fe5c1507bb4ecd6a32a"
|
||||
"2021-01-06",
|
||||
sha256="69cafef17d8e624c2d9871f3a281ff3690116a6f82162fe5c1507bb4ecd6a32a",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2020-08-13", sha256="5b128a8ad9b0a69cff4fe937828d6d1702f1fe8aa80d4751e6522939afe62957"
|
||||
"2020-08-13",
|
||||
sha256="5b128a8ad9b0a69cff4fe937828d6d1702f1fe8aa80d4751e6522939afe62957",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2020-05-12", sha256="0402facf6cf23d903d878fb924b5d57e9f279dead5b92cf986953a6b91a6e81f"
|
||||
"2020-05-12",
|
||||
sha256="0402facf6cf23d903d878fb924b5d57e9f279dead5b92cf986953a6b91a6e81f",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2020-03-16", sha256="ed1d42c8c657931ecd45367a465cf9c00255772d9cd0811fc9baacdb67fc71fa"
|
||||
"2020-03-16",
|
||||
sha256="ed1d42c8c657931ecd45367a465cf9c00255772d9cd0811fc9baacdb67fc71fa",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2020-01-16", sha256="db69dca25595e88a40c00db0ccf2afed1ecd6008ba30bb478a4e1c5dd61998b8"
|
||||
"2020-01-16",
|
||||
sha256="db69dca25595e88a40c00db0ccf2afed1ecd6008ba30bb478a4e1c5dd61998b8",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2019-12-18", sha256="88a71de836aa26fd63756cf3ffbf3978612edc5b6c61fa8de32fe9d638007774"
|
||||
"2019-12-18",
|
||||
sha256="88a71de836aa26fd63756cf3ffbf3978612edc5b6c61fa8de32fe9d638007774",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2019-10-14", sha256="f143d90e8a7516d25979d1416e580dea638332db723f26ae94a712dfe4052e8f"
|
||||
"2019-10-14",
|
||||
sha256="f143d90e8a7516d25979d1416e580dea638332db723f26ae94a712dfe4052e8f",
|
||||
deprecated=True,
|
||||
)
|
||||
version("2016-08-09", commit="2ffeb1bd39454ad5aa230e12969ce976f3d1c92b")
|
||||
version("2016-08-09", commit="2ffeb1bd39454ad5aa230e12969ce976f3d1c92b", deprecated=True)
|
||||
|
||||
patch("Fix-ioss-tpl.patch", when="@2021-10-11:")
|
||||
|
||||
|
|
|
@ -31,10 +31,13 @@ class Seacas(CMakePackage):
|
|||
url = "https://github.com/sandialabs/seacas/archive/v2019-08-20.tar.gz"
|
||||
maintainers("gsjaardema")
|
||||
|
||||
license("Intel")
|
||||
license("BSD-3-Clause")
|
||||
|
||||
# ###################### Versions ##########################
|
||||
version("master", branch="master")
|
||||
version(
|
||||
"2024-04-03", sha256="edf1aacbde87212b10737d3037107dba5cf7e2cce167863e2ebb200dc1a3fbb5"
|
||||
)
|
||||
version(
|
||||
"2024-03-11", sha256="b849d958b34e77300aaf331f29c3e6fe417fd82600850a82e674a9b7ba4045ff"
|
||||
)
|
||||
|
@ -65,46 +68,74 @@ class Seacas(CMakePackage):
|
|||
"2022-01-27", sha256="beff12583814dcaf75cf8f1a78bb183c1dcc8937bc18d5206672e3a692db05e0"
|
||||
)
|
||||
version(
|
||||
"2021-10-11", sha256="f8a6dac813c0937fed4a5377123aa61d47eb459ba87ddf368d02ebe10c2c3a0d"
|
||||
"2021-10-11",
|
||||
sha256="f8a6dac813c0937fed4a5377123aa61d47eb459ba87ddf368d02ebe10c2c3a0d",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2021-09-30", sha256="5d061e35e93eb81214da3b67ddda2829cf5efed38a566be6363a9866ba2f9ab3"
|
||||
"2021-09-30",
|
||||
sha256="5d061e35e93eb81214da3b67ddda2829cf5efed38a566be6363a9866ba2f9ab3",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2021-05-12", sha256="92663767f0317018d6f6e422e8c687e49f6f7eb2b92e49e837eb7dc0ca0ac33d"
|
||||
"2021-05-12",
|
||||
sha256="92663767f0317018d6f6e422e8c687e49f6f7eb2b92e49e837eb7dc0ca0ac33d",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2021-04-05", sha256="76f66eec1fec7aba30092c94c7609495e6b90d9dcb6f35b3ee188304d02c6e04"
|
||||
"2021-04-05",
|
||||
sha256="76f66eec1fec7aba30092c94c7609495e6b90d9dcb6f35b3ee188304d02c6e04",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2021-01-20", sha256="7814e81981d03009b6816be3eb4ed3845fd02cc69e006ee008a2cbc85d508246"
|
||||
"2021-01-20",
|
||||
sha256="7814e81981d03009b6816be3eb4ed3845fd02cc69e006ee008a2cbc85d508246",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2021-01-06", sha256="b233502a7dc3e5ab69466054cf358eb033e593b8679c6721bf630b03999bd7e5"
|
||||
"2021-01-06",
|
||||
sha256="b233502a7dc3e5ab69466054cf358eb033e593b8679c6721bf630b03999bd7e5",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2020-08-13", sha256="e5eaf203eb2dbfb33c61ccde26deea459d058aaea79b0847e2f4bdb0cef1ddcb"
|
||||
"2020-08-13",
|
||||
sha256="e5eaf203eb2dbfb33c61ccde26deea459d058aaea79b0847e2f4bdb0cef1ddcb",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2020-05-12", sha256="7fc6915f60568b36e052ba07a77d691c99abe42eaba6ae8a6dc74bb33490ed60"
|
||||
"2020-05-12",
|
||||
sha256="7fc6915f60568b36e052ba07a77d691c99abe42eaba6ae8a6dc74bb33490ed60",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2020-03-16", sha256="2eb404f3dcb17c3e7eacf66978372830d40ef3722788207741fcd48417807af6"
|
||||
"2020-03-16",
|
||||
sha256="2eb404f3dcb17c3e7eacf66978372830d40ef3722788207741fcd48417807af6",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2020-01-16", sha256="5ae84f61e410a4f3f19153737e0ac0493b144f20feb1bbfe2024f76613d8bff5"
|
||||
"2020-01-16",
|
||||
sha256="5ae84f61e410a4f3f19153737e0ac0493b144f20feb1bbfe2024f76613d8bff5",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2019-12-18", sha256="f82cfa276ebc5fe6054852383da16eba7a51c81e6640c73b5f01fc3109487c6f"
|
||||
"2019-12-18",
|
||||
sha256="f82cfa276ebc5fe6054852383da16eba7a51c81e6640c73b5f01fc3109487c6f",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2019-10-14", sha256="ca4cf585cdbc15c25f302140fe1f61ee1a30d72921e032b9a854492b6c61fb91"
|
||||
"2019-10-14",
|
||||
sha256="ca4cf585cdbc15c25f302140fe1f61ee1a30d72921e032b9a854492b6c61fb91",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2019-08-20", sha256="a82c1910c2b37427616dc3716ca0b3c1c77410db6723aefb5bea9f47429666e5"
|
||||
"2019-08-20",
|
||||
sha256="a82c1910c2b37427616dc3716ca0b3c1c77410db6723aefb5bea9f47429666e5",
|
||||
deprecated=True,
|
||||
)
|
||||
version(
|
||||
"2019-07-26", sha256="651dac832b0cfee0f63527f563415c8a65b8e4d79242735c1e2aec606f6b2e17"
|
||||
"2019-07-26",
|
||||
sha256="651dac832b0cfee0f63527f563415c8a65b8e4d79242735c1e2aec606f6b2e17",
|
||||
deprecated=True,
|
||||
)
|
||||
|
||||
# ###################### Variants ##########################
|
||||
|
@ -130,25 +161,58 @@ class Seacas(CMakePackage):
|
|||
)
|
||||
|
||||
# Build options
|
||||
variant("fortran", default=not is_windows, description="Compile with Fortran support")
|
||||
variant("fortran", default=not is_windows, description="Compile with Fortran support.")
|
||||
# Enable this on Windows at your own risk, SEACAS exports no symbols and so cannot be
|
||||
# meaningfully linked against as a shared library
|
||||
variant("shared", default=True, description="Enables the build of shared libraries")
|
||||
variant("shared", default=True, description="Enables the build of shared libraries.")
|
||||
variant("mpi", default=True, description="Enables MPI parallelism.")
|
||||
variant("tests", default=True, description="Enable the SEACAS tests to build")
|
||||
variant("tests", default=True, description="Enable building the SEACAS tests.")
|
||||
variant(
|
||||
"thread_safe", default=False, description="Enable thread-safe exodus and IOSS libraries"
|
||||
"thread_safe", default=False, description="Enable thread-safe exodus and IOSS libraries."
|
||||
)
|
||||
|
||||
# TPLs (alphabet order)
|
||||
variant("adios2", default=False, description="Enable ADIOS2")
|
||||
variant("cgns", default=True, description="Enable CGNS")
|
||||
variant("faodel", default=False, description="Enable Faodel")
|
||||
variant("matio", default=True, description="Compile with matio (MatLab) support")
|
||||
variant("metis", default=False, description="Compile with METIS and ParMETIS")
|
||||
variant("pamgen", default=False, description="Compile with pamgen")
|
||||
variant("x11", default=True, description="Compile with X11")
|
||||
variant("zlib", default=False, description="Compile with zlib")
|
||||
variant(
|
||||
"adios2",
|
||||
default=False,
|
||||
description="Enable ADIOS2. See https://github.com/ornladios/ADIOS2",
|
||||
)
|
||||
variant("cgns", default=True, description="Enable CGNS.")
|
||||
variant(
|
||||
"faodel",
|
||||
default=False,
|
||||
description="Enable Faodel. See https://github.com/sandialabs/faodel",
|
||||
)
|
||||
variant(
|
||||
"matio",
|
||||
default=True,
|
||||
description="Compile with matio (MatLab) support."
|
||||
" Enables exo2mat and mat2exo translators.",
|
||||
)
|
||||
variant(
|
||||
"metis",
|
||||
default=False,
|
||||
description="Compile with METIS and ParMETIS. "
|
||||
"Provides additional parallel decomposition options.",
|
||||
)
|
||||
variant(
|
||||
"pamgen",
|
||||
default=False,
|
||||
description="Compile with pamgen. "
|
||||
"Provides another ioss database option for internal generation of mesh models.",
|
||||
)
|
||||
variant(
|
||||
"x11",
|
||||
default=True,
|
||||
description="Compile with X11. "
|
||||
"Needed if building blot (visualizer) and fastq (2D mesh generation).",
|
||||
)
|
||||
variant(
|
||||
"zlib",
|
||||
default=False,
|
||||
description="Compile with zlib. "
|
||||
"Sometimes needed when building static libraries on some systems.",
|
||||
)
|
||||
# ###################### Dependencies ##########################
|
||||
depends_on("cmake@3.22:", when="@2023-10-24:", type="build")
|
||||
depends_on("cmake@3.17:", when="@:2023-05-30", type="build")
|
||||
|
@ -167,6 +231,8 @@ class Seacas(CMakePackage):
|
|||
depends_on("fmt@9.1.0", when="@2022-10-14:2023-05-30")
|
||||
depends_on("fmt@8.1.0:9", when="@2022-03-04:2022-05-16")
|
||||
|
||||
depends_on("catch2@3:", when="@2024-03-11:+tests")
|
||||
|
||||
depends_on("matio", when="+matio")
|
||||
depends_on("libx11", when="+x11")
|
||||
|
||||
|
|
Loading…
Reference in a new issue