automatic version update by autodist [release 16.0.4-1mamba;Thu May 18 2023]
This commit is contained in:
parent
e6881a36b2
commit
8e826e8d69
26
llvm.spec
26
llvm.spec
@ -1,7 +1,7 @@
|
||||
%define gccver %(gcc -dumpversion)
|
||||
%define majver %(echo %version | cut -d. -f1-2)
|
||||
Name: llvm
|
||||
Version: 15.0.7
|
||||
Version: 16.0.4
|
||||
Release: 1mamba
|
||||
Summary: The Low Level Virtual Machine
|
||||
Group: Development/Languages
|
||||
@ -11,6 +11,7 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://llvm.org/
|
||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/llvm-%{version}.src.tar.xz
|
||||
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/cmake-%{version}.src.tar.xz
|
||||
Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/third-party-%{version}.src.tar.xz
|
||||
Source6: llvm-6.0.0-llvm-config.patch
|
||||
Patch0: %{name}-3.1-llvm-config.patch
|
||||
Patch6: llvm-3.8.0-ocamldoc-install.patch
|
||||
@ -108,22 +109,23 @@ This package includes the LLVM ocaml API documentation.
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}.src -a1
|
||||
#% setup -q -n %{name}-%{version}.src -D -T
|
||||
%setup -q -c -a0 -a1 -a2
|
||||
#% setup -q -D -T
|
||||
#:<< _EOF
|
||||
mv cmake-%{version}.src cmake
|
||||
mv third-party-%{version}.src third-party
|
||||
|
||||
mv llvm-%{version}.src llvm
|
||||
cd llvm
|
||||
%patch 6 -p1
|
||||
|
||||
cp -a cmake-%{version}.src/Modules/* cmake/modules/
|
||||
|
||||
# https://bugs.llvm.org/show_bug.cgi?id=34123
|
||||
#sed -i '/LLVMSupport/d' tools/clang/tools/extra/clangd/tool/CMakeLists.txt
|
||||
|
||||
sed -i "/REMOVE_DUPLICATES/d" tools/llvm-shlib/CMakeLists.txt
|
||||
cd ..
|
||||
|
||||
%build
|
||||
#:<< __EOF
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
@ -158,7 +160,7 @@ cmake \
|
||||
%ifarch x86_64 aarch64
|
||||
-DLLVM_LIBDIR_SUFFIX="64" \
|
||||
%endif
|
||||
-Wno-dev ..
|
||||
-Wno-dev ../llvm
|
||||
|
||||
# -DLLVM_ENABLE_LTO=Thin \
|
||||
|
||||
@ -226,7 +228,7 @@ rm -f %{buildroot}%{_datadir}/doc/llvm/html/.buildinfo
|
||||
#%{_mandir}/man1/llvm-*.1*
|
||||
#%{_mandir}/man1/opt.1*
|
||||
#%{_mandir}/man1/tblgen.1*
|
||||
%doc CREDITS.TXT LICENSE.TXT
|
||||
%doc llvm/CREDITS.TXT llvm/LICENSE.TXT
|
||||
#doc llvm-testlog.txt
|
||||
|
||||
%files -n libllvm
|
||||
@ -275,6 +277,12 @@ rm -f %{buildroot}%{_datadir}/doc/llvm/html/.buildinfo
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu May 18 2023 Automatic Build System <autodist@mambasoft.it> 16.0.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri May 05 2023 Automatic Build System <autodist@mambasoft.it> 16.0.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jan 12 2023 Automatic Build System <autodist@mambasoft.it> 15.0.7-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user