Skip to content

Commit 9e1339d

Browse files
committed
Use xcode 15.4 and dynamic_list for macos-x86_64 build
1 parent 9e2960d commit 9e1339d

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/posix.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
- { os: ubuntu-latest, PLAT: x86_64, INTERFACE64: '0', MB_ML_VER: '2014', MB_ML_LIBC: manylinux}
2929
- { os: ubuntu-latest, PLAT: x86_64, INTERFACE64: '1', MB_ML_VER: '2014', MB_ML_LIBC: manylinux}
3030

31-
- { os: macos-15-intel, PLAT: x86_64, INTERFACE64: '0', MB_ML_LIBC: macosx}
32-
- { os: macos-15-intel, PLAT: x86_64, INTERFACE64: '1', MB_ML_LIBC: macosx}
31+
- { os: macos-14, PLAT: x86_64, INTERFACE64: '0', MB_ML_LIBC: macosx}
32+
- { os: macos-14, PLAT: x86_64, INTERFACE64: '1', MB_ML_LIBC: macosx}
3333

3434
- { os: macos-latest, PLAT: arm64, INTERFACE64: '0', MB_ML_LIBC: macosx}
3535
- { os: macos-latest, PLAT: arm64, INTERFACE64: '1', MB_ML_LIBC: macosx}
@@ -58,11 +58,18 @@ jobs:
5858
submodules: recursive
5959
fetch-depth: 0
6060

61-
- uses: maxim-lobanov/setup-xcode@v1.6.0
62-
if: ${{ contains(matrix.os, 'macos') }}
61+
- uses: maxim-lobanov/setup-xcode@v1.6.0
62+
if: ${{ matrix.os == 'macos-latest' }}
6363
with:
6464
xcode-version: '16.0'
6565

66+
- uses: maxim-lobanov/setup-xcode@v1.6.0
67+
if: ${{ matrix.os == 'macos-14' }}
68+
with:
69+
xcode-version: '15.4'
70+
71+
72+
6673
- name: Print some Environment variable
6774
run: |
6875
echo "PLAT: ${PLAT}"

tools/build_steps.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ EOF
161161
export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH
162162
CFLAGS="$CFLAGS -arch x86_64"
163163
export SDKROOT=${SDKROOT:-$(xcrun --show-sdk-path)}
164+
local dynamic_list="CORE2 NEHALEM SANDYBRIDGE HASWELL SKYLAKEX"
164165
;;
165166
*-i686)
166167
local bitness=32

0 commit comments

Comments
 (0)