summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorShintaro Iwasaki <iwasaki@eidos.ic.i.u-tokyo.ac.jp>2019-08-14 21:40:51 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2019-08-14 21:40:51 -0500
commitae2ab920fb02cd8087c5c8588ea0b38feb62aef7 (patch)
treeadef2310288a9a5b0ede004763b74f6ad16c1d42 /var
parent5346d5e9666184232b42bf5cb19c48ddf1bce513 (diff)
downloadspack-ae2ab920fb02cd8087c5c8588ea0b38feb62aef7.tar.gz
spack-ae2ab920fb02cd8087c5c8588ea0b38feb62aef7.tar.bz2
spack-ae2ab920fb02cd8087c5c8588ea0b38feb62aef7.tar.xz
spack-ae2ab920fb02cd8087c5c8588ea0b38feb62aef7.zip
Update BOLT package (#12423)
* bolt: add new versions * bolt: add argobots dependency From this version, BOLT uses an external Argobots, not a builtin one.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/bolt/package.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/bolt/package.py b/var/spack/repos/builtin/packages/bolt/package.py
index 0262579a11..4ac3eac7b2 100644
--- a/var/spack/repos/builtin/packages/bolt/package.py
+++ b/var/spack/repos/builtin/packages/bolt/package.py
@@ -19,17 +19,23 @@ class Bolt(CMakePackage):
homepage = "http://www.bolt-omp.org/"
url = "https://github.com/pmodels/bolt/releases/download/v1.0b1/bolt-1.0b1.tar.gz"
+ git = "https://github.com/pmodels/bolt.git"
+ version("master", branch="master")
+ version("1.0rc1", "77733ba2ad9440c29b36d1c1411a9793")
version("1.0b1", "df76beb3a7f13ae2dcaf9ab099eea87b")
+ depends_on('argobots')
depends_on('autoconf', type='build')
depends_on('automake', type='build')
depends_on('libtool', type='build')
def cmake_args(self):
+ spec = self.spec
options = [
'-DLIBOMP_USE_ITT_NOTIFY=off',
- '-DLIBOMP_USE_ARGOBOTS=on'
+ '-DLIBOMP_USE_ARGOBOTS=on',
+ '-DLIBOMP_ARGOBOTS_INSTALL_DIR=' + spec['argobots'].prefix
]
return options