Skip to content

Commit

Permalink
Try to fix github workflow #7
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Oct 4, 2024
1 parent 33284ef commit 5b023a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ def banner(msg: str) -> None:
# tool["cs_build"]={"antlr4_version": "4.13.0"}


def build_extension(debug: bool = False, use_temp_dir=True) -> None:
print("CMakeBuild::build_extension()")
def build_extension(debug: bool = False, use_temp_dir=False) -> None:
print("build_ext::build_extension()")

debug = int(os.environ.get("DEBUG", 0)) or debug
cfg = "Debug" if debug else "Release"
Expand Down Expand Up @@ -170,4 +170,4 @@ def build_extension(debug: bool = False, use_temp_dir=True) -> None:
if __name__ == "__main__":
includes = subprocess.getoutput("pybind11-config --cmakedir") # nosec
os.environ["pybind11_DIR"] = includes
build_extension(False)
build_extension(use_temp_dir=False)

0 comments on commit 5b023a5

Please sign in to comment.