From 5c623b03b19321af8d617d412f8044db5c94c340 Mon Sep 17 00:00:00 2001 From: "Seth R. Johnson" Date: Mon, 23 Nov 2020 10:40:57 -0500 Subject: [PATCH] flibcpp: update version and deps (#20048) --- var/spack/repos/builtin/packages/flibcpp/package.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/flibcpp/package.py b/var/spack/repos/builtin/packages/flibcpp/package.py index 01658ba2ee..08df226e99 100644 --- a/var/spack/repos/builtin/packages/flibcpp/package.py +++ b/var/spack/repos/builtin/packages/flibcpp/package.py @@ -14,7 +14,7 @@ class Flibcpp(CMakePackage): git = "https://github.com/swig-fortran/flibcpp.git" url = "https://github.com/swig-fortran/flibcpp/archive/v0.3.1.tar.gz" - version('master', branch='master') + version('0.5.2', sha256='b9b4eb6431d5b56a54c37f658df7455eafd3d204a5534903b127e0c8a1c9b827') version('0.5.1', sha256='76db24ce7893f19ab97ea7260c39490ae1bd1e08a4cc5111ad7e70525a916993') version('0.5.0', sha256='94204198304ba4187815431859e5958479fa651a6f06f460b099badbf50f16b2') version('0.4.1', sha256='5c9a11af391fcfc95dd11b95338cff19ed8104df66d42b00ae54f6cde4da5bdf') @@ -28,7 +28,7 @@ class Flibcpp(CMakePackage): variant('fstd', default='03', values=('none', '03', '08', '15', '18'), multi=False, description='Build with this Fortran standard') - depends_on('swig@fortran', type='build', when="+swig") + depends_on('swig@4.0.2-fortran', type='build', when="+swig") depends_on('py-sphinx', type='build', when="+doc") @run_before('cmake') @@ -44,6 +44,6 @@ def cmake_args(self): self.define_from_variant('BUILD_SHARED_LIBS', 'shared'), self.define_from_variant('FLIBCPP_BUILD_DOCS', 'doc'), self.define_from_variant('FLIBCPP_FORTRAN_STD', 'fstd'), - self.define('BUILD_TESTING', bool(self.run_tests)), + self.define('FLIBCPP_BUILD_TESTS', bool(self.run_tests)), self.define('FLIBCPP_BUILD_EXAMPLES', bool(self.run_tests)), ]