aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* dev-lang/ldc2: add 1.40.0 and split the packageAndrei Horodniceanu2025-01-022-0/+176
| | | | | | | | | | | | | | | | | | | Split the original package into dev-lang/ldc2 for the compiler and dev-libs/ldc2-runtime for the stdlib and runtime. Add the debug USE flag serving two purposes: 1. locking llvm-core/llvm[debug=] as toggling the debug USE flag on llvm-core/llvm after dev-lang/ldc2 has been built will render the compiler binary unusable. 2. Passing -DLDC_ENABLE_ASSERTIONS, which was previously always disabled. Additionally install versioned symlinks (/usr/bin/ldc2-1.40) for ldc2 and ldmd2, just like for dmd. Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: update LLVM package nameDaichi Yamamoto2024-12-148-15/+15
| | | | | | Signed-off-by: Daichi Yamamoto <dev@dyama.net> Closes: https://github.com/gentoo/dlang/pull/134 Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2/files: remove unused patchesAndrei Horodniceanu2024-09-128-804/+0
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: 1.36.0-r2 use external patchesAndrei Horodniceanu2024-09-122-14/+21
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: 1.37.0 use external patchesAndrei Horodniceanu2024-09-122-14/+21
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: 1.38.0 use external patchesAndrei Horodniceanu2024-09-122-14/+21
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: 1.39.0 use external patchesAndrei Horodniceanu2024-09-122-9/+21
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.39.0Andrei Horodniceanu2024-07-072-0/+182
| | | | | | | | | | | | The LICENSE has been corrected as I've mistaken the license of the valgrind headers as being BSD when, in fact, it is BZIP2. The other change to LICENSE, RSA being replaced by `|| ( CC0-1.0 Apache-2.0 )' is because some internal hashing implementation has changed. The arm64 keyword has been dropped temporarily as I find myself without the hardware to test it. Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: remove github PRs from SRC_URI and put them in FILESDIRAndrei Horodniceanu2024-07-055-11/+683
| | | | | | | | | | | | | | | | pkgcheck has warned me that fetching them from github may lead to them changing, which is exactly what happened leading to manifest failures. I did it because I thought that, since the PR is closed and I'm the author, the possibility of it changing is slim and the alternative was to get a size violation warning from pkgcheck. I have now learned why I shouldn't ignore pkgcheck errors and, if commits need to be taken from upstream, I should keep their size to a minimum and only backport commits that fix stuff, not commits which add features. Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: enable gdc-14Andrei Horodniceanu2024-06-011-1/+1
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: drop 1.36.0-r1Andrei Horodniceanu2024-05-301-89/+0
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.38.0Andrei Horodniceanu2024-05-282-0/+202
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.37.0Andrei Horodniceanu2024-04-212-0/+196
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: add testsAndrei Horodniceanu2024-04-146-8/+255
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: port to dlang-single.eclassAndrei Horodniceanu2024-04-141-0/+79
| | | | | | | | | | Additional changes: - remove the useless MULTILIB_COMPAT line since the variable was set post inherit and it is unwanted since ldc2 supports arm64. - change ROOT to EROOT in pkg_post_* - use llvm-r1.eclass instead of llvm.eclass Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: drop 1.35.0Andrei Horodniceanu2024-03-131-82/+0
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: drop 1.34.0Andrei Horodniceanu2024-03-131-79/+0
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: drop 1.33.0Andrei Horodniceanu2024-03-131-78/+0
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: drop 1.32.2Andrei Horodniceanu2024-03-131-78/+0
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: stabilize 1.35.0-r2 for amd64, x86Andrei Horodniceanu2024-03-131-1/+1
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: stabilize 1.34.0-r1 for amd64, x86Andrei Horodniceanu2024-03-131-1/+1
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: stabilize 1.33.0-r1 for amd64, x86Andrei Horodniceanu2024-03-131-1/+1
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: stabilize 1.32.2-r1 for amd64, x86Andrei Horodniceanu2024-03-131-1/+1
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* */*: set an upper bound on DLANG_VERSION_RANGEAndrei Horodniceanu2024-02-047-8/+8
| | | | | | | | | | | A package should explicitly list the D compiler versions it supports and not rely on "any version higher than X". This is especially relevant for stable packages. These changes don't actually have any effect right now, they will only make themselves seen when a new compiler version is added to the tree. Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: backport strict-aliasing fixesHorodniceanu Andrei2024-01-244-1/+241
| | | | | Bug: https://bugs.gentoo.org/922590 Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: pass -fno-strict-aliasingHorodniceanu Andrei2024-01-241-2/+4
| | | | | Bug: https://bugs.gentoo.org/show_bug.cgi?id=922590 Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.36.0Horodniceanu Andrei2024-01-142-0/+88
| | | | | | | | | | Additional changes: - force disable LDC_ENABLE_ASSERTIONS instead of defaulting to LLVM_ENABLE_ASSERTIONS - pass the -NDEBUG flag in the same manner as sys-devel/llvm to prevent linking errors. Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: keyword 1.35.0-r1 for ~arm64Horodniceanu Andrei2024-01-141-1/+1
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: remove dev-util/ninja from RDEPENDHorodniceanu Andrei2024-01-133-6/+6
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: 1.35.0-r1 build D modules separatelyHorodniceanu Andrei2024-01-041-0/+82
| | | | | | | | Having this feature enabled, compared to building all D modules in one go, on my machine at least, lowers the amount of memory used and speeds up build times. Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: remove llvm:14 dependent versionsHorodniceanu Andrei2024-01-024-235/+0
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* stabilization sweepHorodniceanu Andrei2023-12-166-6/+6
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.35.0Horodniceanu Andrei2023-10-223-1/+91
| | | | | | | | | - Update to EAPI 8 - drop dev-util/ninja DEPEND since it is handled by cmake.eclass - move app-eselect/eselect-dlang to IDEPEND - add github upstream metadata Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.33.0Horodniceanu Andrei2023-10-122-0/+79
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.32.2Horodniceanu Andrei2023-10-122-0/+79
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.31.0Horodniceanu Andrei2023-10-122-0/+78
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.34.0Horodniceanu Andrei2023-10-072-0/+80
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: Respect $DCFLAGSHorodniceanu Andrei2023-09-022-2/+2
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@protonmail.com>
* dev-lang/ldc2: don't embed -relocation-model=picHorodniceanu Andrei2023-09-012-12/+2
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@protonmail.com>
* fixed KEYWORDS on ldc2-1.29Marco Leise2022-07-251-1/+1
| | | | Signed-off-by: Marco Leise <marco.leise@gmx.de>
* Merge branch 'add-ldc2-1.30'Marco Leise2022-07-252-0/+84
|\ | | | | | | Signed-off-by: Marco Leise <marco.leise@gmx.de>
| * Add ldc2-1.30Horodniceanu Andrei2022-07-232-0/+84
| | | | | | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@protonmail.com>
* | Remove llvm-12 dependencyHorodniceanu Andrei2022-07-236-329/+0
|/ | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@protonmail.com>
* stabilization sweep additionsMarco Leise2022-07-231-1/+1
| | | | Signed-off-by: Marco Leise <marco.leise@gmx.de>
* Stabilization sweepHorodniceanu Andrei2022-07-181-1/+1
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@protonmail.com>
* ldc2-1.29.0Horodniceanu Andrei2022-05-102-0/+84
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@protonmail.com>
* stabilization sweepMarco Leise2022-05-104-5/+1
| | | | Signed-off-by: Marco Leise <marco.leise@gmx.de>
* stabilization sweepMarco Leise2022-03-245-86/+3
| | | | Signed-off-by: Marco Leise <marco.leise@gmx.de>
* ldc2-1.28.1Niko Böckerman2022-03-232-0/+83
| | | | Signed-off-by: Niko Böckerman <niko.bockerman@protonmail.com>
* Remove ldc2-1.24.0 source tarball from ManifestNiko Böckerman2022-03-231-1/+0
| | | | Signed-off-by: Niko Böckerman <niko.bockerman@protonmail.com>