summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharalmha <47558670+haralmha@users.noreply.github.com>2022-02-11 09:41:45 +0100
committerGitHub <noreply@github.com>2022-02-11 09:41:45 +0100
commit1e494eec2fe501e8a6f5157cc021563e7d7cf9fe (patch)
tree4a654d134fce35ef0c3dcdf201bba3509efedc89
parent5b718391277bc3bb80f4a299094ec86a6c99c956 (diff)
downloadspack-1e494eec2fe501e8a6f5157cc021563e7d7cf9fe.tar.gz
spack-1e494eec2fe501e8a6f5157cc021563e7d7cf9fe.tar.bz2
spack-1e494eec2fe501e8a6f5157cc021563e7d7cf9fe.tar.xz
spack-1e494eec2fe501e8a6f5157cc021563e7d7cf9fe.zip
cool: add v3.3.10 (#28858)
Co-authored-by: Harald Minde Hansen <harald.minde.hansen@cern.ch> Co-authored-by: Valentin Volkl <valentin.volkl@cern.ch>
-rw-r--r--var/spack/repos/builtin/packages/cool/package.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cool/package.py b/var/spack/repos/builtin/packages/cool/package.py
index e56cbaa9ad..94fecafbb9 100644
--- a/var/spack/repos/builtin/packages/cool/package.py
+++ b/var/spack/repos/builtin/packages/cool/package.py
@@ -16,6 +16,7 @@ class Cool(CMakePackage):
tags = ['hep']
maintainers = ['iarspider']
+ version('3.3.10', tag='COOL_3_3_10')
version('3.3.7', tag='COOL_3_3_7')
version('3.3.5', tag='COOL_3_3_5')
version('3.3.4', tag='COOL_3_3_4')
@@ -25,7 +26,13 @@ class Cool(CMakePackage):
# * Create python/PyCool/_internal directory
# (only necessary for Spack builds, for some reason)
# * Explicitly request Boost components
- patch('cool.patch', level=0)
+ patch('cool.patch', level=0, when='@:3.3.8')
+
+ @when('@3.3.9:')
+ def patch(self):
+ filter_file("find_package(Boost REQUIRED)",
+ "find_package(Boost REQUIRED chrono system thread)",
+ "src/RelationalCool/CMakeLists.txt")
# BINARY_TAG is a combination of target, os, compiler name and build type (opt/dbg)
# If you override it, please also override it for CORAL