diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/cool/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/cool/package.py | 9 |
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 |