new release and bug fix on check() (#38901)

This commit is contained in:
G-Ragghianti 2023-07-14 19:57:11 +02:00 committed by GitHub
parent c5f9ae864a
commit e276131b2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 4 deletions

View File

@ -19,6 +19,9 @@ class Blaspp(CMakePackage, CudaPackage, ROCmPackage):
maintainers("teonnik", "Sely85", "G-Ragghianti", "mgates3")
version("master", branch="master")
version(
"2023.06.00", sha256="e261ad6cde2aa4f97e985aa9067f4c40d2aaa856904bb78007a3dcadf1378ae9"
)
version(
"2022.07.00", sha256="566bd644f0364caffde6669e0f86514658eb06ca3d252a4fe67203921a875481"
)
@ -85,8 +88,8 @@ def cmake_args(self):
def check(self):
# If the tester fails to build, ensure that the check() fails.
if os.path.isfile(join_path(self.build_directory, "test", "tester")):
with working_dir(self.build_directory):
if os.path.isfile(join_path(self.builder.build_directory, "test", "tester")):
with working_dir(self.builder.build_directory):
make("check")
else:
raise Exception("The tester was not built!")

View File

@ -11,6 +11,7 @@
_versions = [
# LAPACK++, BLAS++
["master", "master"],
["2023.06.00", "2023.06.00"],
["2022.07.00", "2022.07.00"],
["2022.05.00", "2022.05.00"],
["2020.10.00", "2020.10.00"],
@ -31,6 +32,9 @@ class Lapackpp(CMakePackage, CudaPackage, ROCmPackage):
maintainers("teonnik", "Sely85", "G-Ragghianti", "mgates3")
version("master", branch="master")
version(
"2023.06.00", sha256="93df8392c859071120e00239feb96a0e060c0bb5176ee3a4f03eb9777c4edead"
)
version(
"2022.07.00", sha256="11e59efcc7ea0764a2bfc0e0f7b1abf73cee2943c1df11a19601780641a9aa18"
)
@ -93,8 +97,8 @@ def cmake_args(self):
def check(self):
# If the tester fails to build, ensure that the check() fails.
if os.path.isfile(join_path(self.build_directory, "test", "tester")):
with working_dir(self.build_directory):
if os.path.isfile(join_path(self.builder.build_directory, "test", "tester")):
with working_dir(self.builder.build_directory):
make("check")
else:
raise Exception("The tester was not built!")