summaryrefslogtreecommitdiff
path: root/llvm-runtimes/libcxx
AgeCommit message (Collapse)Author
6 daysllvm-runtimes/libcxx: Add 21.1.7Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
10 daysllvm-runtimes/libcxx: Add 22.0.0_pre20251127 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-11-20llvm-runtimes/libcxx: Add 22.0.0_pre20251120 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-11-20llvm-runtimes/libcxx: Add 21.1.6Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-11-15llvm-runtimes/libcxx: Remove oldMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-11-08llvm-runtimes/libcxx: Add 22.0.0_pre20251108 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-11-04llvm-runtimes/libcxx: Add 21.1.5Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-11-01llvm-runtimes/libcxx: Add 22.0.0_pre20251101 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-11-01llvm-runtimes/libcxx: Remove oldMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-10-28llvm-runtimes/libcxx: Add 22.0.0_pre20251028 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-10-22llvm-runtimes/libcxx: Add 22.0.0_pre20251022 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-10-22llvm-runtimes/libcxx: Remove oldMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-10-21llvm-runtimes/libcxx: Add 21.1.4Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-10-11llvm-runtimes/libcxx: Add 22.0.0_pre20251011 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-10-09llvm-runtimes/libcxx: Use newest patchsetsMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-10-08llvm-runtimes/libcxx: Add 21.1.3Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-10-04llvm-runtimes/libcxx: Add 22.0.0_pre20251004 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-10-03llvm-runtimes/libcxx: Remove oldMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-10-01llvm-runtimes/libcxx: Add 22.0.0_pre20251001 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-09-24llvm-runtimes/libcxx: Add 21.1.2Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-09-24llvm-runtimes/libcxx: Add 22.0.0_pre20250923 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-09-23llvm-runtimes/libcxx: Update for upstream build layout changesMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-09-21llvm-runtimes/libcxx: Remove oldMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-09-10llvm-runtimes/libcxx: Add 21.1.1Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-09-10llvm-runtimes/libcxx: Add 22.0.0_pre20250910 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-09-10llvm-runtimes/libcxx: Remove oldMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-09-07llvm-runtimes/libcxx: Add 22.0.0_pre20250907 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-09-02*/*: destable sparcArthur Zamarin
Result of running the command: grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]sparc' -l | xargs ekeyword ~sparc Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-09-02llvm-runtimes/libcxx: Use the partial clang configuration filesMichal Rostecki
Initial installation or upgrade of libcxx happens before the main slotted clang configuration file is created by llvm-core/clang-runtime. Bulding libcxx requires only the linker (`-fuse-ld`) and rtlib (`--rtlib`) configuration to be present. To fix the initial builds, we can use the partiaon configuration provided by: * llvm-core/clang-linker-config * llvm-runtimes/clang-rtlib-config * llvm-runtimes/clang-unwindlib-config Signed-off-by: Michal Rostecki <vadorovsky@protonmail.com> Closes: https://bugs.gentoo.org/951445 Part-of: https://github.com/gentoo/gentoo/pull/42663 Signed-off-by: Michał Górny <mgorny@gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/42663 Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-31llvm-runtimes/libcxx: Add 22.0.0_pre20250831 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-27llvm-runtimes/libcxx: Remove oldMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-27llvm-runtimes/libcxx: Stabilize 20.1.8 sparc, #960372Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-08-26llvm-runtimes/libcxx: Keyword 21.1.0Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-26llvm-runtimes/libcxx: Remove oldMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-26llvm-runtimes/libcxx: Bump to 21.1.0Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-26llvm-runtimes/libcxx: Add LIT_XFAIL to 22.0.0.9999Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-24llvm-runtimes/libcxx: Stabilize 20.1.8 amd64, #960372Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-08-24llvm-runtimes/libcxx: Stabilize 20.1.8 arm64, #960372Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-08-24llvm-runtimes/libcxx: Stabilize 20.1.8 arm, #960372Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-08-21llvm-runtimes/libcxx: Remove oldMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-21llvm-runtimes/libcxx: Add 22.0.0_pre20250820 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-16llvm-runtimes/libcxx: Add 22.0.0_pre20250815 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-15llvm-runtimes/libcxx: install GDB Pretty printers for libc++Sv. Lockal
https://github.com/llvm/llvm-project/blob/llvmorg-21.1.0-rc3/libcxx/docs/UserDocumentation.rst#gdb-pretty-printers-for-libc describes the procedure to set up GDB printers for STL data structures from libc++. Since LLVM 21 these pretty printers work quite well, including MI-mode (enabling visualization in IDEs like vscode). In a way, similar to python, libgobject, libstdc++ and so on, file like /usr/share/gdb/auto-load/usr/lib64/libc++.so.1.0-gdb.py enables autoloading for pretty printers. Closes: https://bugs.gentoo.org/961530 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43455 Closes: https://github.com/gentoo/gentoo/pull/43455 Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-12llvm-runtimes/libcxx: Add 21.1.0_rc3Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-09llvm-runtimes/libcxx: Add 22.0.0_pre20250809 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-06llvm-runtimes/libcxx: Set CTARGET to CHOST if the package is not crossMichal Rostecki
The multilib eclass doesn't set the CTARGET. Therefore, using CTARGET was breaking the multilib builds. At the same time, using CTARGET is necessary for crossdev to work. The long term solution should be fixing multilib eclass, but for now, make sure that CTARGET is correct inside the ebuild. Bug: https://bugs.gentoo.org/961153 Signed-off-by: Michal Rostecki <vadorovsky@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43361 Closes: https://github.com/gentoo/gentoo/pull/43361 Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-06llvm-runtimes/libcxx: Support build with cross emerge wrapperMichal Rostecki
When cross emerge wrapper is used, using `llvm_prepend_path` without any options, results in prepending the following path: ``` ${ESYSROOT}/usr/lib/llvm/${slot}/bin ``` For example: ``` /usr/aarch64-unknown-linux-musl/usr/lib/llvm/19/bin ``` The problem is that cross emerge wrapper uses a cross clang wrapper as a compiler, e.g. `aarch64-unknown-linux-musl-clang`. However, the file with such name can be usually found in two places: * `/usr/lib/llvm/19/bin/aarch64-unknown-linux-musl-clang`, which is a clang wrapper that calls the host clang with appropriate configuration. We want to call that file. * `/usr/aarch64-unknown-linux-musl/usr/lib/llvm/19/bin/aarch64-unknown-linux-musl-clang`, which is an actual aarch64 compiler binary. We cannot execute it on x86_64, or other incompatible host. However, the path added by `llvm_prepend_path` causes resolution of `aarch64-unknown-linux-musl-clang` to the second path, therefore causing errors like: ``` /usr/aarch64-unknown-linux-musl/usr/lib/llvm/19/bin/clang: cannot execute binary file: Exec format error ``` Solve that by: * Using `LLVM_ROOT` CMake parameter to point the build to LLVM library artifacts. * Using `llvm_prepend_path` with `-b` argument if we need clang, which is the case when either `clang` or `test` USE flags are enabled. Signed-off-by: Michal Rostecki <vadorovsky@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/39280 Signed-off-by: Michał Górny <mgorny@gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/39280 Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-06llvm-runtimes/libcxx: Support crosspkg buildMichal Rostecki
Inherit the `crossdev` eclass, use clang for the current `CTARGET` and install libcxx into a cross sysroot, if package belongs to any crossdev category. That allows to bootstrap libcxx with crossdev by installing `cross_*/libcxx`. Extend the compiler test with the case when the (cross) toolchain has a runtime, but doesn't have stdlib yet (because it's about to be built). In such case, a build with default arguments fails, but a build with `-nostdlib` succeeds. libc++ doesn't need stdlib to build, so that's fine. Signed-off-by: Michal Rostecki <vadorovsky@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/39280 Signed-off-by: Michał Górny <mgorny@gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/39280 Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-02llvm-runtimes/libcxx: Add 22.0.0_pre20250802 snapshotMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-02llvm-runtimes/libcxx: Remove oldMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>