diff options
author | Erik Schnetter <schnetter@gmail.com> | 2021-01-11 04:29:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-11 10:29:55 +0100 |
commit | 9049829c8eeb5d14fc5059ba37c47ebab2a6a82e (patch) | |
tree | e9f1c5072c7a0a9680bb67f9e3d1e72d2dc32df3 | |
parent | 53b70451fd4eaa31a76f5d99339ec1501ef552f8 (diff) | |
download | spack-9049829c8eeb5d14fc5059ba37c47ebab2a6a82e.tar.gz spack-9049829c8eeb5d14fc5059ba37c47ebab2a6a82e.tar.bz2 spack-9049829c8eeb5d14fc5059ba37c47ebab2a6a82e.tar.xz spack-9049829c8eeb5d14fc5059ba37c47ebab2a6a82e.zip |
asdf-cxx: correct swig dependency details (#20752)
-rw-r--r-- | var/spack/repos/builtin/packages/asdf-cxx/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/asdf-cxx/package.py b/var/spack/repos/builtin/packages/asdf-cxx/package.py index b30a82d8c7..ffb871ad32 100644 --- a/var/spack/repos/builtin/packages/asdf-cxx/package.py +++ b/var/spack/repos/builtin/packages/asdf-cxx/package.py @@ -42,6 +42,8 @@ class AsdfCxx(CMakePackage): depends_on('openssl') depends_on('py-numpy', type=('build', 'run'), when='+python') depends_on('python', type=('build', 'run'), when='+python') - depends_on('swig', type='build', when='+python') + # An error in the cmake script requires swig all the time, not only when + # Python bindings are used + depends_on('swig @3.0.0:3.999.999', type='build') depends_on('yaml-cpp') depends_on('zlib') |