automatic version update by autodist [release 17.0.5-1mamba;Fri Nov 17 2023]

This commit is contained in:
Automatic Build System 2024-01-06 04:03:57 +01:00
parent 777c0ad62e
commit e49654cfe9
2 changed files with 17 additions and 6 deletions

View File

@ -2,3 +2,4 @@ cmake_minimum_required(VERSION 3.13.4)
project(Runtimes C CXX ASM) project(Runtimes C CXX ASM)
add_subdirectory(libcxxabi) add_subdirectory(libcxxabi)
add_subdirectory(libcxx) add_subdirectory(libcxx)
add_subdirectory(libunwind)

View File

@ -1,5 +1,5 @@
Name: libcxx Name: libcxx
Version: 16.0.5 Version: 17.0.5
Release: 1mamba Release: 1mamba
Summary: An implementation of the C++ standard library, targeting C++11, C++14 and above Summary: An implementation of the C++ standard library, targeting C++11, C++14 and above
Group: System/Libraries Group: System/Libraries
@ -10,11 +10,13 @@ URL: https://libcxx.llvm.org/
Source: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/libcxx-%{version}.src.tar.xz Source: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/libcxx-%{version}.src.tar.xz
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/libcxxabi-%{version}.src.tar.xz Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/libcxxabi-%{version}.src.tar.xz
Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/cmake-%{version}.src.tar.xz Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/cmake-%{version}.src.tar.xz
Source5: libcxx-CmakeLists.txt Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/runtimes-%{version}.src.tar.xz
Source4: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/libunwind-%{version}.src.tar.xz
# From Fedora
Source5: libcxx-17.0.5-CmakeLists.txt
License: MIT, BSD License: MIT, BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libatomic-devel
BuildRequires: libgcc BuildRequires: libgcc
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
@ -54,12 +56,15 @@ This package contains libraries and header files for developing applications tha
%debug_package %debug_package
%prep %prep
%setup -q -c -a1 -a2 %setup -q -c -a1 -a2 -a3 -a4
#% setup -q -c -D -T #% setup -q -c -D -T
#:<< _EOF #:<< _EOF
mv libcxx-%{version}.src libcxx mv libcxx-%{version}.src libcxx
mv libcxxabi-%{version}.src libcxxabi mv libcxxabi-%{version}.src libcxxabi
mv cmake-%{version}.src cmake mv cmake-%{version}.src cmake
mv runtimes-%{version}.src runtimes
mv libunwind-%{version}.src libunwind
cp %{SOURCE5} CMakeLists.txt cp %{SOURCE5} CMakeLists.txt
%build %build
@ -68,18 +73,20 @@ mkdir -p build
cd build cd build
cmake -G Ninja \ cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
%if 0%{?__isa_bits} == 64 %if 0%{?__isa_bits} == 64
-DLIBCXX_LIBDIR_SUFFIX:STRING=64 \ -DLIBCXX_LIBDIR_SUFFIX:STRING=64 \
-DLIBCXXABI_LIBDIR_SUFFIX:STRING=64 \ -DLIBCXXABI_LIBDIR_SUFFIX:STRING=64 \
-DLIBUNWIND_LIBDIR_SUFFIX:STRING=64 \
%endif %endif
-DLIBCXX_INCLUDE_BENCHMARKS=OFF \ -DLIBCXX_INCLUDE_BENCHMARKS=OFF \
-DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON \ -DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON \
-DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON \ -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON \
.. ..
# -DBUILD_SHARED_LIBS=ON
ninja ninja
%install %install
@ -125,6 +132,9 @@ DESTDIR=%{buildroot} ninja install-cxx install-cxxabi
%{_libdir}/libc++abi.a %{_libdir}/libc++abi.a
%changelog %changelog
* Fri Nov 17 2023 Automatic Build System <autodist@mambasoft.it> 17.0.5-1mamba
- automatic version update by autodist
* Sat Jun 03 2023 Automatic Build System <autodist@mambasoft.it> 16.0.5-1mamba * Sat Jun 03 2023 Automatic Build System <autodist@mambasoft.it> 16.0.5-1mamba
- automatic version update by autodist - automatic version update by autodist