diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2017-05-30 21:55:50 +0200 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-05-30 14:55:50 -0500 |
commit | 7e3a11b46a9604bc5e495ec34c60b9e69e6347d6 (patch) | |
tree | 3658d1dab08b5c8571f28447e5e8e34dfe3b2a47 /var | |
parent | d9d5135ec9f1ef71fa6604406a2efe46668821ea (diff) | |
download | spack-7e3a11b46a9604bc5e495ec34c60b9e69e6347d6.tar.gz spack-7e3a11b46a9604bc5e495ec34c60b9e69e6347d6.tar.bz2 spack-7e3a11b46a9604bc5e495ec34c60b9e69e6347d6.tar.xz spack-7e3a11b46a9604bc5e495ec34c60b9e69e6347d6.zip |
ISAAC: Fix CMakeLists.txt Path (#4374)
Somehow the path to `CMakeLists.txt` via the class property
`root_cmakelists_dir` was relative but is now actually relative
to `spack-build/`.
Close 4324 by providing a path relative to the source repo
of the stage via a method instead of a member variable
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/isaac-server/package.py | 4 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/isaac/package.py | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/isaac-server/package.py b/var/spack/repos/builtin/packages/isaac-server/package.py index b9954b0a17..8e345b1ea2 100644 --- a/var/spack/repos/builtin/packages/isaac-server/package.py +++ b/var/spack/repos/builtin/packages/isaac-server/package.py @@ -31,7 +31,9 @@ class IsaacServer(CMakePackage): homepage = "http://computationalradiationphysics.github.io/isaac/" url = "https://github.com/ComputationalRadiationPhysics/isaac/archive/v1.3.0.tar.gz" - root_cmakelists_dir = 'server' + @property + def root_cmakelists_dir(self): + return join_path(self.stage.source_path, 'server') version('develop', branch='dev', git='https://github.com/ComputationalRadiationPhysics/isaac.git') diff --git a/var/spack/repos/builtin/packages/isaac/package.py b/var/spack/repos/builtin/packages/isaac/package.py index fd3b979985..390006174e 100644 --- a/var/spack/repos/builtin/packages/isaac/package.py +++ b/var/spack/repos/builtin/packages/isaac/package.py @@ -31,7 +31,9 @@ class Isaac(CMakePackage): homepage = "http://computationalradiationphysics.github.io/isaac/" url = "https://github.com/ComputationalRadiationPhysics/isaac/archive/v1.3.0.tar.gz" - root_cmakelists_dir = 'lib' + @property + def root_cmakelists_dir(self): + return join_path(self.stage.source_path, 'lib') version('develop', branch='dev', git='https://github.com/ComputationalRadiationPhysics/isaac.git') |