@@ -300,15 +300,30 @@ manylinux-aarch64-image = "manylinux_2_28"
300
300
manylinux-ppc64le-image = " manylinux_2_28"
301
301
manylinux-s390x-image = " manylinux_2_28"
302
302
303
+ # The mqt-core shared libraries are provided by the mqt-core Python package.
304
+ # They should not be vendorized into the mqt-qcec wheel. This requires
305
+ # excluding the shared libraries from the repair process.
306
+
303
307
[tool .cibuildwheel .linux ]
304
308
environment = { DEPLOY =" ON" }
309
+ # The SOVERSION needs to be updated when the shared libraries are updated.
310
+ repair-wheel-command = """ auditwheel repair -w {dest_dir} {wheel} \
311
+ --exclude libmqt-core-ir.so.2.7 \
312
+ --exclude libmqt-core-circuit-optimizer.so.2.7 \
313
+ --exclude libmqt-core-dd.so.2.7 \
314
+ --exclude libmqt-core-zx.so.2.7"""
305
315
306
316
[tool .cibuildwheel .macos ]
307
317
environment = { MACOSX_DEPLOYMENT_TARGET = " 10.15" }
318
+ repair-wheel-command = " delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} --ignore-missing-dependencies "
308
319
309
320
[tool .cibuildwheel .windows ]
310
- before-build = " pip install delvewheel>=1.7.3"
311
- repair-wheel-command = " delvewheel repair -v -w {dest_dir} {wheel} --namespace-pkg mqt"
321
+ before-build = " uv pip install delvewheel>=1.9.0"
322
+ repair-wheel-command = """ delvewheel repair -w {dest_dir} {wheel} --namespace-pkg mqt \
323
+ --exclude mqt-core-ir.dll \
324
+ --exclude mqt-core-circuit-optimizer.dll \
325
+ --exclude mqt-core-dd.dll \
326
+ --exclude mqt-core-zx.dll"""
312
327
environment = { CMAKE_ARGS = " -T ClangCL" }
313
328
314
329
[[tool .cibuildwheel .overrides ]]
0 commit comments