diff options
author | Gregory Lee <lee218@llnl.gov> | 2019-11-04 15:39:16 -0800 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-11-04 17:39:16 -0600 |
commit | 7e2e93b787b669192f2ec7c04428b6d166f593f8 (patch) | |
tree | 181bfd8b78dac20e0dc2aaaabc03215ceed59d35 | |
parent | dd7ebcf2d909a70442b9ff8a77311ec1a1d7eaa6 (diff) | |
download | spack-7e2e93b787b669192f2ec7c04428b6d166f593f8.tar.gz spack-7e2e93b787b669192f2ec7c04428b6d166f593f8.tar.bz2 spack-7e2e93b787b669192f2ec7c04428b6d166f593f8.tar.xz spack-7e2e93b787b669192f2ec7c04428b6d166f593f8.zip |
added archer 2.0.0 and package build fixes (#13577)
-rw-r--r-- | var/spack/repos/builtin/packages/archer/package.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/archer/package.py b/var/spack/repos/builtin/packages/archer/package.py index 7437a3890d..306ce1c800 100644 --- a/var/spack/repos/builtin/packages/archer/package.py +++ b/var/spack/repos/builtin/packages/archer/package.py @@ -13,15 +13,22 @@ class Archer(CMakePackage): homepage = "https://github.com/PRUNERS/ARCHER" url = "https://github.com/PRUNERS/archer/archive/v1.0.0.tar.gz" + version('2.0.0', sha256='3241cadb0078403368b69166b27f815e12c350486d4ceb3fb33147895b9ebde8') version('1.0.0', sha256='df814a475606b83c659932caa30a68bed1c62e713386b375c1b78eb8d60e0d15') depends_on('cmake@3.4.3:', type='build') - depends_on('llvm') + depends_on('llvm@:8.0.0') depends_on('ninja@1.5:', type='build') - depends_on('llvm-openmp-ompt') + depends_on('llvm-openmp-ompt@tr6_forwards') generator = 'Ninja' + def patch(self): + if self.spec.satisfies('^llvm@8.0.0:'): + filter_file(r'add_llvm_loadable_module\(LLVMArcher', + 'add_llvm_library(LLVMArcher MODULE', + 'lib/CMakeLists.txt') + def cmake_args(self): return [ '-DCMAKE_C_COMPILER=clang', |