Enable riscv64
Signed-off-by: Jason Montleon <jmontleo@redhat.com>
This commit is contained in:
parent
57b5b1d0a3
commit
d287a51d64
@ -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: 2%{?dist}
|
Release: 2.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.
|
||||||
@ -130,6 +130,15 @@ fi
|
|||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Failing test cases on riscv64
|
||||||
|
%ifarch riscv64
|
||||||
|
rm bolt/test/cache+-deprecated.test \
|
||||||
|
bolt/test/bolt-icf.test \
|
||||||
|
bolt/test/max-funcs.test \
|
||||||
|
bolt/test/runtime/plt-gnu-ld.test \
|
||||||
|
bolt/test/runtime/mark-funcs.c
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
# Failing x86_64 test
|
# Failing x86_64 test
|
||||||
rm bolt/test/X86/internal-call-instrument.s
|
rm bolt/test/X86/internal-call-instrument.s
|
||||||
@ -159,6 +168,9 @@ rm -f %{buildroot}/%{_builddir}/%{bolt_srcdir}/%{_vpath_builddir}/%{_lib}/lib*.a
|
|||||||
%doc %{_pkgdocdir}
|
%doc %{_pkgdocdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 24 2024 Jason Montleon <jmontleo@redhat.com> - 18.1.8-2.0.riscv64
|
||||||
|
+- Add riscv64
|
||||||
|
|
||||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.8-2
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.8-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user