Skip to content

Commit

Permalink
[rpi] Try to use custom sysroot toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier authored Jun 22, 2024
1 parent 41e01c7 commit 68fb513
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/embedded.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:

- name: Prepare Sysroot
id: pi-sysroot
uses: mariotaku/raspbian-sysroot-action@main
uses: jcelerier/raspbian-sysroot-action@main
with:
# Can be space separated, multiline list or a file
release: "bookworm"
Expand Down Expand Up @@ -166,21 +166,15 @@ jobs:
run: |
mkdir -p build || true
mkdir -p install || true
export CC=clang-15
export CXX=clang++-15
cmake -S $PWD -B build \
-GNinja \
-DCMAKE_C_COMPILER=clang-15 \
-DCMAKE_CXX_COMPILER=clang++-15 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$PWD/install \
-DCMAKE_UNITY_BUILD=1 \
-DSCORE_DEPLOYMENT_BUILD=1 \
-DOSSIA_ENABLE_KFR=1 \
-DSCORE_DISABLED_PLUGINS="score-plugin-jit" \
-DSCORE_LINKER_SCRIPT="$PWD/cmake/Deployment/Linux/AppImage/version" \
-DCMAKE_C_FLAGS="-Ofast -march=armv8-a -mfpu=neon-fp-armv8 -mcpu=cortex-a53" \
-DCMAKE_CXX_FLAGS="-Ofast -march=armv8-a -mfpu=neon-fp-armv8 -mcpu=cortex-a53" \
-DCMAKE_TOOLCHAIN_FILE=${{steps.pi-sysroot.outputs.cmake-toolchain}}
cmake --build build
Expand Down

0 comments on commit 68fb513

Please sign in to comment.