summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTomoyasu Nojiri <68096132+t-nojiri@users.noreply.github.com>2020-12-25 07:54:24 +0900
committerGitHub <noreply@github.com>2020-12-24 16:54:24 -0600
commitb1a6e583c0d5d39e13afba8bbca164382de3ae68 (patch)
tree8e55dfe88102a1eeec6d5596e24535bba5de419d /var
parentcfbe3aa056ea7bfb04f5880020a6d09cacda5570 (diff)
downloadspack-b1a6e583c0d5d39e13afba8bbca164382de3ae68.tar.gz
spack-b1a6e583c0d5d39e13afba8bbca164382de3ae68.tar.bz2
spack-b1a6e583c0d5d39e13afba8bbca164382de3ae68.tar.xz
spack-b1a6e583c0d5d39e13afba8bbca164382de3ae68.zip
babelflow: Add spec (#20544)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/babelflow/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/babelflow/package.py b/var/spack/repos/builtin/packages/babelflow/package.py
index 568f8bf7c8..35f59bff69 100644
--- a/var/spack/repos/builtin/packages/babelflow/package.py
+++ b/var/spack/repos/builtin/packages/babelflow/package.py
@@ -25,6 +25,7 @@ class Babelflow(CMakePackage):
variant("shared", default=True, description="Build Babelflow as shared libs")
def cmake_args(self):
+ spec = self.spec
args = [
'-DBUILD_SHARED_LIBS:BOOL={0}'.format(
'ON' if '+shared' in spec else 'OFF')]