Move RISCV to experimental targets

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-08-12 09:09:51 +03:00
parent 50161d2f3c
commit c6efc8ed9c
Signed by: davidlt
GPG Key ID: 7108702C938B13C1

View File

@ -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 \