Enable riscv64
See:
c1b6a92854
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
d27ec71c29
commit
49328c0eaa
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
Name: llvm-bolt
|
Name: llvm-bolt
|
||||||
Version: %{bolt_version}%{?rc_ver:~rc%{rc_ver}}
|
Version: %{bolt_version}%{?rc_ver:~rc%{rc_ver}}
|
||||||
Release: 1%{?dist}
|
Release: 1.0.riscv64%{?dist}
|
||||||
Summary: a post-link optimizer developed to speed up large applications
|
Summary: a post-link optimizer developed to speed up large applications
|
||||||
|
|
||||||
License: Apache-2.0 WITH LLVM-exception
|
License: Apache-2.0 WITH LLVM-exception
|
||||||
@ -92,7 +92,7 @@ Documentation for the BOLT optimizer
|
|||||||
-DBOLT_LLD_EXE=%{_bindir}/ld.lld\
|
-DBOLT_LLD_EXE=%{_bindir}/ld.lld\
|
||||||
-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
|
-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
|
||||||
-DLLVM_ENABLE_PROJECTS="bolt" \
|
-DLLVM_ENABLE_PROJECTS="bolt" \
|
||||||
-DLLVM_TARGETS_TO_BUILD="X86;AArch64"
|
-DLLVM_TARGETS_TO_BUILD="X86;AArch64;RISCV"
|
||||||
|
|
||||||
# Set LD_LIBRARY_PATH now because we skip rpath generation and the build uses
|
# Set LD_LIBRARY_PATH now because we skip rpath generation and the build uses
|
||||||
# some just built libraries.
|
# some just built libraries.
|
||||||
@ -152,9 +152,10 @@ rm -f %{buildroot}/%{_builddir}/%{bolt_srcdir}/%{_vpath_builddir}/%{_lib}/lib*.a
|
|||||||
%{_bindir}/merge-fdata
|
%{_bindir}/merge-fdata
|
||||||
%{_bindir}/perf2bolt
|
%{_bindir}/perf2bolt
|
||||||
|
|
||||||
|
%ifnarch riscv64
|
||||||
%{_libdir}/libbolt_rt_hugify.a
|
%{_libdir}/libbolt_rt_hugify.a
|
||||||
%{_libdir}/libbolt_rt_instr.a
|
%{_libdir}/libbolt_rt_instr.a
|
||||||
|
%endif
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%doc %{_pkgdocdir}
|
%doc %{_pkgdocdir}
|
||||||
|
Loading…
Reference in New Issue
Block a user