summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/multivalue-variant/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin.mock/packages/multivalue-variant/package.py')
-rw-r--r--var/spack/repos/builtin.mock/packages/multivalue-variant/package.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin.mock/packages/multivalue-variant/package.py b/var/spack/repos/builtin.mock/packages/multivalue-variant/package.py
index 22d0ea1d97..34663434cb 100644
--- a/var/spack/repos/builtin.mock/packages/multivalue-variant/package.py
+++ b/var/spack/repos/builtin.mock/packages/multivalue-variant/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -29,6 +29,11 @@ class MultivalueVariant(Package):
multi=False
)
+ variant(
+ 'libs', default='shared', values=('shared', 'static'), multi=True,
+ description='Type of libraries to install'
+ )
+
depends_on('mpi')
depends_on('callpath')
depends_on('a')