summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelly (KT) Thompson <kgt@lanl.gov>2016-04-04 13:47:48 -0600
committerKelly (KT) Thompson <kgt@lanl.gov>2016-04-04 13:47:48 -0600
commit9bb99de0a75a9f9c2cc1ad65596a7219fa700a76 (patch)
treef8cbe85793d1e6d8b9bbf5fbe5fc9f5669cf55b2
parentf5a77d39580d215f8d4948b2cbe6c8d47d4fd514 (diff)
downloadspack-9bb99de0a75a9f9c2cc1ad65596a7219fa700a76.tar.gz
spack-9bb99de0a75a9f9c2cc1ad65596a7219fa700a76.tar.bz2
spack-9bb99de0a75a9f9c2cc1ad65596a7219fa700a76.tar.xz
spack-9bb99de0a75a9f9c2cc1ad65596a7219fa700a76.zip
+ When using CMake, use Release instead of RelWithDebInfo flags.
-rw-r--r--lib/spack/spack/build_environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py
index 640db0c1d1..1346af2285 100644
--- a/lib/spack/spack/build_environment.py
+++ b/lib/spack/spack/build_environment.py
@@ -217,7 +217,7 @@ def set_module_variables_for_package(pkg, module):
# standard CMake arguments
m.std_cmake_args = ['-DCMAKE_INSTALL_PREFIX=%s' % pkg.prefix,
- '-DCMAKE_BUILD_TYPE=RelWithDebInfo']
+ '-DCMAKE_BUILD_TYPE=Release']
if platform.mac_ver()[0]:
m.std_cmake_args.append('-DCMAKE_FIND_FRAMEWORK=LAST')