This commit is contained in:
Andrej730
2025-09-12 16:44:58 +05:00
parent ced52862a1
commit 9a38455465
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -573,7 +573,7 @@ def build_dependency(
) )
except Exception as e: except Exception as e:
print("-" * 70) print("-" * 70)
print(open(os.path.join(extract_dir, 'hdf5.log'))) print(open(os.path.join(extract_dir, "hdf5.log")))
print("-" * 70) print("-" * 70)
raise e raise e
run([tar, "-xf", kwargs["ctest_result"] + ".tar.gz"], cwd=os.path.join(extract_dir, "build")) run([tar, "-xf", kwargs["ctest_result"] + ".tar.gz"], cwd=os.path.join(extract_dir, "build"))
@@ -362,9 +362,7 @@ def log_internal_cpp_errors(
l.decode("ascii", errors="ignore").strip() l.decode("ascii", errors="ignore").strip()
for l in lines for l in lines
if l.strip().startswith(f"#{instid[0]}".encode("ascii")) if l.strip().startswith(f"#{instid[0]}".encode("ascii"))
and re.sub(r"\s+".encode("ascii"), b"", l).startswith( and re.sub(r"\s+".encode("ascii"), b"", l).startswith(f"#{instid[0]}=".encode("ascii"))
f"#{instid[0]}=".encode("ascii")
)
), ),
None, None,
) )