summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Cessenat <cessenat@gmail.com>2021-05-21 09:31:31 +0200
committerGitHub <noreply@github.com>2021-05-21 09:31:31 +0200
commit5e782f6a23a55a1db13a100803f73a9e1ff19c4c (patch)
tree4646f1e6bc4f714f1442f73117a331f096a6fae2
parent2d69f63a9c1aa07f0bfd9380573ad6250d3d2207 (diff)
downloadspack-5e782f6a23a55a1db13a100803f73a9e1ff19c4c.tar.gz
spack-5e782f6a23a55a1db13a100803f73a9e1ff19c4c.tar.bz2
spack-5e782f6a23a55a1db13a100803f73a9e1ff19c4c.tar.xz
spack-5e782f6a23a55a1db13a100803f73a9e1ff19c4c.zip
gsl: update external-cblas patch directive (#23787)
-rw-r--r--var/spack/repos/builtin/packages/gsl/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/gsl/package.py b/var/spack/repos/builtin/packages/gsl/package.py
index 173f6742fa..b12e7fa3b6 100644
--- a/var/spack/repos/builtin/packages/gsl/package.py
+++ b/var/spack/repos/builtin/packages/gsl/package.py
@@ -29,9 +29,10 @@ class Gsl(AutotoolsPackage, GNUMirrorPackage):
variant('external-cblas', default=False, description='Build against external blas')
# from https://dev.gentoo.org/~mgorny/dist/gsl-2.3-cblas.patch.bz2
- patch('gsl-2.3-cblas.patch', when="+external-cblas")
+ patch('gsl-2.3-cblas.patch', when="@2.3:2.5.99+external-cblas")
+
+ conflicts('+external-cblas', when="@:2.2.99")
- conflicts('+external-cblas', when="@:2.2.9999")
depends_on('m4', type='build', when='+external-cblas')
depends_on('autoconf', type='build', when='+external-cblas')
depends_on('automake', type='build', when='+external-cblas')