From 450b19b6e0e92e71f945a50048d4c34ca35d619b Mon Sep 17 00:00:00 2001 From: Gregory Lee Date: Tue, 15 Aug 2017 15:17:02 -0700 Subject: [PATCH] fix reference to spec in apex package (#5076) * fix reference to spec in apex package * fixed md5 sums for ompt-openmp and apex packages --- var/spack/repos/builtin/packages/apex/package.py | 3 ++- var/spack/repos/builtin/packages/ompt-openmp/package.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/apex/package.py b/var/spack/repos/builtin/packages/apex/package.py index 4c1c0466eb..0c04968a67 100644 --- a/var/spack/repos/builtin/packages/apex/package.py +++ b/var/spack/repos/builtin/packages/apex/package.py @@ -29,7 +29,7 @@ class Apex(CMakePackage): homepage = "http://github.com/khuck/xpress-apex" 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("boost@1.54:") @@ -38,6 +38,7 @@ class Apex(CMakePackage): depends_on("ompt-openmp") def cmake_args(self): + spec = self.spec return [ '-DBOOST_ROOT=%s' % spec['boost'].prefix, '-DUSE_BFD=TRUE', diff --git a/var/spack/repos/builtin/packages/ompt-openmp/package.py b/var/spack/repos/builtin/packages/ompt-openmp/package.py index f751dedef0..387edd7c64 100644 --- a/var/spack/repos/builtin/packages/ompt-openmp/package.py +++ b/var/spack/repos/builtin/packages/ompt-openmp/package.py @@ -35,7 +35,7 @@ class OmptOpenmp(CMakePackage): homepage = "https://github.com/OpenMPToolsInterface/LLVM-openmp" 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')