From 9049829c8eeb5d14fc5059ba37c47ebab2a6a82e Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Mon, 11 Jan 2021 04:29:55 -0500 Subject: [PATCH] asdf-cxx: correct swig dependency details (#20752) --- var/spack/repos/builtin/packages/asdf-cxx/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/asdf-cxx/package.py b/var/spack/repos/builtin/packages/asdf-cxx/package.py index b30a82d8c7a..ffb871ad327 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')