mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 09:50:53 +00:00
Add a new package libllvmlibc-18-dev to ship LLVM libc (experimental for now)
This commit is contained in:
parent
989a63a68e
commit
8ab71b62cf
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -7,6 +7,7 @@ llvm-toolchain-18 (1:18.1.0~rc2-4) UNRELEASED; urgency=medium
|
|||||||
[ Sylvestre Ledru ]
|
[ Sylvestre Ledru ]
|
||||||
* add -DLIBCXX_INSTALL_MODULES=ON to install libc++ C++-20 modules
|
* 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
|
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)
|
||||||
|
|
||||||
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 19 Feb 2024 16:21:34 +0100
|
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 19 Feb 2024 16:21:34 +0100
|
||||||
|
|
||||||
|
10
debian/control
vendored
10
debian/control
vendored
@ -952,3 +952,13 @@ Description: Flang library - Development package
|
|||||||
of examples, some functionalities are still missing.
|
of examples, some functionalities are still missing.
|
||||||
.
|
.
|
||||||
This package contains the flang libraries and headers.
|
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
10
debian/control.in
vendored
@ -952,3 +952,13 @@ Description: Flang library - Development package
|
|||||||
of examples, some functionalities are still missing.
|
of examples, some functionalities are still missing.
|
||||||
.
|
.
|
||||||
This package contains the flang libraries and headers.
|
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.
|
||||||
|
7
debian/rules
vendored
7
debian/rules
vendored
@ -3,7 +3,7 @@
|
|||||||
# polly & lldb aren't enabled for every platform
|
# polly & lldb aren't enabled for every platform
|
||||||
PROJECTS = clang;clang-tools-extra;lld;cross-project-tests;mlir
|
PROJECTS = clang;clang-tools-extra;lld;cross-project-tests;mlir
|
||||||
# openmp & libunwind aren't enabled for every platform
|
# openmp & libunwind aren't enabled for every platform
|
||||||
RUNTIMES = compiler-rt;libcxx;libcxxabi
|
RUNTIMES = compiler-rt;libcxx;libcxxabi;libc
|
||||||
|
|
||||||
TARGET_BUILD := build-llvm
|
TARGET_BUILD := build-llvm
|
||||||
TARGET_BUILD_STAGE2 := $(TARGET_BUILD)/tools/clang/stage2-bins
|
TARGET_BUILD_STAGE2 := $(TARGET_BUILD)/tools/clang/stage2-bins
|
||||||
@ -553,7 +553,7 @@ ifneq (,$(filter coverity,$(DEB_BUILD_OPTIONS)))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# enables cmake build targets like stage2-[target_name]
|
# 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)
|
dh $@ $(DH_OPTIONS)
|
||||||
@ -1473,6 +1473,9 @@ endif
|
|||||||
# Libcxx
|
# Libcxx
|
||||||
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libcxx || true
|
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libcxx || true
|
||||||
|
|
||||||
|
# Libc
|
||||||
|
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libc || true
|
||||||
|
|
||||||
# Libcxxabi
|
# Libcxxabi
|
||||||
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libcxxabi || true
|
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libcxxabi || true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user