Skip to content

Commit 9712e0e

Browse files
committed
Add experimental repair.wheel option
Signed-off-by: Cristian Le <git@lecris.dev>
1 parent bc61c5b commit 9712e0e

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,9 @@ wheel.exclude = []
257257
# The build tag to use for the wheel. If empty, no build tag is used.
258258
wheel.build-tag = ""
259259

260+
# EXPERIMENTAL: Do automatic repairs of the compiled binaries and libraries.
261+
wheel.repair = false
262+
260263
# If CMake is less than this value, backport a copy of FindPython. Set to 0
261264
# disable this, or the empty string.
262265
backport.find-python = "3.26.1"

src/scikit_build_core/resources/scikit-build.schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@
239239
"type": "string",
240240
"default": "",
241241
"description": "The build tag to use for the wheel. If empty, no build tag is used."
242+
},
243+
"repair": {
244+
"type": "boolean",
245+
"default": false,
246+
"description": "EXPERIMENTAL: Do automatic repairs of the compiled binaries and libraries."
242247
}
243248
}
244249
},

src/scikit_build_core/settings/skbuild_model.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@ class WheelSettings:
239239
The build tag to use for the wheel. If empty, no build tag is used.
240240
"""
241241

242+
repair: bool = False
243+
"""
244+
EXPERIMENTAL: Do automatic repairs of the compiled binaries and libraries.
245+
"""
246+
242247

243248
@dataclasses.dataclass
244249
class BackportSettings:

0 commit comments

Comments
 (0)