8000 Merge pull request #25439 from rgommers/clean-wheel-cflags · numpy/numpy@4dde4c0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4dde4c0

Browse files
authored
Merge pull request #25439 from rgommers/clean-wheel-cflags
BLD: remove `-fno-strict-aliasing`, `--strip-debug` from cibuildwheel config
2 parents a1fbdd9 + 1d01aae commit 4dde4c0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ test-command = "bash {project}/tools/wheels/cibw_test_command.sh {project}"
156156
manylinux-x86_64-image = "manylinux2014"
157157
manylinux-aarch64-image = "manylinux2014"
158158
musllinux-x86_64-image = "musllinux_1_1"
159-
environment = {CFLAGS="-fno-strict-aliasing", LDFLAGS="-Wl,--strip-debug", RUNNER_OS="Linux"}
159+
environment = {RUNNER_OS="Linux"}
160160

161161
[tool.cibuildwheel.macos]
162162
# For universal2 wheels, we will need to fuse them manually
@@ -166,8 +166,7 @@ environment = {CFLAGS="-fno-strict-aliasing", LDFLAGS="-Wl,--strip-debug", RUNNE
166166
# for more info
167167
archs = "x86_64 arm64"
168168
test-skip = "*_universal2:arm64"
169-
# MACOS linker doesn't support stripping symbols.
170-
environment = {CFLAGS="-fno-strict-aliasing", RUNNER_OS="macOS"}
169+
environment = {RUNNER_OS="macOS"}
171170

172171
[tool.cibuildwheel.windows]
173172
environment = {PKG_CONFIG_PATH="C:/opt/64/lib/pkgconfig"}

0 commit comments

Comments
 (0)
0