File: cmake.patch

package info (click to toggle)
asammdf 8.5.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,648 kB
  • sloc: python: 89,262; ansic: 2,251; makefile: 21
file content (17 lines) | stat: -rw-r--r-- 527 bytes parent folder | download
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