summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Bonachea <dobonachea@lbl.gov>2023-01-16 06:48:22 -0500
committerGitHub <noreply@github.com>2023-01-16 12:48:22 +0100
commit1095958cac44019cc46c5a641516f3ba3810f34b (patch)
treea0ecabf5fc5fbabbd4c4635757b705b9480c2fed
parent911e9edf07dc3ad457a49815a39603356ecd392b (diff)
downloadspack-1095958cac44019cc46c5a641516f3ba3810f34b.tar.gz
spack-1095958cac44019cc46c5a641516f3ba3810f34b.tar.bz2
spack-1095958cac44019cc46c5a641516f3ba3810f34b.tar.xz
spack-1095958cac44019cc46c5a641516f3ba3810f34b.zip
GASNet 2022.9.2 package update (#34942)
This allows client packages like UPC++ to display more precise version information when their GASNet dependency was fetched from git.
-rw-r--r--var/spack/repos/builtin/packages/gasnet/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gasnet/package.py b/var/spack/repos/builtin/packages/gasnet/package.py
index baec00cd59..fc4e837734 100644
--- a/var/spack/repos/builtin/packages/gasnet/package.py
+++ b/var/spack/repos/builtin/packages/gasnet/package.py
@@ -37,6 +37,7 @@ class Gasnet(Package, CudaPackage, ROCmPackage):
version("main", branch="stable")
version("master", branch="master")
+ version("2022.9.2", sha256="2352d52f395a9aa14cc57d82957d9f1ebd928d0a0021fd26c5f1382a06cd6f1d")
version("2022.9.0", sha256="6873ff4ad8ebee49da4378f2d78095a6ccc31333d6ae4cd739b9f772af11f936")
version("2022.3.0", sha256="91b59aa84c0680c807e00d3d1d8fa7c33c1aed50b86d1616f93e499620a9ba09")
version("2021.9.0", sha256="1b6ff6cdad5ecf76b92032ef9507e8a0876c9fc3ee0ab008de847c1fad0359ee")
@@ -87,6 +88,12 @@ class Gasnet(Package, CudaPackage, ROCmPackage):
if spec.satisfies("@master:"):
bootstrapsh = Executable("./Bootstrap")
bootstrapsh()
+ # Record git-describe when fetched from git:
+ try:
+ git = which("git")
+ git("describe", "--long", "--always", output="version.git")
+ except spack.util.executable.ProcessError:
+ spack.main.send_warning_to_tty("Omitting version stamp due to git error")
# The GASNet-EX library has a highly multi-dimensional configure space,
# to accomodate the varying behavioral requirements of each client runtime.