summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2021-01-11 04:29:55 -0500
committerGitHub <noreply@github.com>2021-01-11 10:29:55 +0100
commit9049829c8eeb5d14fc5059ba37c47ebab2a6a82e (patch)
treee9f1c5072c7a0a9680bb67f9e3d1e72d2dc32df3
parent53b70451fd4eaa31a76f5d99339ec1501ef552f8 (diff)
downloadspack-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.py4
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')