1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Subject: Pass args to cmake & set build-dir inside the source tree
'build-dir' defaults to a random unique directory under /tmp,
this breaks reproducible builds
From: Sébastien Noel <sebastien@twolife.be>
Forwarded: not-needed
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -80,6 +80,8 @@
sdist.include = ["ext"]
wheel.packages = ["src/asammdf"]
wheel.py-api = "cp310"
+cmake.args = [ "-DWITH_SYSTEM_DEFLATE=ON", "-DCMAKE_VERBOSE_MAKEFILE=ON" ]
+build-dir = "./cmake-build"
[tool.coverage]
run.relative_files = true
|