Skip to content

Commit

Permalink
Try Linux builds #2
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Aug 27, 2024
1 parent 1580baf commit b2d16e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
if uname.system == "Darwin":
os.environ["MACOSX_DEPLOYMENT_TARGET"] = "11.0"

print("ENV:", os.environ)


def banner(msg: str) -> None:
print("=" * 80)
Expand Down Expand Up @@ -61,9 +63,9 @@ def build_extension(debug: bool = False, use_temp_dir: bool = False) -> None:
# build_args += ["-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"]
subprocess.run(["cmake", "--build", build_temp, *build_args], cwd=TOP_DIR, check=True) # nosec

banner("Step #3: Install")
# banner("Step #3: Install")
# subprocess.run(["cmake", "--install", "."], cwd=build_temp, check=True) # nosec
subprocess.run(["cmake", "--install", build_temp], cwd=TOP_DIR, check=True) # nosec
# subprocess.run(["cmake", "--install", build_temp], cwd=TOP_DIR, check=True) # nosec


if __name__ == "__main__":
Expand Down

0 comments on commit b2d16e3

Please sign in to comment.