Open
Description
when I use llvm from PLTC (https://github.com/plctlab/llvm-project) compile the RVV benchmark(https://github.com/RALC88/riscv-vectorized-benchmark-suite/tree/rvv-1.0)
it can't find argument '-mepi'.
My steps are as follows:
- compile and install the llvm
export RISCV=~/opt/riscv-vector
git clone https://github.com/plctlab/llvm-project.git
cd llvm-project-rvv-iscas
mkdir build
cd build
cmake -G "Unix Makefiles"
-DLLVM_TARGETS_TO_BUILD="RISCV"
-DCMAKE_INSTALL_PREFIX=$RISCV
-DCMAKE_BUILD_TYPE=Release
-DLLVM_USE_LINKER=gold
-DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;lld" ../llvm
make -j12
make install - compile the rvv benchmark
git clone https://github.com/RALC88/riscv-vectorized-benchmark-suite.git
cd riscv-vectorized-benchmark-suite
export LLVM=/opt/riscv-vector/opt/riscv-vector/bin
export PATH=$PATH:
make all
clang-12: error: unknown argument: '-mepi'
Metadata
Metadata
Assignees
Labels
No labels