diff options
author | Brian Van Essen <vanessen1@llnl.gov> | 2020-03-03 09:27:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-03 11:27:01 -0600 |
commit | f83d98a62d0100b8f9b510d7e7b58af81d63af0a (patch) | |
tree | 3cbc088a612df2f4693aaf69ad1439ec7acae400 | |
parent | d6b0cf75ed79ace3154de11ff3ad24af4e69f773 (diff) | |
download | spack-f83d98a62d0100b8f9b510d7e7b58af81d63af0a.tar.gz spack-f83d98a62d0100b8f9b510d7e7b58af81d63af0a.tar.bz2 spack-f83d98a62d0100b8f9b510d7e7b58af81d63af0a.tar.xz spack-f83d98a62d0100b8f9b510d7e7b58af81d63af0a.zip |
Protobuf's cmake environment does not properly handle being exported (#15293)
and found when using the RelWithDebInfo build type. Change protobuf
to only support Release and Debug build types.
-rw-r--r-- | var/spack/repos/builtin/packages/protobuf/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/protobuf/package.py b/var/spack/repos/builtin/packages/protobuf/package.py index 0923d3a961..05702d9fc9 100644 --- a/var/spack/repos/builtin/packages/protobuf/package.py +++ b/var/spack/repos/builtin/packages/protobuf/package.py @@ -39,6 +39,9 @@ class Protobuf(CMakePackage): variant('shared', default=True, description='Enables the build of shared libraries') + variant('build_type', default='Release', + description='The build type to build', + values=('Debug', 'Release')) depends_on('zlib') |