rebuilt with -DCLANG_LINK_CLANG_DYLIB=ON [release 11.1.0-3mamba;Mon May 17 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 21:24:32 +01:00
parent 94632c79d2
commit e29ae290a9

View File

@ -3,19 +3,18 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: clang Name: clang
Version: 11.1.0 Version: 11.1.0
Release: 2mamba Release: 3mamba
Summary: C language family frontend for LLVM Summary: C language family frontend for LLVM
Group: Development/Languages Group: Development/Languages
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://llvm.org/ URL: https://llvm.org/
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/clang-%{version}.src.tar.xz Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/clang-%{version}.src.tar.xz
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/clang-tools-extra-%{version}.src.tar.xz Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/clang-tools-extra-%{version}.src.tar.xz
License: NCSA License: NCSA
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libllvm-devel BuildRequires: libllvm-devel
BuildRequires: libperl BuildRequires: libperl
@ -85,7 +84,8 @@ cmake .. -G Ninja \
-DPYTHON_EXECUTABLE=/usr/bin/python \ -DPYTHON_EXECUTABLE=/usr/bin/python \
-DBUILD_SHARED_LIBS=ON \ -DBUILD_SHARED_LIBS=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \ -DLLVM_LINK_LLVM_DYLIB=ON \
-DCLANG_LINK_CLANG_DYLIB=OFF \ -DCLANG_LINK_CLANG_DYLIB=ON \
-DCLANG_DEFAULT_CXX_STDLIB=libstdc++ \
%ifnarch arm %ifnarch arm
-DLLVM_ENABLE_RTTI=ON \ -DLLVM_ENABLE_RTTI=ON \
%endif %endif
@ -182,6 +182,9 @@ ln -s libclang.so.%{majver} %{buildroot}%{_libdir}/libclang.so.%{MAJver}
%{_docdir}/clang-tools/* %{_docdir}/clang-tools/*
%changelog %changelog
* Mon May 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 11.1.0-3mamba
- rebuilt with -DCLANG_LINK_CLANG_DYLIB=ON
* Thu Mar 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 11.1.0-2mamba * Thu Mar 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 11.1.0-2mamba
- add legacy provide for libclang.so.11 - add legacy provide for libclang.so.11