Skip to content

Commit 8ad4228

Browse files
committed
Add experimental repair.wheel option
Signed-off-by: Cristian Le <[email protected]>
1 parent 6213948 commit 8ad4228

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
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"
@@ -329,7 +332,7 @@ strict-config = true
329332
experimental = false
330333

331334
# If set, this will provide a method for backward compatibility.
332-
minimum-version = "0.10" # current version
335+
minimum-version = "0.11" # current version
333336

334337
# The build directory. Defaults to a temporary directory, but can be set.
335338
build-dir = ""

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)