From 1dd0768c17cad5102c143d2c62c519f0d272e938 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Mon, 4 Nov 2024 21:12:52 -0500 Subject: [PATCH] SPIRV-Cross is no longer needed for Apple targets --- build-fnalibs-apple.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/build-fnalibs-apple.sh b/build-fnalibs-apple.sh index 26a2d91..4292354 100755 --- a/build-fnalibs-apple.sh +++ b/build-fnalibs-apple.sh @@ -25,11 +25,6 @@ gh -R FNA-XNA/Theorafile run download ${workflow_id} -p 'Theorafile-osx' gh -R FNA-XNA/Theorafile run download ${workflow_id} -p 'Theorafile-iphoneos' gh -R FNA-XNA/Theorafile run download ${workflow_id} -p 'Theorafile-appletvos' -workflow_id=$(gh -R KhronosGroup/SPIRV-Cross run list -b main --json databaseId --jq '.[0].databaseId') -gh -R KhronosGroup/SPIRV-Cross run download ${workflow_id} -p 'macos-latest-binaries' -gh -R KhronosGroup/SPIRV-Cross run download ${workflow_id} -p 'appletvos-binaries' -gh -R KhronosGroup/SPIRV-Cross run download ${workflow_id} -p 'iphoneos-binaries' - mkdir -p fnalibs-apple cp fnalibs-apple.README fnalibs-apple/README.txt @@ -41,7 +36,6 @@ hdiutil detach /Volumes/SDL3\ 3.$SDL_MINOR_VERSION.$SDL_PATCH_VERSION mv FAudio-SDL3-osx/libFAudio.0.dylib fnalibs-apple/osx/ mv FNA3D-SDL3-osx/libFNA3D.0.dylib fnalibs-apple/osx/ mv Theorafile-osx/libtheorafile.dylib fnalibs-apple/osx/ -mv macos-latest-binaries/lib/libspirv-cross-c-shared.0.dylib fnalibs-apple/osx/ xattr -c fnalibs-apple/osx/*.dylib mkdir -p fnalibs-apple/iphoneos @@ -51,7 +45,6 @@ mv FAudio-SDL3-iphoneos/libFAudio.a fnalibs-apple/iphoneos/ mv FNA3D-SDL3-iphoneos/libFNA3D.a fnalibs-apple/iphoneos/ mv FNA3D-SDL3-iphoneos/libmojoshader.a fnalibs-apple/iphoneos/ mv Theorafile-iphoneos/libtheorafile.a fnalibs-apple/iphoneos/ -# TODO: Which libspirv-cross libraries do we need? mkdir -p fnalibs-apple/appletvos tar xvfz SDL-tvos-arm64/dist/SDL3-3.$SDL_MINOR_VERSION.$SDL_PATCH_VERSION-tvOS.tar.gz SDL3-3.$SDL_MINOR_VERSION.$SDL_PATCH_VERSION-tvOS/lib/libSDL3.a @@ -60,4 +53,3 @@ mv FAudio-SDL3-appletvos/libFAudio.a fnalibs-apple/appletvos/ mv FNA3D-SDL3-appletvos/libFNA3D.a fnalibs-apple/appletvos/ mv FNA3D-SDL3-appletvos/libmojoshader.a fnalibs-apple/appletvos/ mv Theorafile-appletvos/libtheorafile.a fnalibs-apple/appletvos/ -# TODO: Which libspirv-cross libraries do we need?