File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ pipx run build
1616```` {tab} uv
1717
1818```bash
19- uvx --from build pyproject-build --installer=uv
19+ uv build
2020```
2121
2222````
Original file line number Diff line number Diff line change 22
33## macOS
44
5+ Unlike the other platforms, macOS has the ability to target older operating
6+ systems with the ` MACOSX_DEPLOYMENT_TARGET ` variable. If that is not set, you
7+ will get a wheel optimized for the current operating system. Popular
8+ redistributable builders like cibuildwheel will set this for you.
9+
10+ :::{warning}
11+
12+ While CMake also allows you to specify this a few other ways, scikit-build-core
13+ will not know you've set this and won't get the correct wheel name.
14+
15+ :::
16+
517### Intel to AppleSilicon
618
719On macOS, AppleClang has excellent support for making Apple Silicon and
820Universal2 binaries (both architectures in one binary). Scikit-build-core
921respects ` ARCHFLAGS ` if ` CMAKE_SYSTEM_PROCESSOR ` is not in the cmake args. These
10- values are set by cibuildwheel when cross-compiling.
22+ values are set by most redistributable builders like cibuildwheel when
23+ cross-compiling.
1124
1225:::{warning}
1326
@@ -19,6 +32,13 @@ Universal2.
1932
2033:::
2134
35+ :::{warning}
36+
37+ If you manually set the arch flags in other ways besides ` ARCHFLAGS ` , or the one
38+ special case above, scikit-build-core will not get the right wheel name.
39+
40+ :::
41+
2242## Windows
2343
2444### Intel to ARM
You can’t perform that action at this time.
0 commit comments