Add a new package libllvmlibc-18-dev to ship LLVM libc (experimental for now)

This commit is contained in:
Sylvestre Ledru 2024-02-20 22:42:46 +01:00
parent dbfd4f3b3f
commit 4db9f7c593
4 changed files with 35 additions and 1 deletions

11
debian/changelog vendored
View File

@ -34,6 +34,7 @@ llvm-toolchain-snapshot (1:19~++20240125092523+41fe98a6e7e5-1~exp1) experimental
llvm-toolchain-18 (1:18.1.0~rc2-4) unstable; urgency=medium
<<<<<<<
* Fix 32bit builds, exclude i386, don't build clang-rt there
* Revert gold linker on mips64el
* Disable stack protector on mips64el
@ -53,6 +54,16 @@ llvm-toolchain-18 (1:18.1.0~rc2-4) unstable; urgency=medium
[ 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
=======
[ 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
* Add a new package libllvmlibc-18-dev to ship LLVM libc (experimental for now)
>>>>>>>
-- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 09 Feb 2024 20:59:07 +0100

10
debian/control vendored
View File

@ -956,3 +956,13 @@ Description: Flang library - Development package
of examples, some functionalities are still missing.
.
This package contains the flang libraries and headers.
# ------------- LLVM libc -------------
Package: libllvmlibc-18-dev
Section: libdevel
Architecture: any
Description: LLVM C Library - dev package
Implementation of the C standard library targeting C17 and above.
.
This is an experimental project. Don't use in production.

10
debian/control.in vendored
View File

@ -956,3 +956,13 @@ Description: Flang library - Development package
of examples, some functionalities are still missing.
.
This package contains the flang libraries and headers.
# ------------- LLVM libc -------------
Package: libllvmlibc-@LLVM_VERSION@-dev
Section: libdevel
Architecture: any
Description: LLVM C Library - dev package
Implementation of the C standard library targeting C17 and above.
.
This is an experimental project. Don't use in production.

5
debian/rules vendored
View File

@ -563,7 +563,7 @@ ifneq (,$(filter coverity,$(DEB_BUILD_OPTIONS)))
endif
# enables cmake build targets like stage2-[target_name]
ENABLED_STAGE2_CMAKE_BUILD_TARGETS = check-all;check-llvm;check-clang;check-clang-tools;check-lld;check-libcxx;check-libcxxabi;check-mlir;check-sanitizer;llvm-config;test-suite
ENABLED_STAGE2_CMAKE_BUILD_TARGETS = check-all;check-llvm;check-clang;check-clang-tools;check-lld;check-libcxx;check-libcxxabi;check-mlir;check-libc;check-sanitizer;llvm-config;test-suite
%:
dh $@ $(DH_OPTIONS)
@ -1484,6 +1484,9 @@ endif
# Libcxx
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libcxx || true
# Libc
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libc || true
# Libcxxabi
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libcxxabi || true