Ship libc++-18-dev /usr/lib/llvm-18/lib/libc++.modules.json /usr/lib/llvm-18/include/c++/v1/std.compat.cppm

/usr/lib/llvm-18/include/c++/v1/std.cppm
This commit is contained in:
Sylvestre Ledru 2024-02-19 16:22:25 +01:00
parent 95fce4b0dd
commit 7afcc29103
4 changed files with 27 additions and 3 deletions

19
debian/changelog vendored
View File

@ -34,9 +34,28 @@ llvm-toolchain-snapshot (1:19~++20240125092523+41fe98a6e7e5-1~exp1) experimental
llvm-toolchain-18 (1:18.1.0~rc2-4) unstable; urgency=medium llvm-toolchain-18 (1:18.1.0~rc2-4) unstable; urgency=medium
<<<<<<<
* Fix 32bit builds, exclude i386, don't build clang-rt there * Fix 32bit builds, exclude i386, don't build clang-rt there
* Revert gold linker on mips64el * Revert gold linker on mips64el
* Disable stack protector on mips64el * Disable stack protector on mips64el
=======
[ John Paul Adrian Glaubitz ]
* Install *clang_rt* on sparc and sparc64
* Run chrpath for libclang on sparc and sparc64
[ Sylvestre Ledru ]
* add -DLIBCXX_INSTALL_MODULES=ON
see https://discourse.llvm.org/t/libc-c-23-module-installation-support/77061/1
Ship libc++-18-dev /usr/lib/llvm-18/lib/libc++.modules.json /usr/lib/llvm-18/include/c++/v1/std.compat.cppm
/usr/lib/llvm-18/include/c++/v1/std.cppm
[ John Paul Adrian Glaubitz ]
* Install *clang_rt* on sparc and sparc64
* Run chrpath for libclang on sparc and sparc64
[ Sylvestre Ledru ]
* add -DLIBCXX_INSTALL_MODULES=ON to install libc++ C++-20 modules
see https://discourse.llvm.org/t/libc-c-23-module-installation-support/77061/1
>>>>>>>
-- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 09 Feb 2024 20:59:07 +0100 -- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 09 Feb 2024 20:59:07 +0100

View File

@ -3,6 +3,9 @@ usr/lib/llvm-@LLVM_VERSION@/lib/libc++.a
usr/lib/llvm-@LLVM_VERSION@/include/c++/ usr/lib/llvm-@LLVM_VERSION@/include/c++/
usr/lib/llvm-@LLVM_VERSION@/include/c++/v1/ usr/lib/llvm-@LLVM_VERSION@/include/c++/v1/
usr/lib/llvm-@LLVM_VERSION@/lib/libc++experimental.a usr/lib/llvm-@LLVM_VERSION@/lib/libc++experimental.a
build-llvm/modules/c++/v1/std.cppm usr/lib/llvm-@LLVM_VERSION@/include/c++/v1/
build-llvm/modules/c++/v1/std.compat.cppm usr/lib/llvm-@LLVM_VERSION@/include/c++/v1/ # C++ modules
build-llvm/lib/libc++.modules.json usr/lib/llvm-@LLVM_VERSION@/lib/ usr/lib/llvm-@LLVM_VERSION@/lib/libc++.modules.json
usr/lib/llvm-@LLVM_VERSION@/share/libc++/v1/std.compat/*.inc
usr/lib/llvm-@LLVM_VERSION@/share/libc++/v1/*.cppm
usr/lib/llvm-@LLVM_VERSION@/share/libc++/v1/std/*.inc

1
debian/libllvmlibc-X.Y-dev.install.in vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/llvm-@LLVM_VERSION@/lib/libllvmlibc.a

1
debian/rules vendored
View File

@ -792,6 +792,7 @@ endif
-DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF \ -DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF \
-DLIBCXX_INSTALL_LIBRARY=OFF \ -DLIBCXX_INSTALL_LIBRARY=OFF \
-DLIBCXX_INSTALL_MODULES=ON \ -DLIBCXX_INSTALL_MODULES=ON \
-DBOOTSTRAP_LIBCXX_INSTALL_MODULES=ON \
-DOPENMP_ENABLE_LIBOMP_PROFILING=OFF \ -DOPENMP_ENABLE_LIBOMP_PROFILING=OFF \
-DOPENMP_ENABLE_LIBOMPTARGET_PROFILING=OFF \ -DOPENMP_ENABLE_LIBOMPTARGET_PROFILING=OFF \
-DLIBOMP_ENABLE_RTTI=OFF \ -DLIBOMP_ENABLE_RTTI=OFF \