removed BUILD_SHARED_LIBS=ON see https://github.com/llvm/llvm-project/issues/46461
added -DLLVM_LINK_LLVM_DYLIB=ON [release 17.0.6-2mamba;Thu Jan 18 2024]
This commit is contained in:
parent
670702e924
commit
39da44d8c9
27
clang.spec
27
clang.spec
@ -3,7 +3,7 @@
|
||||
%define majver %(echo %version | cut -d. -f1-2)
|
||||
Name: clang
|
||||
Version: 17.0.6
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: C language family frontend for LLVM
|
||||
Group: Development/Languages
|
||||
Vendor: openmamba
|
||||
@ -94,7 +94,6 @@ cd build
|
||||
cmake .. -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON \
|
||||
-DCLANG_LINK_CLANG_DYLIB=ON \
|
||||
-DCLANG_DEFAULT_CXX_STDLIB=libstdc++ \
|
||||
@ -102,6 +101,7 @@ cmake .. -G Ninja \
|
||||
-DLLVM_ENABLE_RTTI=ON \
|
||||
%endif
|
||||
-DLLVM_INCLUDE_DOCS=ON \
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON \
|
||||
-DLLVM_INCLUDE_TESTS=OFF \
|
||||
-DLLVM_BUILD_DOCS=ON \
|
||||
-DLLVM_ENABLE_SPHINX=ON \
|
||||
@ -140,22 +140,13 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
||||
%{_bindir}/clang
|
||||
%{_bindir}/clang++
|
||||
%{_bindir}/clang-*
|
||||
#%{_bindir}/clangd
|
||||
%{_bindir}/diagtool
|
||||
#%{_bindir}/find-all-symbols
|
||||
%{_bindir}/git-clang-format
|
||||
%{_bindir}/hmaptool
|
||||
%{_bindir}/intercept-build
|
||||
#%{_bindir}/modularize
|
||||
#%{_bindir}/pp-trace
|
||||
#%{_bindir}/run-clang-tidy
|
||||
%{_bindir}/scan-build
|
||||
%{_bindir}/scan-build-py
|
||||
%{_bindir}/scan-view
|
||||
#%dir %{_prefix}/lib/libear
|
||||
#%{_prefix}/lib/libear/*
|
||||
#%dir %{_prefix}/lib/libscanbuild
|
||||
#%{_prefix}/lib/libscanbuild/*
|
||||
# FIXME: should be libexec64 on 64 bits archs
|
||||
%{_prefix}/libexec/*
|
||||
%dir %{_datadir}/clang/
|
||||
@ -166,7 +157,6 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
||||
%{_datadir}/scan-view/*
|
||||
%{_mandir}/man1/clang.1*
|
||||
%{_mandir}/man1/diagtool.1*
|
||||
#%{_mandir}/man1/extraclangtools.1*
|
||||
%{_mandir}/man1/scan-build.1*
|
||||
|
||||
%files -n lib%{name}
|
||||
@ -176,7 +166,6 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
||||
%{_libdir}/libear/*
|
||||
%dir %{_libdir}/libscanbuild
|
||||
%{_libdir}/libscanbuild/*
|
||||
#%{_libdir}/libfindAllSymbols.so.*
|
||||
%doc clang/LICENSE.TXT
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
@ -185,10 +174,8 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
||||
%{_includedir}/clang-c/*.h
|
||||
%dir %{_includedir}/clang
|
||||
%{_includedir}/clang/*
|
||||
#%dir %{_includedir}/clang-tidy
|
||||
#%{_includedir}/clang-tidy/*
|
||||
%{_libdir}/libclang*.a
|
||||
%{_libdir}/libclang*.so
|
||||
#%{_libdir}/libfindAllSymbols.so
|
||||
%dir %{_libdir}/clang
|
||||
%dir %{_libdir}/clang/*
|
||||
%dir %{_libdir}/clang/*/include
|
||||
@ -204,12 +191,12 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
||||
%dir %{_docdir}/Clang/clang/html
|
||||
%{_datadir}/doc/Clang/clang/html/*
|
||||
%{_datadir}/doc/Clang/clang/html/.buildinfo
|
||||
#%dir %{_docdir}/Clang/clang-tools
|
||||
#%dir %{_docdir}/Clang/clang-tools/html
|
||||
#%{_datadir}/doc/Clang/clang-tools/html/*
|
||||
#%{_datadir}/doc/Clang/clang-tools/html/.buildinfo
|
||||
|
||||
%changelog
|
||||
* Thu Jan 18 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 17.0.6-2mamba
|
||||
- removed BUILD_SHARED_LIBS=ON see https://github.com/llvm/llvm-project/issues/46461
|
||||
- added -DLLVM_LINK_LLVM_DYLIB=ON
|
||||
|
||||
* Sat Dec 02 2023 Automatic Build System <autodist@mambasoft.it> 17.0.6-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user