We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7af88f commit 6660743Copy full SHA for 6660743
.github/scripts/build-macos.sh
@@ -34,6 +34,11 @@ pip install numpy==$NUMPY_VERSION wheel delocate
34
# List installed packages
35
pip freeze
36
37
+# By default, wheels are tagged with the architecture of the Python
38
+# installation, which would produce universal2 even if only building
39
+# for x86_64. The following line overrides that behavior.
40
+export _PYTHON_HOST_PLATFORM="macosx-${MACOS_MIN_VERSION}-x86_64"
41
+
42
export CC=clang
43
export CXX=clang++
44
export CFLAGS="-arch x86_64"
0 commit comments