From baf12dd756827e7ca82a6464e710be63073c1057 Mon Sep 17 00:00:00 2001 From: richard Date: Sun, 21 Aug 2022 01:28:41 +0100 Subject: [PATCH] change macos 12 arm64 build to fat binary --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 60ea600..5d655fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -83,7 +83,7 @@ jobs: cd raylib-c mkdir build cd build - cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release .. + cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release .. make -j2 sudo make install - name: Copy extras @@ -91,8 +91,7 @@ jobs: sudo cp physac/src/physac.h /usr/local/include/ sudo cp raygui/src/raygui.h /usr/local/include/ - # Name defaults to universal2 and it technically is, but it wont run on x86_64 because we didnt build raylib for that - # so symbols are missing. So we override name to arm64. Why don't we make a working universal2 wheel? Because + # Name defaults to universal2 and it technically is, but we override name to arm64. Why don't we make a working universal2 wheel? Because # I'd rather have a separate x86_64 that I can test, and I want it to work on 10_15 but I'm not sure a 'macosx_10_15_universal2' is valid # given that there is no SDK for universal until macosx_11_0 - name: Build raylib-python-cffi