Skip to content

Commit

Permalink
[toolchain,apps] Bump LLVM to v18.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-17 committed May 31, 2024
1 parent 3ff7360 commit 17c11fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ toolchain-llvm-rt: Makefile toolchain-llvm-main toolchain-llvm-newlib
-DLLVM_CONFIG_PATH=$(LLVM_INSTALL_DIR)/bin/llvm-config
cd $(ROOT_DIR)/toolchain/riscv-llvm/compiler-rt && \
$(CMAKE) --build build --target install && \
ln -s $(LLVM_INSTALL_DIR)/lib/linux $(LLVM_INSTALL_DIR)/lib/clang/16/lib
ln -s $(LLVM_INSTALL_DIR)/lib/linux $(LLVM_INSTALL_DIR)/lib/clang/18/lib

# Spike
.PHONY: riscv-isa-sim riscv-isa-sim-mod
Expand Down
2 changes: 1 addition & 1 deletion apps/common/runtime.mk
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ DEFINES += $(ENV_DEFINES) $(MAKE_DEFINES)
RISCV_WARNINGS += -Wunused-variable -Wall -Wextra -Wno-unused-command-line-argument # -Werror

# LLVM Flags
LLVM_FLAGS ?= -march=rv64gcv_zfh_zvfh0p1 -menable-experimental-extensions -mabi=$(RISCV_ABI) -mno-relax -fuse-ld=lld
LLVM_FLAGS ?= -march=rv64gcv_zfh -mabi=$(RISCV_ABI) -mno-relax -fuse-ld=lld
LLVM_V_FLAGS ?= -fno-vectorize -mllvm -scalable-vectorization=off -mllvm -riscv-v-vector-bits-min=0 -Xclang -target-feature -Xclang +no-optimized-zero-stride-load
RISCV_FLAGS ?= $(LLVM_FLAGS) $(LLVM_V_FLAGS) -mcmodel=medany -I$(CURDIR)/common -std=gnu99 -O3 -ffast-math -fno-common -fno-builtin-printf $(DEFINES) $(RISCV_WARNINGS)
RISCV_CCFLAGS ?= $(RISCV_FLAGS) -ffunction-sections -fdata-sections
Expand Down

0 comments on commit 17c11fc

Please sign in to comment.