Skip to content

Commit

Permalink
tc-llvm: Compile LLVM with a generic gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
suehtamacv committed Oct 24, 2023
1 parent 13ad800 commit ce49bd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ tc-llvm: sw/toolchain/llvm-project
cd sw/toolchain/llvm-project && mkdir -p build && cd build; \
$(CMAKE) \
-DCMAKE_INSTALL_PREFIX=$(LLVM_INSTALL_DIR) \
-DCMAKE_CXX_COMPILER=g++-8.2.0 \
-DCMAKE_C_COMPILER=gcc-8.2.0 \
-DCMAKE_CXX_COMPILER=${CXX} \
-DCMAKE_C_COMPILER=${CC} \
-DLLVM_OPTIMIZED_TABLEGEN=True \
-DLLVM_ENABLE_PROJECTS="clang;lld" \
-DLLVM_TARGETS_TO_BUILD="RISCV" \
Expand Down

0 comments on commit ce49bd5

Please sign in to comment.