summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Morrison <32687739+jack-morrison@users.noreply.github.com>2023-03-29 22:34:33 -0400
committerGitHub <noreply@github.com>2023-03-29 21:34:33 -0500
commitf8064cd74495ebe31f585653333fd950e1ff8aa3 (patch)
treef1b89abe82f677a004dfa08cc264d9166a2994b2
parent781c87840d1c95c3cfce5e046d9b683a29d67a39 (diff)
downloadspack-f8064cd74495ebe31f585653333fd950e1ff8aa3.tar.gz
spack-f8064cd74495ebe31f585653333fd950e1ff8aa3.tar.bz2
spack-f8064cd74495ebe31f585653333fd950e1ff8aa3.tar.xz
spack-f8064cd74495ebe31f585653333fd950e1ff8aa3.zip
* Add new linux-headers version 6.2.8. (#36474)
* Add new libfabric versions 1.17.1, 1.17.0, 1.16.0, 1.15.2. * Add libfabric dependency on numactl and linux-headers when building with OPX provider support. * Set libfabric flag_handler to pass compiler flags as arguments to configure.
-rw-r--r--var/spack/repos/builtin/packages/libfabric/package.py8
-rw-r--r--var/spack/repos/builtin/packages/linux-headers/package.py1
2 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libfabric/package.py b/var/spack/repos/builtin/packages/libfabric/package.py
index 57a937f632..63e4e40ed2 100644
--- a/var/spack/repos/builtin/packages/libfabric/package.py
+++ b/var/spack/repos/builtin/packages/libfabric/package.py
@@ -22,7 +22,11 @@ class Libfabric(AutotoolsPackage):
executables = ["^fi_info$"]
version("main", branch="main")
+ version("1.17.1", sha256="8b372ddb3f46784c53fdad50a701a6eb0e661239aee45a42169afbedf3644035")
+ version("1.17.0", sha256="579c0f5ef636c0c72f4d3d6bd4da91a5aed9ac3ac4ea387404c45dbbdee4745d")
version("1.16.1", sha256="53f992d33f9afe94b8a4ea3d105504887f4311cf4b68cea99a24a85fcc39193f")
+ version("1.16.0", sha256="ac104b9d6e3ce8bda6116329e3f440b621d85602257b3015116ca590f65267d2")
+ version("1.15.2", sha256="8d050b88bee62e8512a88f5aa25f532f46bef587bc3f91022ecdb9b3b2676c7e")
version("1.15.1", sha256="cafa3005a9dc86064de179b0af4798ad30b46b2f862fe0268db03d13943e10cd")
version("1.15.0", sha256="70982c58eadeeb5b1ddb28413fd645e40b206618b56fbb2b18ab1e7f607c9bea")
version("1.14.1", sha256="6cfabb94bca8e419d9015212506f5a367d077c5b11e94b9f57997ec6ca3d8aed")
@@ -107,6 +111,8 @@ class Libfabric(AutotoolsPackage):
depends_on("psm", when="fabrics=psm")
depends_on("ucx", when="fabrics=mlx")
depends_on("uuid", when="fabrics=opx")
+ depends_on("numactl", when="fabrics=opx")
+ depends_on("linux-headers", when="fabrics=opx")
depends_on("m4", when="@main", type="build")
depends_on("autoconf", when="@main", type="build")
@@ -116,6 +122,8 @@ class Libfabric(AutotoolsPackage):
conflicts("@1.9.0", when="platform=darwin", msg="This distribution is missing critical files")
conflicts("fabrics=opx", when="@:1.14.99")
+ flag_handler = build_system_flags
+
@classmethod
def determine_version(cls, exe):
output = Executable(exe)("--version", output=str, error=str)
diff --git a/var/spack/repos/builtin/packages/linux-headers/package.py b/var/spack/repos/builtin/packages/linux-headers/package.py
index 8f3c8dfece..bbbf0f0381 100644
--- a/var/spack/repos/builtin/packages/linux-headers/package.py
+++ b/var/spack/repos/builtin/packages/linux-headers/package.py
@@ -14,6 +14,7 @@ class LinuxHeaders(Package):
list_url = "https://www.kernel.org/pub/linux/kernel"
list_depth = 2
+ version("6.2.8", sha256="fed0ad87d42f83a70ce019ff2800bc30a855e672e72bf6d54a014d98d344f665")
version("4.9.10", sha256="bd6e05476fd8d9ea4945e11598d87bc97806bbc8d03556abbaaf809707661525")
def setup_build_environment(self, env):