summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cbtf-krell/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/cbtf-krell/package.py')
-rw-r--r--var/spack/repos/builtin/packages/cbtf-krell/package.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/cbtf-krell/package.py b/var/spack/repos/builtin/packages/cbtf-krell/package.py
index 15ea33dd79..9ec7853abf 100644
--- a/var/spack/repos/builtin/packages/cbtf-krell/package.py
+++ b/var/spack/repos/builtin/packages/cbtf-krell/package.py
@@ -193,15 +193,16 @@ class CbtfKrell(CMakePackage):
# the login node components with this spack invocation. We
# need these paths to be the ones created in the CNL
# spack invocation.
- be_cbtf = spack.store.db.query_one('cbtf arch=cray-CNL-haswell')
- be_cbtfk = spack.store.db.query_one('cbtf-krell arch=cray-CNL-haswell')
- be_papi = spack.store.db.query_one('papi arch=cray-CNL-haswell')
- be_boost = spack.store.db.query_one('boost arch=cray-CNL-haswell')
- be_mont = spack.store.db.query_one('libmonitor arch=cray-CNL-haswell')
- be_unw = spack.store.db.query_one('libunwind arch=cray-CNL-haswell')
- be_xer = spack.store.db.query_one('xerces-c arch=cray-CNL-haswell')
- be_dyn = spack.store.db.query_one('dyninst arch=cray-CNL-haswell')
- be_mrnet = spack.store.db.query_one('mrnet arch=cray-CNL-haswell')
+ store = spack.store.store()
+ be_cbtf = store.db.query_one('cbtf arch=cray-CNL-haswell')
+ be_cbtfk = store.db.query_one('cbtf-krell arch=cray-CNL-haswell')
+ be_papi = store.db.query_one('papi arch=cray-CNL-haswell')
+ be_boost = store.db.query_one('boost arch=cray-CNL-haswell')
+ be_mont = store.db.query_one('libmonitor arch=cray-CNL-haswell')
+ be_unw = store.db.query_one('libunwind arch=cray-CNL-haswell')
+ be_xer = store.db.query_one('xerces-c arch=cray-CNL-haswell')
+ be_dyn = store.db.query_one('dyninst arch=cray-CNL-haswell')
+ be_mrnet = store.db.query_one('mrnet arch=cray-CNL-haswell')
CrayLoginNodeOptions.append('-DCN_RUNTIME_PLATFORM=%s'
% rt_platform)