Skip to content

Commit

Permalink
change build dir (#3260)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhanghyi authored Sep 25, 2023
1 parent 1f7a0b9 commit 09e3c38
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,11 @@ def run(self):
def _get_gcc_use_cxx_abi(self):
if hasattr(self, "_gcc_use_cxx_abi"):
return self._gcc_use_cxx_abi
build_dir = os.path.join(glt_root_path, 'cmake-build')
os.makedirs(build_dir, exist_ok=True)
output = subprocess.run(
[shutil.which("cmake"), "."],
cwd=glt_root_path,
[shutil.which("cmake"), ".."],
cwd=build_dir,
capture_output=True,
text=True,
)
Expand Down

0 comments on commit 09e3c38

Please sign in to comment.