File tree 2 files changed +22
-2
lines changed
2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ pipx run build
16
16
```` {tab} uv
17
17
18
18
```bash
19
- uvx --from build pyproject-build --installer=uv
19
+ uv build
20
20
```
21
21
22
22
````
Original file line number Diff line number Diff line change 2
2
3
3
## macOS
4
4
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
+
5
17
### Intel to AppleSilicon
6
18
7
19
On macOS, AppleClang has excellent support for making Apple Silicon and
8
20
Universal2 binaries (both architectures in one binary). Scikit-build-core
9
21
respects ` 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.
11
24
12
25
:::{warning}
13
26
@@ -19,6 +32,13 @@ Universal2.
19
32
20
33
:::
21
34
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
+
22
42
## Windows
23
43
24
44
### Intel to ARM
You can’t perform that action at this time.
0 commit comments