diff options
author | Robert Blake <blake14@llnl.gov> | 2020-05-14 18:16:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 20:16:55 -0500 |
commit | b9874448716abe1e6331291dad057aa5c8f7d416 (patch) | |
tree | bff2c7958c954e92b5b243875fbaeb2151a9e51f /var | |
parent | 5875bc6d6b635714b0e8c9b536d623077a417c74 (diff) | |
download | spack-b9874448716abe1e6331291dad057aa5c8f7d416.tar.gz spack-b9874448716abe1e6331291dad057aa5c8f7d416.tar.bz2 spack-b9874448716abe1e6331291dad057aa5c8f7d416.tar.xz spack-b9874448716abe1e6331291dad057aa5c8f7d416.zip |
Fixing the build directory for cardioid. (#16640)
* Fixing the build directory for cardioid.
* These imports are no longer needed due to deletions.
Co-authored-by: Robert Blake <rob.c.blake.3@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/cardioid/package.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/var/spack/repos/builtin/packages/cardioid/package.py b/var/spack/repos/builtin/packages/cardioid/package.py index 73e980be24..c95035b5bf 100644 --- a/var/spack/repos/builtin/packages/cardioid/package.py +++ b/var/spack/repos/builtin/packages/cardioid/package.py @@ -4,8 +4,6 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * -import spack.environment as ev -import os class Cardioid(CMakePackage): @@ -32,20 +30,6 @@ class Cardioid(CMakePackage): depends_on('cmake@3.1:', type='build') depends_on('perl', type='build') - @property - def build_directory(self): - """Returns the directory to use when building the package - - :return: directory where to build the package - """ - env = ev.get_env(None, 'env status') - if not env: - basename = str(self.spec.arch) - else: - basename = env.name - - return os.path.join(self.stage.source_path, "build", basename) - def cmake_args(self): spec = self.spec args = [ |