From 297165d1eec6880c4947c612dfde36c74fddd368 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 3 Dec 2024 12:36:53 +1000 Subject: [PATCH] Deps: Fix MacOS build --- .github/workflows/macos-build.yml | 4 ++-- scripts/deps/build-dependencies-mac.sh | 20 +++++++++++++------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml index af08b3dbc..652438d69 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos-build.yml @@ -14,8 +14,8 @@ jobs: with: fetch-depth: 0 - - name: Use Xcode 15.4 - run: sudo xcode-select -s /Applications/Xcode_15.4.app + - name: Use Xcode 16.1 + run: sudo xcode-select -s /Applications/Xcode_16.1.app - name: Install packages shell: bash diff --git a/scripts/deps/build-dependencies-mac.sh b/scripts/deps/build-dependencies-mac.sh index 235af3248..246fdbcbc 100755 --- a/scripts/deps/build-dependencies-mac.sh +++ b/scripts/deps/build-dependencies-mac.sh @@ -44,7 +44,7 @@ LIBPNG=1.6.44 LIBJPEGTURBO=3.0.4 LIBWEBP=1.4.0 LIBZIP=1.11.2 -FFMPEG=7.0.2 +FFMPEG=7.1 MOLTENVK=1.2.9 QT=6.8.1 @@ -73,6 +73,12 @@ CMAKE_ARCH_X64=-DCMAKE_OSX_ARCHITECTURES="x86_64" CMAKE_ARCH_ARM64=-DCMAKE_OSX_ARCHITECTURES="arm64" CMAKE_ARCH_UNIVERSAL=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" +# SBOM generation appears to be broken on MacOS, and I can't be arsed to debug it. +CMAKE_COMMON_QT=( + -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" + -DQT_GENERATE_SBOM=OFF +) + cat > SHASUMS <