github/workflows: Fix LLVM path.

This commit is contained in:
iabdalkader 2024-08-23 16:02:39 +03:00
parent 00e4f8e161
commit 83804c9444
2 changed files with 5 additions and 2 deletions

View File

@ -15,9 +15,12 @@ Q = @
MAKEFLAGS += --silent
endif
# Default path to LLVM toolchain.
LLVM_PATH ?=/opt/LLVM-ET-Arm-18.1.3-Linux-x86_64/bin/
# Commands
CC = $(Q)arm-none-eabi-gcc
CLANG = $(Q)clang
CLANG = $(Q)$(LLVM_PATH)/clang
CXX = $(Q)arm-none-eabi-g++
AS = $(Q)arm-none-eabi-as
LD = $(Q)arm-none-eabi-ld

View File

@ -37,7 +37,7 @@ ci_update_submodules() {
ci_build_target() {
export PATH=${GCC_TOOLCHAIN_PATH}/bin:${PATH}
make -j$(nproc) -C src/micropython/mpy-cross
make -j$(nproc) TARGET=${1} -C src
make -j$(nproc) TARGET=${1} LLVM_PATH=${LLVM_TOOLCHAIN_PATH}/bin -C src
mv src/build/bin ${1}
}