From a7ffccfc97066431193fad8bcd70eb9ce053a105 Mon Sep 17 00:00:00 2001 From: Kenneth Moreland Date: Wed, 29 May 2019 09:10:12 -0600 Subject: 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. --- var/spack/repos/builtin/packages/vtkm/package.py | 3 +-- 1 file changed, 1 insertion(+), 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') -- cgit v1.2.3-70-g09d2