Compare commits
1 Commits
rawhide
...
f40-riscv6
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | 1130b11449 |
11
llvm17.spec
11
llvm17.spec
|
@ -24,7 +24,7 @@
|
||||||
%bcond_without compat_build
|
%bcond_without compat_build
|
||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
|
||||||
%ifarch %ix86
|
%ifarch %ix86 riscv64
|
||||||
# Disable LTO on x86 in order to reduce memory consumption
|
# Disable LTO on x86 in order to reduce memory consumption
|
||||||
%bcond_with lto_build
|
%bcond_with lto_build
|
||||||
%elif %{with snapshot_build}
|
%elif %{with snapshot_build}
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
|
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
|
||||||
Release: 7%{?dist}
|
Release: 7.0.riscv64%{?dist}
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
||||||
|
@ -263,7 +263,7 @@ mv %{third_party_srcdir} third-party
|
||||||
%global _lto_cflags %nil
|
%global _lto_cflags %nil
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch s390 s390x %ix86
|
%ifarch s390 s390x %ix86 riscv64
|
||||||
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
|
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
|
||||||
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
||||||
%endif
|
%endif
|
||||||
|
@ -278,7 +278,7 @@ export ASMFLAGS="%{build_cflags}"
|
||||||
-DLLVM_PARALLEL_LINK_JOBS=1 \
|
-DLLVM_PARALLEL_LINK_JOBS=1 \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||||
%ifarch s390 %ix86
|
%ifarch s390 %ix86 riscv64
|
||||||
-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
||||||
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
||||||
%endif
|
%endif
|
||||||
|
@ -586,6 +586,9 @@ fi
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 27 2024 David Abdurachmanov <davidlt@rivosinc.com> - 17.0.6-7.0.riscv64
|
||||||
|
- Add support for riscv64
|
||||||
|
|
||||||
* Fri Mar 01 2024 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.6-7
|
* Fri Mar 01 2024 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.6-7
|
||||||
- Force ldconfig execution in compat packages. Fixes rhbz#2001328.
|
- Force ldconfig execution in compat packages. Fixes rhbz#2001328.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue