re-add LLVM_ENABLE_RTTI=ON [release 14.0.3-3mamba;Fri May 20 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 06:26:11 +01:00
parent ed97c595ec
commit 74db3e64f2

View File

@ -2,7 +2,7 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: llvm
Version: 14.0.3
Release: 1mamba
Release: 3mamba
Summary: The Low Level Virtual Machine
Group: Development/Languages
Vendor: openmamba
@ -32,8 +32,8 @@ BuildRequires: glibc-devel
BuildRequires: ocaml >= 4.11.1
BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-findlib
BuildRequires: ocaml-ctypes-devel >= 0.20.0-2mamba
BuildRequires: ocaml-integers >= 0.6.0
BuildRequires: ocaml-ctypes-devel >= 0.20.1
BuildRequires: ocaml-integers >= 0.7.0
%ifnarch aarch64
BuildRequires: ocaml-ounit
%endif
@ -106,9 +106,8 @@ This package includes the LLVM ocaml API documentation.
%debug_package
%prep
%setup -q -n %{name}-%{version}.src
#-D -T
#:<< _EOF
%setup -q -n %{name}-%{version}.src -D -T
:<< _EOF
%patch6 -p1
@ -142,9 +141,7 @@ cmake \
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_INSTALL_UTILS=ON \
%ifnarch arm
-DLLVM_ENABLE_RTTI=ON \
%endif
-DLLVM_ENABLE_FFI=ON \
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=AVR \
-DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \
@ -189,13 +186,9 @@ rm -f %{buildroot}%{_datadir}/doc/llvm/html/.buildinfo
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
:
%post -p /sbin/ldconfig
%postun
/sbin/ldconfig
:
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
@ -275,6 +268,12 @@ rm -f %{buildroot}%{_datadir}/doc/llvm/html/.buildinfo
%changelog
* Fri May 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 14.0.3-3mamba
- re-add LLVM_ENABLE_RTTI=ON
* Wed May 18 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 14.0.3-2mamba
- rebuilt with ocaml-ctypes 0.20.1
* Fri Apr 29 2022 Automatic Build System <autodist@mambasoft.it> 14.0.3-1mamba
- automatic version update by autodist