From a4790e8177b7fb7b9ed38b60e813e6d813ab8181 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Tue, 14 Mar 2023 17:44:01 -0400 Subject: [PATCH 1/4] BLD: Try g0 on macos? --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 90e5292aaf913..2bb7218ca7c0a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -143,7 +143,7 @@ parentdir_prefix = "pandas-" [tool.cibuildwheel] skip = "cp36-* cp37-* pp37-* *-manylinux_i686 *_ppc64le *_s390x *-musllinux*" build-verbosity = "3" -environment = { LDFLAGS="-Wl,--strip-all" } +environment = { CFLAGS="$CFLAGS:-g0", LDFLAGS="-Wl,--strip-all" } test-requires = "hypothesis>=6.34.2 pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-asyncio>=0.17" test-command = "python {project}/ci/test_wheels.py" From 3cc5fa4678a064a587bc74c0093a0c14f0dfe35a Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Tue, 14 Mar 2023 18:01:20 -0400 Subject: [PATCH 2/4] try just g0 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2bb7218ca7c0a..f96d0cc163be2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -143,7 +143,7 @@ parentdir_prefix = "pandas-" [tool.cibuildwheel] skip = "cp36-* cp37-* pp37-* *-manylinux_i686 *_ppc64le *_s390x *-musllinux*" build-verbosity = "3" -environment = { CFLAGS="$CFLAGS:-g0", LDFLAGS="-Wl,--strip-all" } +environment = { CFLAGS="-g0", LDFLAGS="-Wl,--strip-all" } test-requires = "hypothesis>=6.34.2 pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-asyncio>=0.17" test-command = "python {project}/ci/test_wheels.py" From fe19aa74a41c00a3bc2b1a1fdc67f18fe8da2713 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Tue, 14 Mar 2023 20:04:47 -0400 Subject: [PATCH 3/4] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f96d0cc163be2..addb681f260e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -143,7 +143,7 @@ parentdir_prefix = "pandas-" [tool.cibuildwheel] skip = "cp36-* cp37-* pp37-* *-manylinux_i686 *_ppc64le *_s390x *-musllinux*" build-verbosity = "3" -environment = { CFLAGS="-g0", LDFLAGS="-Wl,--strip-all" } +environment = { CFLAGS="'-g0'", LDFLAGS="-Wl,--strip-all" } test-requires = "hypothesis>=6.34.2 pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-asyncio>=0.17" test-command = "python {project}/ci/test_wheels.py" From 7c2a5d8f1e1cdfd1fc5c994765182fe561b6e922 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Tue, 14 Mar 2023 22:17:59 -0400 Subject: [PATCH 4/4] Update pyproject.toml --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index addb681f260e6..d5e72c55afe46 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -143,7 +143,7 @@ parentdir_prefix = "pandas-" [tool.cibuildwheel] skip = "cp36-* cp37-* pp37-* *-manylinux_i686 *_ppc64le *_s390x *-musllinux*" build-verbosity = "3" -environment = { CFLAGS="'-g0'", LDFLAGS="-Wl,--strip-all" } +environment = {LDFLAGS="-Wl,--strip-all" } test-requires = "hypothesis>=6.34.2 pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-asyncio>=0.17" test-command = "python {project}/ci/test_wheels.py" @@ -166,7 +166,7 @@ test-command = "" # macOS doesn't support stripping wheels with linker # https://github.com/MacPython/numpy-wheels/pull/87#issuecomment-624878264 select = "*-macosx*" -environment = "" +environment = {CFLAGS="-g0"} [[tool.cibuildwheel.overrides]] select = "*-win32"