Skip to content

Commit

Permalink
Try Linux builds #9
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Aug 28, 2024
1 parent e24fc90 commit cb6c1fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions build_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ def build_extension(debug: bool = False, use_temp_dir: bool = False) -> None:

banner("Step #1: Configure")
# cmake_args += ["--debug-output"]
subprocess.run(["cmake", str(TOP_DIR), *cmake_args], cwd=build_temp, check=True) # nosec
subprocess.run(["cmake", "-S", str(TOP_DIR), *cmake_args], cwd=build_temp, check=True) # nosec

cmake_args += [f"--parallel {mp.cpu_count()}"]

banner("Step #2: Build")
# build_args += ["-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"]
subprocess.run(["cmake", "--build", str(build_temp), *build_args], cwd=TOP_DIR, check=True) # nosec

# 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
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


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ manylinux-x86_64-image = "manylinux2014"

[tool.cibuildwheel.linux]
archs = ["auto", "aarch64"]
before-all = "yum install -y libffi openssl openssl-devel"
before-all = "yum install -y libffi openssl openssl-devel gcc-toolset-13"

[tool.pyright]
include = ["pyxcp", "build_ext.py"]
Expand Down

0 comments on commit cb6c1fc

Please sign in to comment.