We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0db53c7 commit f0ba558Copy full SHA for f0ba558
pyproject.toml
@@ -20,17 +20,18 @@ test-command = "pytest {project}/tests"
20
[tool.cibuildwheel.macos]
21
archs = ["x86_64", "universal2", "arm64"]
22
before-all = "brew install ccache"
23
+before-build = "echo CC=$CC"
24
before-test = "ccache --show-stats"
25
+environment = {CC = "/opt/homebrew/opt/ccache/libexec/cc", CFLAGS = "-g0"}
26
-[tool.cibuildwheel.macos.environment]
-CC = "/opt/homebrew/opt/ccache/libexec/cc"
27
28
[tool.cibuildwheel.linux]
29
archs = ["native"]
30
before-all = [
31
"yum install -y ccache",
32
"ln -s $(which ccache) /usr/lib64/ccache/gcc",
33
]
34
35
36
environment = {CC = "/usr/lib64/ccache/gcc", CFLAGS = "-g0"}
37
0 commit comments