Commit 690d4d42 authored by jizhilong's avatar jizhilong
Browse files

chore: show cmake output in real time during build_ext

otherwise cmake error messages may be suppressed, making debugging
difficult
parent 35ba63e2
......@@ -403,11 +403,9 @@ class CMakeBuild(BuildExtension):
if not build_temp.exists():
build_temp.mkdir(parents=True)
result = subprocess.run(
["cmake", ext.sourcedir, *cmake_args], cwd=build_temp, check=True , capture_output=True, text=True
subprocess.run(
["cmake", ext.sourcedir, *cmake_args], cwd=build_temp, check=True
)
print("Standard output:", result.stdout)
print("Standard error:", result.stderr)
subprocess.run(
["cmake", "--build", ".", "--verbose", *build_args], cwd=build_temp, check=True
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment