Update BOLT package (#12423)
* bolt: add new versions * bolt: add argobots dependency From this version, BOLT uses an external Argobots, not a builtin one.
This commit is contained in:
parent
5346d5e966
commit
ae2ab920fb
@ -19,17 +19,23 @@ class Bolt(CMakePackage):
|
|||||||
|
|
||||||
homepage = "http://www.bolt-omp.org/"
|
homepage = "http://www.bolt-omp.org/"
|
||||||
url = "https://github.com/pmodels/bolt/releases/download/v1.0b1/bolt-1.0b1.tar.gz"
|
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")
|
version("1.0b1", "df76beb3a7f13ae2dcaf9ab099eea87b")
|
||||||
|
|
||||||
|
depends_on('argobots')
|
||||||
depends_on('autoconf', type='build')
|
depends_on('autoconf', type='build')
|
||||||
depends_on('automake', type='build')
|
depends_on('automake', type='build')
|
||||||
depends_on('libtool', type='build')
|
depends_on('libtool', type='build')
|
||||||
|
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
|
spec = self.spec
|
||||||
options = [
|
options = [
|
||||||
'-DLIBOMP_USE_ITT_NOTIFY=off',
|
'-DLIBOMP_USE_ITT_NOTIFY=off',
|
||||||
'-DLIBOMP_USE_ARGOBOTS=on'
|
'-DLIBOMP_USE_ARGOBOTS=on',
|
||||||
|
'-DLIBOMP_ARGOBOTS_INSTALL_DIR=' + spec['argobots'].prefix
|
||||||
]
|
]
|
||||||
|
|
||||||
return options
|
return options
|
||||||
|
Loading…
Reference in New Issue
Block a user