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