Skip to content

Commit

Permalink
Update Spirv-cross package in order to address some cross compilation…
Browse files Browse the repository at this point in the history
… bugs for Mac and iOS (#244)

The current version of SPIRV-Cross is throwing exceptions when trying to
compile spirv into metalSL which is addressed by the latest version.

---------

Signed-off-by: moudgils <[email protected]>
  • Loading branch information
moudgils authored Jan 31, 2024
1 parent 651d81e commit 327fb82
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions package-system/SPIRVCross/build_config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"git_url":"https://github.com/o3de/SPIRV-Cross.git",
"git_tag":"release-2021.04.29",
"git_url":"https://github.com/KhronosGroup/SPIRV-Cross.git",
"git_tag":"vulkan-sdk-1.3.275.0",
"package_name":"SPIRVCross",
"package_version":"2021.04.29-rev1",
"package_url":"https://github.com/03de/SPIRV-Cross",
"package_version":"1.3.275.0-rev1",
"package_url":"https://github.com/KhronosGroup/SPIRV-Cross",
"package_license":"Apache-2.0",
"package_license_file":"LICENSE",
"cmake_find_target":"FindSPIRVCross.cmake",
Expand All @@ -13,7 +13,7 @@
"cmake_find_template":"FindSPIRVCross.cmake.Windows",
"cmake_generate_args_debug":[
"-G",
"\"Visual Studio 16 2019\"",
"\"Visual Studio 17 2022\"",
"-A",
"x64",
"-T",
Expand All @@ -26,7 +26,7 @@
],
"cmake_generate_args_release":[
"-G",
"\"Visual Studio 16 2019\"",
"\"Visual Studio 17 2022\"",
"-A",
"x64",
"-T",
Expand Down
4 changes: 2 additions & 2 deletions package_build_list_host_darwin.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"NvCloth-v1.1.6-4-gd243404-pr58-rev1-ios": "package-system/NvCloth/build_package_image.py --platform-name ios",
"poly2tri-7f0487a-rev1-mac": "package-system/poly2tri/build_package_image.py --platform-name mac",
"v-hacd-2.3-1a49edf-rev1-mac": "package-system/v-hacd/build_package_image.py --platform-name mac",
"SPIRVCross-2021.04.29-rev1-mac": "Scripts/extras/pull_and_build_from_git.py ../../package-system/SPIRVCross --platform-name Mac --package-root ../../package-system --clean",
"SPIRVCross-1.3.275.0-rev1-mac": "Scripts/extras/pull_and_build_from_git.py ../../package-system/SPIRVCross --platform-name Mac --package-root ../../package-system --clean",
"SQLite-3.37.2-rev2-mac": "Scripts/extras/pull_and_build_from_git.py ../../package-system/sqlite --platform-name Mac --package-root ../../package-system --clean",
"squish-ccr-deb557d-rev1-mac": "Scripts/extras/pull_and_build_from_git.py ../../package-system/squish-ccr --platform-name Mac --package-root ../../package-system --clean",
"astc-encoder-3.2-rev5-mac": "Scripts/extras/pull_and_build_from_git.py ../../package-system/astc-encoder --platform-name Mac --package-root ../../package-system --clean",
Expand Down Expand Up @@ -92,7 +92,7 @@
"poly2tri-7f0487a-rev1-mac": "package-system/poly2tri-mac",
"v-hacd-2.3-1a49edf-rev1-mac": "package-system/v-hacd-mac",
"mcpp-2.7.2_az.2-rev1-mac": "package-system/mcpp-mac",
"SPIRVCross-2021.04.29-rev1-mac": "package-system/SPIRVCross-mac",
"SPIRVCross-1.3.275.0-rev1-mac": "package-system/SPIRVCross-mac",
"squish-ccr-deb557d-rev1-mac": "package-system/squish-ccr-mac",
"astc-encoder-3.2-rev5-mac": "package-system/astc-encoder-mac",
"DirectXShaderCompilerDxc-1.7.2308-o3de-rev1-mac": "package-system/DirectXShaderCompilerDxc-mac",
Expand Down
4 changes: 2 additions & 2 deletions package_build_list_host_linux-aarch64.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"python-3.10.5-rev4-linux-aarch64": "Scripts/extras/pull_and_build_from_git.py ../../package-system/python --platform-name Linux-aarch64 --clean",
"qt-5.15.2-rev9-linux-aarch64": "Scripts/extras/pull_and_build_from_git.py ../../package-system/Qt --platform-name Linux-aarch64 --clean",
"sdformat-13.5.0-rev2-linux-aarch64": "Scripts/extras/pull_and_build_from_git.py ../../package-system/sdformat --platform-name Linux-aarch64 --clean",
"SPIRVCross-2021.04.29-rev1-linux-aarch64": "Scripts/extras/pull_and_build_from_git.py ../../package-system/SPIRVCross --platform-name Linux-aarch64 --clean",
"SPIRVCross-1.3.275.0-rev1-linux-aarch64": "Scripts/extras/pull_and_build_from_git.py ../../package-system/SPIRVCross --platform-name Linux-aarch64 --clean",
"SQLite-3.37.2-rev1-linux-aarch64": "Scripts/extras/pull_and_build_from_git.py ../../package-system/sqlite --platform-name Linux-aarch64 --clean",
"squish-ccr-deb557d-rev1-linux-aarch64": "Scripts/extras/pull_and_build_from_git.py ../../package-system/squish-ccr --platform-name Linux-aarch64 --clean",
"tiff-4.2.0.15-rev3-linux-aarch64": "Scripts/extras/pull_and_build_from_git.py ../../package-system/tiff --platform-name Linux-aarch64 --clean",
Expand Down Expand Up @@ -77,7 +77,7 @@
"python-3.10.5-rev4-linux-aarch64": "package-system/python/temp/python-linux-aarch64",
"qt-5.15.2-rev9-linux-aarch64": "package-system/Qt/temp/qt-linux-aarch64",
"sdformat-13.5.0-rev2-linux-aarch64": "package-system/sdformat/temp/sdformat-linux-aarch64",
"SPIRVCross-2021.04.29-rev1-linux-aarch64": "package-system/SPIRVCross/temp/SPIRVCross-linux-aarch64",
"SPIRVCross-1.3.275.0-rev1-linux-aarch64": "package-system/SPIRVCross/temp/SPIRVCross-linux-aarch64",
"SQLite-3.37.2-rev1-linux-aarch64": "package-system/sqlite/temp/SQLite-linux-aarch64",
"squish-ccr-deb557d-rev1-linux-aarch64": "package-system/squish-ccr/temp/squish-ccr-linux-aarch64",
"tiff-4.2.0.15-rev3-linux-aarch64": "package-system/tiff/temp/tiff-linux-aarch64",
Expand Down
4 changes: 2 additions & 2 deletions package_build_list_host_linux.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"v-hacd-2.3-1a49edf-rev1-linux": "package-system/v-hacd/build_package_image.py --platform-name linux",
"sdformat-13.5.0-rev2-linux": "Scripts/extras/pull_and_build_from_git.py ../../package-system/sdformat --platform-name Linux --clean",
"sdformat-13.5.0-rev2-linux-aarch64": "Scripts/extras/pull_and_build_from_git.py ../../package-system/sdformat --platform-name Linux-aarch64 --clean",
"SPIRVCross-2021.04.29-rev1-linux": "Scripts/extras/pull_and_build_from_git.py ../../package-system/SPIRVCross --platform-name Linux --package-root ../../package-system --clean",
"SPIRVCross-1.3.275.0-rev1-linux": "Scripts/extras/pull_and_build_from_git.py ../../package-system/SPIRVCross --platform-name Linux --package-root ../../package-system --clean",
"SQLite-3.37.2-rev1-linux": "Scripts/extras/pull_and_build_from_git.py ../../package-system/sqlite --platform-name Linux --package-root ../../package-system --clean",
"squish-ccr-deb557d-rev1-linux": "Scripts/extras/pull_and_build_from_git.py ../../package-system/squish-ccr --platform-name Linux --clean",
"squish-ccr-deb557d-rev1-linux-aarch64": "Scripts/extras/pull_and_build_from_git.py ../../package-system/squish-ccr --platform-name Linux-aarch64 --clean",
Expand Down Expand Up @@ -75,7 +75,7 @@
"OpenSSL-1.1.1t-rev1-linux-aarch64": "package-system/OpenSSL/temp/OpenSSL-linux-aarch64",
"sdformat-13.5.0-rev2-linux": "package-system/sdformat/temp/sdformat-linux",
"sdformat-13.5.0-rev2-linux-aarch64": "package-system/sdformat/temp/sdformat-linux-aarch64",
"SPIRVCross-2021.04.29-rev1-linux": "package-system/SPIRVCross-linux",
"SPIRVCross-1.3.275.0-rev1-linux": "package-system/SPIRVCross-linux",
"squish-ccr-deb557d-rev1-linux": "package-system/squish-ccr/temp/squish-ccr-linux",
"squish-ccr-deb557d-rev1-linux-aarch64": "package-system/squish-ccr/temp/squish-ccr-linux-aarch64",
"astc-encoder-3.2-rev3-linux": "package-system/astc-encoder-linux",
Expand Down
4 changes: 2 additions & 2 deletions package_build_list_host_windows.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"python-3.10.5-rev1-windows": "package-system/python/build_package_image.py",
"qt-5.15.2-rev7-windows": "Scripts/extras/pull_and_build_from_git.py ../../package-system/Qt --platform-name Windows --package-root ../../package-system/Qt/temp --clean",
"RapidJSON-1.1.0-rev1-multiplatform": "Scripts/extras/pull_and_build_from_git.py ../../package-system/RapidJSON --platform-name multiplatform --package-root ../../package-system",
"SPIRVCross-2021.04.29-rev1-windows": "Scripts/extras/pull_and_build_from_git.py ../../package-system/SPIRVCross --platform-name Windows --package-root ../../package-system --clean",
"SPIRVCross-1.3.275.0-rev1-windows": "Scripts/extras/pull_and_build_from_git.py ../../package-system/SPIRVCross --platform-name Windows --package-root ../../package-system --clean",
"SQLite-3.37.2-rev1-windows": "Scripts/extras/pull_and_build_from_git.py ../../package-system/sqlite --platform-name Windows --package-root ../../package-system --clean",
"squish-ccr-deb557d-rev1-windows": "Scripts/extras/pull_and_build_from_git.py ../../package-system/squish-ccr --platform-name Windows --package-root ../../package-system --clean",
"tiff-4.2.0.15-rev3-windows": "Scripts/extras/pull_and_build_from_git.py ../../package-system/tiff --platform-name Windows --package-root ../../package-system --clean",
Expand Down Expand Up @@ -124,7 +124,7 @@
"qt-5.15.2-rev7-windows": "package-system/Qt/temp/qt-windows",
"RapidJSON-1.1.0-rev1-multiplatform": "package-system/RapidJSON-multiplatform",
"RapidXML-1.13-rev1-multiplatform": "package-system/RapidXML-multiplatform",
"SPIRVCross-2021.04.29-rev1-windows": "package-system/SPIRVCross-windows",
"SPIRVCross-1.3.275.0-rev1-windows": "package-system/SPIRVCross-windows",
"SQLite-3.37.2-rev1-windows": "package-system/SQLite-windows",
"squish-ccr-deb557d-rev1-windows": "package-system/squish-ccr-windows",
"tiff-4.2.0.15-rev3-windows": "package-system/tiff-windows",
Expand Down

0 comments on commit 327fb82

Please sign in to comment.