summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Cohn <robert.s.cohn@intel.com>2022-08-11 05:45:25 -0700
committerGitHub <noreply@github.com>2022-08-11 14:45:25 +0200
commitf84fa41cd15d13624acb249e668d338d6a40a32c (patch)
treecb4500f8c13e91153e0df16b0582b3ca8159bae2
parent975ebaaec716bc23f1a6cc101ae06f12ccd40786 (diff)
downloadspack-f84fa41cd15d13624acb249e668d338d6a40a32c.tar.gz
spack-f84fa41cd15d13624acb249e668d338d6a40a32c.tar.bz2
spack-f84fa41cd15d13624acb249e668d338d6a40a32c.tar.xz
spack-f84fa41cd15d13624acb249e668d338d6a40a32c.zip
Pin tbb version for salmon & dyninst (#32026)
-rw-r--r--var/spack/repos/builtin/packages/dyninst/package.py6
-rw-r--r--var/spack/repos/builtin/packages/intel-tbb/package.py15
-rw-r--r--var/spack/repos/builtin/packages/salmon/package.py5
3 files changed, 16 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/dyninst/package.py b/var/spack/repos/builtin/packages/dyninst/package.py
index c6edbe6487..ec92a0955c 100644
--- a/var/spack/repos/builtin/packages/dyninst/package.py
+++ b/var/spack/repos/builtin/packages/dyninst/package.py
@@ -67,7 +67,11 @@ class Dyninst(CMakePackage):
# libdwarf before that.
depends_on("libdwarf", when="@:9")
- depends_on("tbb@2018.6:", when="@10.0.0:")
+ # findtbb.cmake in the dynist repo does not work with recent tbb
+ # package layout. Need to use tbb provided config instead.
+ conflicts("intel-tbb@2021.1:")
+ conflicts("intel-oneapi-tbb@2021.1:")
+ depends_on("tbb@2018.6.0:", when="@10.0.0:")
depends_on("cmake@3.4.0:", type="build", when="@10.1.0:")
depends_on("cmake@3.0.0:", type="build", when="@10.0.0:10.0")
diff --git a/var/spack/repos/builtin/packages/intel-tbb/package.py b/var/spack/repos/builtin/packages/intel-tbb/package.py
index 9986d072d8..f0abf5a70b 100644
--- a/var/spack/repos/builtin/packages/intel-tbb/package.py
+++ b/var/spack/repos/builtin/packages/intel-tbb/package.py
@@ -30,19 +30,16 @@ class IntelTbb(CMakePackage):
version("master", branch="master")
version("2021.6.0-rc1", tag="v2021.6.0-rc1")
- version("2021.5.0", sha256="e5b57537c741400cf6134b428fc1689a649d7d38d9bb9c1b6d64f092ea28178a")
+ version(
+ "2021.5.0",
+ sha256="e5b57537c741400cf6134b428fc1689a649d7d38d9bb9c1b6d64f092ea28178a",
+ preferred=True,
+ )
version("2021.4.0", sha256="021796c7845e155e616f5ecda16daa606ebb4c6f90b996e5c08aebab7a8d3de3")
version("2021.3.0", sha256="8f616561603695bbb83871875d2c6051ea28f8187dbe59299961369904d1d49e")
version("2021.2.0", sha256="cee20b0a71d977416f3e3b4ec643ee4f38cedeb2a9ff015303431dd9d8d79854")
version("2021.1.1", sha256="b182c73caaaabc44ddc5ad13113aca7e453af73c1690e4061f71dfe4935d74e8")
- version(
- "2020.3",
- sha256="ebc4f6aa47972daed1f7bf71d100ae5bf6931c2e3144cf299c8cc7d041dca2f3",
- # TBB moved the contents of its version.h file, and many projects will break
- # https://github.com/dyninst/dyninst/pull/1292/files
- # Pin tbb to a version that works
- preferred=True,
- )
+ version("2020.3", sha256="ebc4f6aa47972daed1f7bf71d100ae5bf6931c2e3144cf299c8cc7d041dca2f3")
version("2020.2", sha256="4804320e1e6cbe3a5421997b52199e3c1a3829b2ecb6489641da4b8e32faf500")
version("2020.1", sha256="7c96a150ed22bc3c6628bc3fef9ed475c00887b26d37bca61518d76a56510971")
version("2020.0", sha256="57714f2d2cf33935db33cee93af57eb3ecd5a7bef40c1fb7ca4a41d79684b118")
diff --git a/var/spack/repos/builtin/packages/salmon/package.py b/var/spack/repos/builtin/packages/salmon/package.py
index 1b1ecb4458..5147b7d71a 100644
--- a/var/spack/repos/builtin/packages/salmon/package.py
+++ b/var/spack/repos/builtin/packages/salmon/package.py
@@ -25,6 +25,11 @@ class Salmon(CMakePackage):
values=("DEBUG", "RELEASE"),
)
+ # 1.8.0 relies on tbb provided config, earlier versions make
+ # assumptions about the layout of tbb files that are not true in
+ # 2021.1 and later
+ conflicts("intel-tbb@2021.1:", when="@:1.7.0")
+ conflicts("intel-oneapi-tbb@2021.1:", when="@:1.7.0")
depends_on("tbb")
depends_on(
"boost@1.66.0:"