Skip to content

Commit e22ad39

Browse files
committed
🔧 use separate build-dir for each wheel tag and build type
Signed-off-by: burgholzer <burgholzer@me.com>
1 parent 55e171c commit e22ad39

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def _run_tests(
5454
posargs = list(session.posargs)
5555
env = {}
5656
if os.environ.get("CI", None) and sys.platform == "win32":
57-
env["SKBUILD_CMAKE_ARGS"] = "-T ClangCL;--fresh"
57+
env["SKBUILD_CMAKE_ARGS"] = "-T ClangCL"
5858

5959
if shutil.which("cmake") is None and shutil.which("cmake3") is None:
6060
session.install("cmake")

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ wheel.install-dir = "mqt/qcec"
8989
ninja.version = ">=1.10"
9090

9191
# Setuptools-style build caching in a local directory
92-
build-dir = "build/{build_type}"
92+
build-dir = "build/{wheel_tag}/{build_type}"
9393

9494
# Explicitly set the package directory
9595
wheel.packages = ["src/mqt"]
@@ -324,7 +324,7 @@ repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest
324324
[tool.cibuildwheel.windows]
325325
before-build = "uv pip install delvewheel>=1.7.3"
326326
repair-wheel-command = """delvewheel repair -w {dest_dir} {wheel} --namespace-pkg mqt --no-dll \"mqt-core-ir.dll;mqt-core-circuit-optimizer.dll;mqt-core-algorithms.dll;mqt-core-dd.dll;mqt-core-zx.dll\""""
327-
environment = { CMAKE_ARGS = "-T ClangCL", SKBUILD_CMAKE_ARGS="--fresh" }
327+
environment = { CMAKE_ARGS = "-T ClangCL" }
328328

329329
[[tool.cibuildwheel.overrides]]
330330
select = "*-macosx_arm64"

0 commit comments

Comments
 (0)