diff options
author | Kenneth Moreland <kmorel@sandia.gov> | 2019-05-29 09:10:12 -0600 |
---|---|---|
committer | Elizabeth Fischer <elizabeth.fischer@columbia.edu> | 2019-05-29 11:10:12 -0400 |
commit | a7ffccfc97066431193fad8bcd70eb9ce053a105 (patch) | |
tree | 9b7afad753138934ebdc32ae95b778a14a7d8580 /var | |
parent | 643e7806e0b9935102b20493696cd3b01f5e9628 (diff) | |
download | spack-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.py | 3 |
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') |