summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorKenneth Moreland <kmorel@sandia.gov>2019-05-29 09:10:12 -0600
committerElizabeth Fischer <elizabeth.fischer@columbia.edu>2019-05-29 11:10:12 -0400
commita7ffccfc97066431193fad8bcd70eb9ce053a105 (patch)
tree9b7afad753138934ebdc32ae95b778a14a7d8580 /var
parent643e7806e0b9935102b20493696cd3b01f5e9628 (diff)
downloadspack-a7ffccfc97066431193fad8bcd70eb9ce053a105.tar.gz
spack-a7ffccfc97066431193fad8bcd70eb9ce053a105.tar.bz2
spack-a7ffccfc97066431193fad8bcd70eb9ce053a105.tar.xz
spack-a7ffccfc97066431193fad8bcd70eb9ce053a105.zip
vtkm: fix the directory cmake looks for the source code (#11576)
Previously, the vtkm package was adding a "../" option to the cmake command line. I suppose this was supposed to be pointing to the source code, but did not. Rather, Spack correctly adds the source directory as the first argument to cmake. However, because ../ was added, it used that as the source directory instead. Simply remove this argument to make CMake work correctly.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/vtkm/package.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/vtkm/package.py b/var/spack/repos/builtin/packages/vtkm/package.py
index 4dc37a9d45..b899ef5472 100644
--- a/var/spack/repos/builtin/packages/vtkm/package.py
+++ b/var/spack/repos/builtin/packages/vtkm/package.py
@@ -50,8 +50,7 @@ class Vtkm(CMakePackage, CudaPackage):
spec = self.spec
options = []
with working_dir('spack-build', create=True):
- options = ["../",
- "-DVTKm_ENABLE_TESTING:BOOL=OFF"]
+ options = ["-DVTKm_ENABLE_TESTING:BOOL=OFF"]
# shared vs static libs
if "+shared" in spec:
options.append('-DBUILD_SHARED_LIBS=ON')