From f6510182a5eedeeb0d7baeb043bd446a1ccbbf53 Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Sat, 9 Nov 2024 15:30:37 -0500 Subject: [PATCH] [ci] print cmake full command --- pmcx/setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pmcx/setup.py b/pmcx/setup.py index 71c1fe97..1ca54881 100644 --- a/pmcx/setup.py +++ b/pmcx/setup.py @@ -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,