Skip to content

Commit f0ba558

Browse files
committed
More
1 parent 0db53c7 commit f0ba558

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,18 @@ test-command = "pytest {project}/tests"
2020
[tool.cibuildwheel.macos]
2121
archs = ["x86_64", "universal2", "arm64"]
2222
before-all = "brew install ccache"
23+
before-build = "echo CC=$CC"
2324
before-test = "ccache --show-stats"
25+
environment = {CC = "/opt/homebrew/opt/ccache/libexec/cc", CFLAGS = "-g0"}
2426

25-
[tool.cibuildwheel.macos.environment]
26-
CC = "/opt/homebrew/opt/ccache/libexec/cc"
2727

2828
[tool.cibuildwheel.linux]
2929
archs = ["native"]
3030
before-all = [
3131
"yum install -y ccache",
3232
"ln -s $(which ccache) /usr/lib64/ccache/gcc",
3333
]
34+
before-build = "echo CC=$CC"
3435
before-test = "ccache --show-stats"
3536
environment = {CC = "/usr/lib64/ccache/gcc", CFLAGS = "-g0"}
3637

0 commit comments

Comments
 (0)