diff options
author | Dr. Christian Tacke <58549698+ChristianTackeGSI@users.noreply.github.com> | 2020-02-17 19:26:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-17 13:26:35 -0500 |
commit | 03d32c868a6cd8f7160d211edf057cb7b2e53fab (patch) | |
tree | 986c6e79c39164318094c2b484001f7c8ae507f7 /var | |
parent | d6e4b4773a3ac92532156ab80f187e3542460a28 (diff) | |
download | spack-03d32c868a6cd8f7160d211edf057cb7b2e53fab.tar.gz spack-03d32c868a6cd8f7160d211edf057cb7b2e53fab.tar.bz2 spack-03d32c868a6cd8f7160d211edf057cb7b2e53fab.tar.xz spack-03d32c868a6cd8f7160d211edf057cb7b2e53fab.zip |
cmake: Fix spack install inside ctest (#14889)
Disable the CMake install tests since they break under certain testing conditions.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/cmake/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cmake/package.py b/var/spack/repos/builtin/packages/cmake/package.py index 4f6e30874b..fdfa46af42 100644 --- a/var/spack/repos/builtin/packages/cmake/package.py +++ b/var/spack/repos/builtin/packages/cmake/package.py @@ -175,6 +175,10 @@ class Cmake(Package): # Make sure to create an optimized release build args.append('-DCMAKE_BUILD_TYPE=Release') + # Install CMake correctly, even if `spack install` runs + # inside a ctest environment + args.append('-DCMake_TEST_INSTALL=OFF') + # When building our own private copy of curl then we need to properly # enable / disable oepnssl if '+ownlibs' in spec: |