Add more changes for PR 4765.
This commit is contained in:
parent
65802c59fa
commit
aed2119e5c
@ -71,13 +71,7 @@ def build_type(self):
|
||||
def cmake_args(self):
|
||||
spec = self.spec
|
||||
|
||||
# Look for package installation information in the cbtf and cbtf-krell
|
||||
# prefixes
|
||||
cmake_prefix_path = join_path(
|
||||
spec['cbtf'].prefix) + ':' + join_path(spec['cbtf-krell'].prefix)
|
||||
|
||||
cmake_args = [
|
||||
'-DCMAKE_PREFIX_PATH=%s' % cmake_prefix_path,
|
||||
'-DCUDA_DIR=%s' % spec['cuda'].prefix,
|
||||
'-DCUDA_INSTALL_PATH=%s' % spec['cuda'].prefix,
|
||||
'-DCUDA_TOOLKIT_ROOT_DIR=%s' % spec['cuda'].prefix,
|
||||
|
@ -94,9 +94,6 @@ def cmake_args(self):
|
||||
'-DCMAKE_MODULE_PATH=%s' % join_path(
|
||||
prefix.share, 'KrellInstitute', 'cmake')]
|
||||
|
||||
# Add in the standard cmake arguments
|
||||
cmake_args.extend(std_cmake_args)
|
||||
|
||||
# Adjust the standard cmake arguments to what we want the build
|
||||
# type, etc to be
|
||||
self.adjustBuildTypeParams_cmakeOptions(spec, cmake_args)
|
||||
@ -110,9 +107,6 @@ def cmake_args(self):
|
||||
'-DCMAKE_MODULE_PATH=%s' % join_path(
|
||||
prefix.share, 'KrellInstitute', 'cmake')]
|
||||
|
||||
# Add in the standard cmake arguments
|
||||
cmake_args.extend(std_cmake_args)
|
||||
|
||||
# Adjust the standard cmake arguments to what we want the build
|
||||
# type, etc to be
|
||||
self.adjustBuildTypeParams_cmakeOptions(spec, cmake_args)
|
||||
|
Loading…
Reference in New Issue
Block a user