Skip to content

Commit 610dda1

Browse files
authored
Use gcc/g++ 14 instead of default in crossbuild-essentials
1 parent 5ad6133 commit 610dda1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build-linux-cross.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ jobs:
5757
sudo apt-get install -y --no-install-recommends \
5858
build-essential \
5959
glslc \
60-
crossbuild-essential-riscv64 \
60+
gcc-14-riscv64-linux-gnu \
61+
g++-14-riscv64-linux-gnu \
6162
libvulkan-dev:riscv64
6263
6364
- name: Build
@@ -69,8 +70,8 @@ jobs:
6970
-DLLAMA_BUILD_TESTS=OFF \
7071
-DCMAKE_SYSTEM_NAME=Linux \
7172
-DCMAKE_SYSTEM_PROCESSOR=riscv64 \
72-
-DCMAKE_C_COMPILER=riscv64-linux-gnu-gcc \
73-
-DCMAKE_CXX_COMPILER=riscv64-linux-gnu-g++ \
73+
-DCMAKE_C_COMPILER=riscv64-linux-gnu-gcc-14 \
74+
-DCMAKE_CXX_COMPILER=riscv64-linux-gnu-g++-14 \
7475
-DCMAKE_C_FLAGS_INIT='-fPIC' \
7576
-DCMAKE_CXX_FLAGS_INIT='-fPIC' \
7677
-DCMAKE_FIND_ROOT_PATH=/usr/lib/riscv64-linux-gnu \

0 commit comments

Comments
 (0)