Skip to content

Commit

Permalink
[ci] print cmake full command
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Nov 9, 2024
1 parent 208c31d commit f651018
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pmcx/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ def build_extension(self, ext):
if not os.path.exists(build_temp):
os.makedirs(build_temp)

print(" ".join(["cmake", ext.source_dir] + cmake_args))
print(" ".join(["cmake", "--build", ".", "--target", ext.target] + build_args))

subprocess.check_call(["cmake", ext.source_dir] + cmake_args, cwd=build_temp)
subprocess.check_call(
["cmake", "--build", ".", "--target", ext.target] + build_args,
Expand Down

0 comments on commit f651018

Please sign in to comment.