public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/user/dlang:master commit in: eclass/, dev-lang/ldc2/, dev-libs/ldc2-runtime/
@ 2025-08-13 19:56 Horodniceanu Andrei
  0 siblings, 0 replies; only message in thread
From: Horodniceanu Andrei @ 2025-08-13 19:56 UTC (permalink / raw
  To: gentoo-commits

commit:     3c88c7ecbe3425d1d10eb8c96d42bd1e7538ed03
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Mon Aug 11 17:09:11 2025 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Mon Aug 11 17:09:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=3c88c7ec

dev-lang/ldc2: keyword 1.40.0 for ~arm64

Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>

 dev-lang/ldc2/ldc2-1.40.0.ebuild                 | 7 +++++--
 dev-libs/ldc2-runtime/ldc2-runtime-1.40.0.ebuild | 2 +-
 eclass/dlang-compilers-r1.eclass                 | 2 +-
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-lang/ldc2/ldc2-1.40.0.ebuild b/dev-lang/ldc2/ldc2-1.40.0.ebuild
index fc65afe..1b52287 100644
--- a/dev-lang/ldc2/ldc2-1.40.0.ebuild
+++ b/dev-lang/ldc2/ldc2-1.40.0.ebuild
@@ -30,7 +30,7 @@ LICENSE+=" Apache-2.0-with-LLVM-exceptions UoI-NCSA"
 LICENSE+=" GPL-2+ Artistic"
 
 SLOT="$(ver_cut 1-2)"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 
 IUSE="debug test"
 RESTRICT="!test? ( test )"
@@ -76,11 +76,14 @@ pkg_setup() {
 src_prepare() {
 	# Disable GDB tests by passing GDB_FLAGS=OFF
 	# Put this here to avoid trigerring reconfigurations later on.
-	sed -i 's/\(GDB_FLAGS=\)\S\+/\1OFF/' "${S}"/tests/dmd/CMakeLists.txt
+	sed -i 's/\(GDB_FLAGS=\)\S\+/\1OFF/' "${S}"/tests/dmd/CMakeLists.txt || die
 
 	# Calls gcc directly
 	sed -i "s/gcc/$(tc-getCC)/" "${S}"/tests/dmd/runnable/importc-test1.sh || die
 
+	# This test fails with >=gcc-14, fixed in newer versions.
+	rm -r "${S}"/tests/dmd/compilable/stdcheaders.c || die
+
 	apply_patches
 
 	cmake_src_prepare

diff --git a/dev-libs/ldc2-runtime/ldc2-runtime-1.40.0.ebuild b/dev-libs/ldc2-runtime/ldc2-runtime-1.40.0.ebuild
index 8bbbb46..d3e21c0 100644
--- a/dev-libs/ldc2-runtime/ldc2-runtime-1.40.0.ebuild
+++ b/dev-libs/ldc2-runtime/ldc2-runtime-1.40.0.ebuild
@@ -26,7 +26,7 @@ LICENSE+=" Boost-1.0 BZIP2 ZLIB curl public-domain"
 # Only increase subslot in case of ABI breakage
 SLOT="$(ver_cut 1-2)/0"
 LDC2_SLOT="$(ver_cut 1-2)" # SLOT without subslot
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"

diff --git a/eclass/dlang-compilers-r1.eclass b/eclass/dlang-compilers-r1.eclass
index 47395d5..aeb2eb0 100644
--- a/eclass/dlang-compilers-r1.eclass
+++ b/eclass/dlang-compilers-r1.eclass
@@ -100,7 +100,7 @@ readonly _DLANG_LDC2_FRONTENDS=(
 	"1.37 2.107 ~amd64 ~arm64 ~x86"
 	"1.38 2.108 ~amd64 ~arm64 ~x86"
 	"1.39 2.109 ~amd64 ~arm64 ~x86"
-	"1.40 2.110 ~amd64 ~x86"
+	"1.40 2.110 ~amd64 ~arm64 ~x86"
 )
 
 # @FUNCTION: _dlang_accumulate_implementations


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-08-13 19:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-13 19:56 [gentoo-commits] repo/user/dlang:master commit in: eclass/, dev-lang/ldc2/, dev-libs/ldc2-runtime/ Horodniceanu Andrei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox