mirror of
https://github.com/openmv/openmv.git
synced 2025-09-26 23:09:13 +08:00
github/workflows: Fix LLVM path.
This commit is contained in:
parent
00e4f8e161
commit
83804c9444
@ -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
|
||||
|
@ -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}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user