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