summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Klein <d.klein@gsi.de>2023-11-14 12:55:09 +0100
committerGitHub <noreply@github.com>2023-11-14 12:55:09 +0100
commit6fc8679fb48f2cdbbc36bf8326867451796d2baa (patch)
tree02fb0f86b353860dd33e06c18f3a12769009c114
parent8a8dcb9479add8fefaa6ecf3beb74cfe9b73d193 (diff)
downloadspack-6fc8679fb48f2cdbbc36bf8326867451796d2baa.tar.gz
spack-6fc8679fb48f2cdbbc36bf8326867451796d2baa.tar.bz2
spack-6fc8679fb48f2cdbbc36bf8326867451796d2baa.tar.xz
spack-6fc8679fb48f2cdbbc36bf8326867451796d2baa.zip
fairmq: add v1.8.1 (#41007)
-rw-r--r--var/spack/repos/builtin/packages/fairmq/package.py42
1 files changed, 14 insertions, 28 deletions
diff --git a/var/spack/repos/builtin/packages/fairmq/package.py b/var/spack/repos/builtin/packages/fairmq/package.py
index 2af3ce52c1..4639e25e79 100644
--- a/var/spack/repos/builtin/packages/fairmq/package.py
+++ b/var/spack/repos/builtin/packages/fairmq/package.py
@@ -14,31 +14,15 @@ class Fairmq(CMakePackage):
maintainers("dennisklein", "ChristianTackeGSI")
version("dev", branch="dev", submodules=True, get_full_repo=True)
- version(
- "1.7.0",
- tag="v1.7.0",
- commit="d1c99f7e150c1177dc1cab1b2adc16475cade24e",
- submodules=True,
- no_cache=True,
- )
- version(
- "1.6.0",
- tag="v1.6.0",
- commit="42d27af20fb5cbbbc0b0fdfef1c981d51a8baf87",
- submodules=True,
- no_cache=True,
- )
- version(
- "1.5.0",
- tag="v1.5.0",
- commit="c8fde17b6a10a467035590fd800bb693f50c4826",
- submodules=True,
- no_cache=True,
- )
- # no_cache=True is currently needed, because FairMQ's build system
- # depends on the git metadata, see also
- # https://github.com/spack/spack/issues/19972
- # https://github.com/spack/spack/issues/14344
+ with default_args(submodules=True, no_cache=True):
+ # no_cache=True is currently needed, because FairMQ's build system
+ # depends on the git metadata, see also
+ # https://github.com/spack/spack/issues/19972
+ # https://github.com/spack/spack/issues/14344
+ version("1.8.1", tag="v1.8.1", commit="961eca52761a31a0200c567b44e2b2d6d6e50df3")
+ version("1.7.0", tag="v1.7.0", commit="d1c99f7e150c1177dc1cab1b2adc16475cade24e")
+ version("1.6.0", tag="v1.6.0", commit="42d27af20fb5cbbbc0b0fdfef1c981d51a8baf87")
+ version("1.5.0", tag="v1.5.0", commit="c8fde17b6a10a467035590fd800bb693f50c4826")
variant(
"autobind", default=True, when="@1.7:", description="Override the channel autoBind default"
@@ -61,9 +45,10 @@ class Fairmq(CMakePackage):
generator("make", "ninja", default="ninja")
- depends_on("cmake@3.15:", type="build")
- depends_on("faircmakemodules", type="build")
- depends_on("git", type="build")
+ with default_args(type="build"):
+ depends_on("cmake@3.15:")
+ depends_on("faircmakemodules")
+ depends_on("git")
depends_on("boost@1.66: +container+program_options+filesystem+date_time+regex")
depends_on("fairlogger@1.6: +pretty")
@@ -72,6 +57,7 @@ class Fairmq(CMakePackage):
def cmake_args(self):
args = [
self.define("DISABLE_COLOR", True),
+ self.define("BUILD_TESTING", self.run_tests),
self.define_from_variant("BUILD_EXAMPLES", "examples"),
self.define_from_variant("FAIRMQ_CHANNEL_DEFAULT_AUTOBIND", "autobind"),
]