-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clang-12: error: unknown argument: '-mepi' #27
Comments
Is rvv benchmark this branch? https://github.com/RALC88/riscv-vectorized-benchmark-suite/tree/rvv-1.0 |
yes |
Bin/blacksholes_vector.exe come from the https://github.com/RALC88/riscv-vectorized-benchmark-suite/tree/rvv-0.7. You should recompile the binaries , eg: rvv-test
|
Spec: https://github.com/openhwgroup/cv32e40p/blob/2a12206f84f53d4538d3876a1da367664c70e501/docs/source/instruction_set_extensions.rst. Co-authored-by: melonedo <funanzeng@gmail.com> Co-authored-by: liaochunyu <chunyu@iscas.ac.cn>
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:
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
git clone https://github.com/RALC88/riscv-vectorized-benchmark-suite.git
cd riscv-vectorized-benchmark-suite
export LLVM=
/opt/riscv-vector/opt/riscv-vector/binexport PATH=$PATH:
make all
clang-12: error: unknown argument: '-mepi'
The text was updated successfully, but these errors were encountered: