Skip to content

Commit 8ae0d93

Browse files
committed
Truncate more characters in cdash build lines.
1 parent 6ea77e0 commit 8ae0d93

File tree

1 file changed

+3
-0
lines changed
  • repos/spack_repo/exawind/packages/ctest_package

1 file changed

+3
-0
lines changed

repos/spack_repo/exawind/packages/ctest_package/package.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ def std_cmake_args(self):
3131
spec_string = find_machine.cdash_build_name(self.pkg.spec)
3232
trunc_spec_string = spec_string[:spec_string.index(" ctest_args")]
3333
trunc_spec_string = trunc_spec_string.replace(" build_system=cmake", "")
34+
index = trunc_spec_string.find("/")
35+
trunc_spec_string = trunc_spec_string[:index] + trunc_spec_string[index+32+1:]
36+
#trunc_spec_string = trunc_spec_string[:trunc_spec_string.index(" commit=")]
3437
args.extend([
3538
f"-DBUILDNAME={trunc_spec_string}",
3639
"-DSITE={}".format(find_machine.cdash_host_name()),

0 commit comments

Comments
 (0)