Move RISCV to experimental targets
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
50161d2f3c
commit
c6efc8ed9c
@ -29,7 +29,7 @@
|
|||||||
%global llvm_targets ARM;BPF
|
%global llvm_targets ARM;BPF
|
||||||
%endif
|
%endif
|
||||||
%ifarch riscv64
|
%ifarch riscv64
|
||||||
%global llvm_targets RISCV;AMDGPU;BPF
|
%global llvm_targets AMDGPU;BPF
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?compat_build}
|
%if 0%{?compat_build}
|
||||||
@ -164,6 +164,9 @@ export LDFLAGS="${LDFLAGS} -latomic %{__global_ldflags}"
|
|||||||
%endif
|
%endif
|
||||||
\
|
\
|
||||||
-DLLVM_TARGETS_TO_BUILD="%{llvm_targets}" \
|
-DLLVM_TARGETS_TO_BUILD="%{llvm_targets}" \
|
||||||
|
%ifarch riscv64
|
||||||
|
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="RISCV" \
|
||||||
|
%endif
|
||||||
-DLLVM_ENABLE_LIBCXX:BOOL=OFF \
|
-DLLVM_ENABLE_LIBCXX:BOOL=OFF \
|
||||||
-DLLVM_ENABLE_ZLIB:BOOL=ON \
|
-DLLVM_ENABLE_ZLIB:BOOL=ON \
|
||||||
-DLLVM_ENABLE_FFI:BOOL=ON \
|
-DLLVM_ENABLE_FFI:BOOL=ON \
|
||||||
|
Loading…
Reference in New Issue
Block a user