From c82889058c349744dfae37f5aa222da70b02c6ab Mon Sep 17 00:00:00 2001 From: Alex Richert Date: Wed, 10 Jul 2024 12:18:23 -0700 Subject: bacio: recipe updates (#45150) --- var/spack/repos/builtin/packages/bacio/package.py | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/var/spack/repos/builtin/packages/bacio/package.py b/var/spack/repos/builtin/packages/bacio/package.py index fba81bb118..c094f9885e 100644 --- a/var/spack/repos/builtin/packages/bacio/package.py +++ b/var/spack/repos/builtin/packages/bacio/package.py @@ -20,16 +20,7 @@ class Bacio(CMakePackage): version("develop", branch="develop") version("2.6.0", sha256="03fef581e1bd3710fb8d2f2659a6c3e01a0437c1350ba53958d2ff1ffef47bcb") version("2.5.0", sha256="540a0ed73941d70dbf5d7b21d5d0a441e76fad2bfe37dfdfea0db3e98fc0fbfb") - - # Prefer version 2.4.1 because the library and include directory - # names changed in verion 2.5.0 (dropping the "_4" they used to - # contain.) We need some time to let all the using packages adjust - # to the new names. - version( - "2.4.1", - sha256="7b9b6ba0a288f438bfba6a08b6e47f8133f7dba472a74ac56a5454e2260a7200", - preferred=True, - ) + version("2.4.1", sha256="7b9b6ba0a288f438bfba6a08b6e47f8133f7dba472a74ac56a5454e2260a7200") variant("pic", default=True, description="Build with position-independent-code") variant("shared", default=False, description="Build shared library", when="@2.6.0:") @@ -43,3 +34,7 @@ class Bacio(CMakePackage): def patch(self): if self.spec.satisfies("@2.4.1"): filter_file(".+", "2.4.1", "VERSION") + + def check(self): + with working_dir(self.builder.build_directory): + make("test") -- cgit v1.2.3-70-g09d2