Import rpm: b877b92c34d170bb3d9f7fe1815bcff2299feaf3
This commit is contained in:
parent
03444194ab
commit
0652def572
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
SOURCES/clang-13.0.1.src.tar.xz
|
||||
SOURCES/llvm-13.0.1.src.tar.xz
|
||||
SOURCES/clang-14.0.6.src.tar.xz
|
||||
SOURCES/llvm-14.0.6.src.tar.xz
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
%global maj_ver 13
|
||||
%global maj_ver 14
|
||||
%global min_ver 0
|
||||
%global patch_ver 1
|
||||
%global baserelease 2
|
||||
%global patch_ver 6
|
||||
%global baserelease 1
|
||||
|
||||
# Limit build jobs on ppc64 systems to avoid running out of memory.
|
||||
%global _smp_mflags -j8
|
||||
@ -9,6 +9,12 @@
|
||||
%global install_prefix %{_libdir}/llvm%{maj_ver}
|
||||
%global pkg_libdir %{install_prefix}/lib/
|
||||
|
||||
# Disable debuginfo on ppc64le to reduce disk space usage.
|
||||
%ifarch ppc64le
|
||||
%global _find_debuginfo_dwz_opts %{nil}
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
Name: llvm-compat
|
||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
|
||||
Release: %{baserelease}%{?dist}
|
||||
@ -84,7 +90,11 @@ pushd llvm-build
|
||||
# force off shared libs as cmake macros turns it on.
|
||||
%cmake ../llvm-%{version}.src -G Ninja \
|
||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||
%ifarch ppc64le
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
%else
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
%endif
|
||||
%ifarch s390 %ix86
|
||||
-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
||||
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
||||
@ -99,6 +109,7 @@ pushd llvm-build
|
||||
-DLLVM_DYLIB_EXPORT_ALL:BOOL=ON \
|
||||
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
||||
-DLLVM_INCLUDE_TESTS=OFF \
|
||||
-DLLVM_INCLUDE_BENCHMARKS=OFF \
|
||||
-DCMAKE_INSTALL_PREFIX=%{install_prefix}
|
||||
|
||||
|
||||
@ -144,7 +155,7 @@ cd ..
|
||||
DESTDIR=%{buildroot} %__ninja %__ninja_common_opts -l 8 install-LLVM -C llvm-build
|
||||
|
||||
mkdir -p %{buildroot}%{pkg_libdir}
|
||||
install clang-build/lib/*.so.%{maj_ver} %{buildroot}%{pkg_libdir}
|
||||
install clang-build/lib/*.so.* %{buildroot}%{pkg_libdir}
|
||||
|
||||
# Create ld.so.conf.d entry
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||
@ -162,12 +173,15 @@ EOF
|
||||
%files libs
|
||||
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
%{pkg_libdir}/libLLVM-%{maj_ver}.so
|
||||
%{pkg_libdir}/libclang*.so.%{maj_ver}
|
||||
%{pkg_libdir}/libclang*.so.*
|
||||
%ifnarch %ix86
|
||||
%{pkg_libdir}/libclang-cpp*.so.%{maj_ver}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Oct 18 2022 Tom Stellard <tstellar@redhat.com> - 14.0.6-1
|
||||
- 14.0.6 Release
|
||||
|
||||
* Thu Apr 07 2022 Timm Bäder <tbaeder@redhat.com> - 13.0.1-1
|
||||
- Update to 13.0.1
|
||||
|
||||
|
||||
4
sources
4
sources
@ -1,2 +1,2 @@
|
||||
SHA512 (clang-13.0.1.src.tar.xz) = 10abb601ce33ec0ec1e966221d958dd6206cfd5b178f8af0850408ed6adf2a9e193afb87a6449d65bb636e70a4debc3818035ab7bfcddf35a54a603851779d57
|
||||
SHA512 (llvm-13.0.1.src.tar.xz) = 05fbe8708ac3d0dfef3a9135ee88185a95ed492095429a97d33b8aadb0187e59ad42d1a7184f02b5c84fdd31f3d7227c65bd292ed0aa039b29522e59cf90a965
|
||||
SHA1 (clang-14.0.6.src.tar.xz) = 88442d295bc0b96df7cf3d526ed9eabd7a214ac2
|
||||
SHA1 (llvm-14.0.6.src.tar.xz) = 975020d4f7164d84a89f0f9b2153dd870d06e02d
|
||||
|
||||
Loading…
Reference in New Issue
Block a user