Skip to content

Commit

Permalink
export CMAKE_SYSTEM_PROCESSOR for cross compilation builds (shader-sl…
Browse files Browse the repository at this point in the history
  • Loading branch information
skallweitNV authored Sep 27, 2024
1 parent 4730d54 commit 70925fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,13 @@ jobs:
export CC=aarch64-linux-gnu-gcc
export CXX=aarch64-linux-gnu-g++
fi
CMAKE_SYSTEM_PROCESSOR="${{matrix.platform}}"
CMAKE_OSX_ARCHITECTURES="${{matrix.platform}}"
CMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES//aarch64/arm64}
echo "CC=$CC" >> "$GITHUB_ENV"
echo "CXX=$CXX" >> "$GITHUB_ENV"
echo "CMAKE_SYSTEM_PROCESSOR=$CMAKE_SYSTEM_PROCESSOR" >> "$GITHUB_ENV"
echo "CMAKE_OSX_ARCHITECTURES=$CMAKE_OSX_ARCHITECTURES" >> "$GITHUB_ENV"
- name: Build Slang
Expand Down

0 comments on commit 70925fe

Please sign in to comment.