File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1818 name : Build wheels on ${{ matrix.os }}
1919 runs-on : ${{ matrix.os }}
2020
21+ env :
22+ CIBW_ARCHS_MACOS : ${{ matrix.os == 'macos-14' && 'arm64' || matrix.os == 'macos-13' && 'x86_64' || '' }}
23+
2124 steps :
2225 # Checkout with retry mechanism for reliability
2326 - uses : Wandalen/wretry.action@v3.8.0
Original file line number Diff line number Diff line change @@ -77,11 +77,11 @@ test-command = "python -c \"import nanogui\""
7777archs = [" auto64" ]
7878manylinux-x86_64-image = " manylinux2014"
7979manylinux-aarch64-image = " manylinux2014"
80- before-build = " yum install -y mesa-libGLU-devel libXi-devel libXcursor-devel libXinerama-devel libXrandr-devel xorg-x11-server-devel libxkbcommon-devel wayland-devel dbus-devel"
80+ before-build = " yum install -y mesa-libGLU-devel libXi-devel libXcursor-devel libXinerama-devel libXrandr-devel xorg-x11-server-devel libxkbcommon-devel wayland-devel dbus-devel kernel-headers"
81+ environment = { CFLAGS =" -D_GNU_SOURCE" , CXXFLAGS =" -D_GNU_SOURCE" }
8182
8283[tool .cibuildwheel .windows ]
8384archs = [" auto64" ]
8485
8586[tool .cibuildwheel .macos ]
86- archs = [" x86_64" , " arm64" ]
8787environment = { MACOSX_DEPLOYMENT_TARGET = " 11.0" }
You can’t perform that action at this time.
0 commit comments