fix reference to spec in apex package (#5076)

* fix reference to spec in apex package

* fixed md5 sums for ompt-openmp and apex packages
This commit is contained in:
Gregory Lee 2017-08-15 15:17:02 -07:00 committed by Adam J. Stewart
parent 7b51791625
commit 450b19b6e0
2 changed files with 3 additions and 2 deletions

View file

@ -29,7 +29,7 @@ class Apex(CMakePackage):
homepage = "http://github.com/khuck/xpress-apex" homepage = "http://github.com/khuck/xpress-apex"
url = "http://github.com/khuck/xpress-apex/archive/v0.1.tar.gz" url = "http://github.com/khuck/xpress-apex/archive/v0.1.tar.gz"
version('0.1', '8b95f0c0313da1575960d3ad69f18e75') version('0.1', 'e224a0b9033e23a9697ce2a3c307a0a3')
depends_on("binutils+libiberty") depends_on("binutils+libiberty")
depends_on("boost@1.54:") depends_on("boost@1.54:")
@ -38,6 +38,7 @@ class Apex(CMakePackage):
depends_on("ompt-openmp") depends_on("ompt-openmp")
def cmake_args(self): def cmake_args(self):
spec = self.spec
return [ return [
'-DBOOST_ROOT=%s' % spec['boost'].prefix, '-DBOOST_ROOT=%s' % spec['boost'].prefix,
'-DUSE_BFD=TRUE', '-DUSE_BFD=TRUE',

View file

@ -35,7 +35,7 @@ class OmptOpenmp(CMakePackage):
homepage = "https://github.com/OpenMPToolsInterface/LLVM-openmp" homepage = "https://github.com/OpenMPToolsInterface/LLVM-openmp"
url = "http://github.com/khuck/LLVM-openmp/archive/v0.1.tar.gz" url = "http://github.com/khuck/LLVM-openmp/archive/v0.1.tar.gz"
version('0.1', '2334e6a84b52da41b27afd9831ed5370') version('0.1', '59d6933a2e9b7d1423fb9c7c77d5663f')
depends_on('cmake@2.8:', type='build') depends_on('cmake@2.8:', type='build')