public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-03-01 12:58 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-03-01 12:58 UTC (permalink / raw
  To: gentoo-commits

commit:     c412e2e33d097510f86880c5cb2d28fd7c2e7c97
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  1 12:56:22 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar  1 12:58:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c412e2e3

llvm-runtimes/flang-rt: Add 21.0.0_pre20250301 snapshot

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  1 +
 .../flang-rt/flang-rt-21.0.0_pre20250301.ebuild    | 72 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
index 72f84bf47289..c7fdddbe6ab3 100644
--- a/llvm-runtimes/flang-rt/Manifest
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -1 +1,2 @@
+DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442
 DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 BLAKE2B 3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b SHA512 135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250301.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250301.ebuild
new file mode 100644
index 000000000000..30245857a84e
--- /dev/null
+++ b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250301.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic llvm.org
+
+DESCRIPTION="LLVM's Fortran runtime"
+HOMEPAGE="https://flang.llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions"
+SLOT="${LLVM_MAJOR}"
+IUSE="+debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	!<llvm-core/flang-21.0.0_pre20250221-r1
+"
+BDEPEND="
+	llvm-core/llvm:${LLVM_MAJOR}
+	llvm-core/flang
+	test? (
+		dev-python/lit
+	)
+"
+
+LLVM_COMPONENTS=(
+	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
+)
+llvm.org_set_globals
+
+src_configure() {
+	# the code is not portable
+	local -x FC=flang F77=flang
+	strip-unsupported-flags
+
+	local mycmakeargs=(
+		# we may not have a runtime yet
+		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
+
+		-DLLVM_ENABLE_RUNTIMES="flang-rt"
+		# this package forces NO_DEFAULT_PATHS
+		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
+
+		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
+	)
+	use test && mycmakeargs+=(
+		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+		-DLLVM_LIT_ARGS="$(get_lit_flags)"
+	)
+
+	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+	cmake_src_configure
+}
+
+src_test() {
+	# respect TMPDIR!
+	local -x LIT_PRESERVES_TMP=1
+	cmake_build check-flang-rt
+}
+
+src_install() {
+	cmake_src_install
+
+	# in standalone build, the library is installed to (incorrect) resource dir
+	# but the driver only looks for it in lib (sigh)
+	# https://github.com/llvm/llvm-project/issues/127538
+	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
+	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
+		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-04-26 15:59 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-04-26 15:59 UTC (permalink / raw
  To: gentoo-commits

commit:     4add0808b6a191703168bd5379620898ac42f4d2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 26 13:11:38 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr 26 15:59:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4add0808

llvm-runtimes/flang-rt: Add 21.0.0_pre20250426 snapshot

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  1 +
 .../flang-rt/flang-rt-21.0.0_pre20250426.ebuild    | 64 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
index 3f43c50c3897..dc6e6cd174cf 100644
--- a/llvm-runtimes/flang-rt/Manifest
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -1 +1,2 @@
 DIST llvm-project-ac8fc09688e10e983b99224b5dc5cbbeeedb1879.tar.gz 231567089 BLAKE2B f7878f114c908b21d179854bc693716b34b963612c6b5172789a37cd21fa316720d4e9498bc7679058db3e822ed240bfdafd85bfd00154914d747d0c0ed1cb48 SHA512 4c39db8b22fa087ca96c3b4541ec77ba8a826a126b4e93b0650e59b3622b22b329f60fa3780dd4572fdece409fd5833eda473046d7547f6ee3ac8aadb8f2fc34
+DIST llvm-project-b9e32749d273a957e60170d6e7ef205fd1fb1834.tar.gz 232146799 BLAKE2B f7c02bf1e6b9958114f07827ff00264774a7ad54b51c6867d7e66d7c9a94a36fb84f371d7d30c2f094a0d539b565fb651786ed9e0641f2bea8d982073f1a8ac0 SHA512 2d81ead79c606e00549d5205584f1bd272e4d7adf4b376fdba19e7fb719710e80b00b22ee3500ab2b990178fa044ca9fcf45bd2063e62e6a217b11775bb3b163

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250426.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250426.ebuild
new file mode 100644
index 000000000000..f8d5699c2667
--- /dev/null
+++ b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250426.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic llvm.org
+
+DESCRIPTION="LLVM's Fortran runtime"
+HOMEPAGE="https://flang.llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions"
+SLOT="${LLVM_MAJOR}"
+IUSE="+debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	!<llvm-core/flang-21.0.0_pre20250221-r1
+"
+BDEPEND="
+	llvm-core/llvm:${LLVM_MAJOR}
+	llvm-core/flang
+	test? (
+		dev-python/lit
+	)
+"
+
+LLVM_COMPONENTS=(
+	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
+)
+llvm.org_set_globals
+
+src_configure() {
+	# the code is not portable
+	local -x FC=flang F77=flang
+	strip-unsupported-flags
+
+	local mycmakeargs=(
+		# we may not have a runtime yet
+		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
+
+		-DLLVM_ENABLE_RUNTIMES="flang-rt"
+		# this package forces NO_DEFAULT_PATHS
+		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
+		# set correct install paths
+		-DFLANG_RT_INSTALL_RESOURCE_PATH="/usr/lib/clang/${LLVM_MAJOR}"
+		-DLLVM_DEFAULT_TARGET_TRIPLE="${CHOST}"
+
+		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
+	)
+	use test && mycmakeargs+=(
+		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+		-DLLVM_LIT_ARGS="$(get_lit_flags)"
+	)
+
+	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+	cmake_src_configure
+}
+
+src_test() {
+	# respect TMPDIR!
+	local -x LIT_PRESERVES_TMP=1
+	cmake_build check-flang-rt
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-04-20 11:50 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-04-20 11:50 UTC (permalink / raw
  To: gentoo-commits

commit:     bf6e24a46e8d760d39ae1b748177e698aabf525b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 20 11:49:36 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 20 11:49:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf6e24a4

llvm-runtimes/flang-rt: Add 21.0.0_pre20250420 snapshot

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  1 +
 .../flang-rt/flang-rt-21.0.0_pre20250420.ebuild    | 64 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
index 8b14e6641afc..a43052ebefd9 100644
--- a/llvm-runtimes/flang-rt/Manifest
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -1 +1,2 @@
 DIST llvm-project-1cf9f764ac41fb3492e10c78640dd50e616388db.tar.gz 230651433 BLAKE2B b71d459de99a741f9eb5809fcb44e6d9a17d3295bf11755d2b04a83fff6257eb4e5856826581c000e3b2868ff1cfb155ee18c692654f8083af04574d414c8fa2 SHA512 5b8d1e493830b7838b3ca76148dfc2e2af1cbaa660bd80958777698210c3347a1308f0725d40b10f8f12877daf99c4ba4837e4fa857a781ae912ee167369bafd
+DIST llvm-project-ac8fc09688e10e983b99224b5dc5cbbeeedb1879.tar.gz 231567089 BLAKE2B f7878f114c908b21d179854bc693716b34b963612c6b5172789a37cd21fa316720d4e9498bc7679058db3e822ed240bfdafd85bfd00154914d747d0c0ed1cb48 SHA512 4c39db8b22fa087ca96c3b4541ec77ba8a826a126b4e93b0650e59b3622b22b329f60fa3780dd4572fdece409fd5833eda473046d7547f6ee3ac8aadb8f2fc34

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250420.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250420.ebuild
new file mode 100644
index 000000000000..f8d5699c2667
--- /dev/null
+++ b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250420.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic llvm.org
+
+DESCRIPTION="LLVM's Fortran runtime"
+HOMEPAGE="https://flang.llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions"
+SLOT="${LLVM_MAJOR}"
+IUSE="+debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	!<llvm-core/flang-21.0.0_pre20250221-r1
+"
+BDEPEND="
+	llvm-core/llvm:${LLVM_MAJOR}
+	llvm-core/flang
+	test? (
+		dev-python/lit
+	)
+"
+
+LLVM_COMPONENTS=(
+	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
+)
+llvm.org_set_globals
+
+src_configure() {
+	# the code is not portable
+	local -x FC=flang F77=flang
+	strip-unsupported-flags
+
+	local mycmakeargs=(
+		# we may not have a runtime yet
+		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
+
+		-DLLVM_ENABLE_RUNTIMES="flang-rt"
+		# this package forces NO_DEFAULT_PATHS
+		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
+		# set correct install paths
+		-DFLANG_RT_INSTALL_RESOURCE_PATH="/usr/lib/clang/${LLVM_MAJOR}"
+		-DLLVM_DEFAULT_TARGET_TRIPLE="${CHOST}"
+
+		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
+	)
+	use test && mycmakeargs+=(
+		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+		-DLLVM_LIT_ARGS="$(get_lit_flags)"
+	)
+
+	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+	cmake_src_configure
+}
+
+src_test() {
+	# respect TMPDIR!
+	local -x LIT_PRESERVES_TMP=1
+	cmake_build check-flang-rt
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-04-19  6:29 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-04-19  6:29 UTC (permalink / raw
  To: gentoo-commits

commit:     7af3599e16e14b8a5957d6d72efb4182f454f150
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 19 06:25:52 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr 19 06:25:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7af3599e

llvm-runtimes/flang-rt: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  1 -
 .../flang-rt/flang-rt-21.0.0_pre20250405.ebuild    | 72 ----------------------
 2 files changed, 73 deletions(-)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
index 4b78a234a4a3..8b14e6641afc 100644
--- a/llvm-runtimes/flang-rt/Manifest
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -1,2 +1 @@
 DIST llvm-project-1cf9f764ac41fb3492e10c78640dd50e616388db.tar.gz 230651433 BLAKE2B b71d459de99a741f9eb5809fcb44e6d9a17d3295bf11755d2b04a83fff6257eb4e5856826581c000e3b2868ff1cfb155ee18c692654f8083af04574d414c8fa2 SHA512 5b8d1e493830b7838b3ca76148dfc2e2af1cbaa660bd80958777698210c3347a1308f0725d40b10f8f12877daf99c4ba4837e4fa857a781ae912ee167369bafd
-DIST llvm-project-f3e6473df46fd920e09e06e57a5549eb8e3a8bd3.tar.gz 229893133 BLAKE2B 20a14a99fb55070c30b05298916875d7f7b5476bc47c72f675204adb62daf1126bc83f2e7e51867042cb0ea415f04ef32653118116d01f666a82dc888fb6e999 SHA512 f11eac15fc1d96232267d588fa1c41ebbff3367b1fccf1cfd43f3290f682b73ffa78f2336a2a155c41ef67cf4e6f43019b152996d790f03acf4b9b732a3cf4b7

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250405.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250405.ebuild
deleted file mode 100644
index 30245857a84e..000000000000
--- a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250405.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic llvm.org
-
-DESCRIPTION="LLVM's Fortran runtime"
-HOMEPAGE="https://flang.llvm.org/"
-
-LICENSE="Apache-2.0-with-LLVM-exceptions"
-SLOT="${LLVM_MAJOR}"
-IUSE="+debug test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	!<llvm-core/flang-21.0.0_pre20250221-r1
-"
-BDEPEND="
-	llvm-core/llvm:${LLVM_MAJOR}
-	llvm-core/flang
-	test? (
-		dev-python/lit
-	)
-"
-
-LLVM_COMPONENTS=(
-	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
-)
-llvm.org_set_globals
-
-src_configure() {
-	# the code is not portable
-	local -x FC=flang F77=flang
-	strip-unsupported-flags
-
-	local mycmakeargs=(
-		# we may not have a runtime yet
-		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
-
-		-DLLVM_ENABLE_RUNTIMES="flang-rt"
-		# this package forces NO_DEFAULT_PATHS
-		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
-
-		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
-	)
-	use test && mycmakeargs+=(
-		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-		-DLLVM_LIT_ARGS="$(get_lit_flags)"
-	)
-
-	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-	cmake_src_configure
-}
-
-src_test() {
-	# respect TMPDIR!
-	local -x LIT_PRESERVES_TMP=1
-	cmake_build check-flang-rt
-}
-
-src_install() {
-	cmake_src_install
-
-	# in standalone build, the library is installed to (incorrect) resource dir
-	# but the driver only looks for it in lib (sigh)
-	# https://github.com/llvm/llvm-project/issues/127538
-	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
-	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
-		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
-}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-04-15 10:15 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-04-15 10:15 UTC (permalink / raw
  To: gentoo-commits

commit:     2f6ecd1673ab9d8772fbbfc0631b5f5e2b5f882d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 15 10:04:55 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 15 10:15:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f6ecd16

llvm-runtimes/flang-rt: Add 21.0.0_pre20250415 snapshot

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  1 +
 .../flang-rt/flang-rt-21.0.0_pre20250415.ebuild    | 64 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
index 4b9c819f904a..4b78a234a4a3 100644
--- a/llvm-runtimes/flang-rt/Manifest
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -1 +1,2 @@
+DIST llvm-project-1cf9f764ac41fb3492e10c78640dd50e616388db.tar.gz 230651433 BLAKE2B b71d459de99a741f9eb5809fcb44e6d9a17d3295bf11755d2b04a83fff6257eb4e5856826581c000e3b2868ff1cfb155ee18c692654f8083af04574d414c8fa2 SHA512 5b8d1e493830b7838b3ca76148dfc2e2af1cbaa660bd80958777698210c3347a1308f0725d40b10f8f12877daf99c4ba4837e4fa857a781ae912ee167369bafd
 DIST llvm-project-f3e6473df46fd920e09e06e57a5549eb8e3a8bd3.tar.gz 229893133 BLAKE2B 20a14a99fb55070c30b05298916875d7f7b5476bc47c72f675204adb62daf1126bc83f2e7e51867042cb0ea415f04ef32653118116d01f666a82dc888fb6e999 SHA512 f11eac15fc1d96232267d588fa1c41ebbff3367b1fccf1cfd43f3290f682b73ffa78f2336a2a155c41ef67cf4e6f43019b152996d790f03acf4b9b732a3cf4b7

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250415.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250415.ebuild
new file mode 100644
index 000000000000..f8d5699c2667
--- /dev/null
+++ b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250415.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic llvm.org
+
+DESCRIPTION="LLVM's Fortran runtime"
+HOMEPAGE="https://flang.llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions"
+SLOT="${LLVM_MAJOR}"
+IUSE="+debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	!<llvm-core/flang-21.0.0_pre20250221-r1
+"
+BDEPEND="
+	llvm-core/llvm:${LLVM_MAJOR}
+	llvm-core/flang
+	test? (
+		dev-python/lit
+	)
+"
+
+LLVM_COMPONENTS=(
+	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
+)
+llvm.org_set_globals
+
+src_configure() {
+	# the code is not portable
+	local -x FC=flang F77=flang
+	strip-unsupported-flags
+
+	local mycmakeargs=(
+		# we may not have a runtime yet
+		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
+
+		-DLLVM_ENABLE_RUNTIMES="flang-rt"
+		# this package forces NO_DEFAULT_PATHS
+		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
+		# set correct install paths
+		-DFLANG_RT_INSTALL_RESOURCE_PATH="/usr/lib/clang/${LLVM_MAJOR}"
+		-DLLVM_DEFAULT_TARGET_TRIPLE="${CHOST}"
+
+		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
+	)
+	use test && mycmakeargs+=(
+		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+		-DLLVM_LIT_ARGS="$(get_lit_flags)"
+	)
+
+	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+	cmake_src_configure
+}
+
+src_test() {
+	# respect TMPDIR!
+	local -x LIT_PRESERVES_TMP=1
+	cmake_build check-flang-rt
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-04-15 10:15 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-04-15 10:15 UTC (permalink / raw
  To: gentoo-commits

commit:     86ce1f69850acdde18d3fb5ab0fcd8cf66b8f1b7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 15 10:04:09 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 15 10:15:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86ce1f69

llvm-runtimes/flang-rt: Install to clang-resource-dir

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/flang-rt-21.0.0.9999.ebuild | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0.9999.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0.9999.ebuild
index 30245857a84e..f8d5699c2667 100644
--- a/llvm-runtimes/flang-rt/flang-rt-21.0.0.9999.ebuild
+++ b/llvm-runtimes/flang-rt/flang-rt-21.0.0.9999.ebuild
@@ -41,6 +41,9 @@ src_configure() {
 		-DLLVM_ENABLE_RUNTIMES="flang-rt"
 		# this package forces NO_DEFAULT_PATHS
 		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
+		# set correct install paths
+		-DFLANG_RT_INSTALL_RESOURCE_PATH="/usr/lib/clang/${LLVM_MAJOR}"
+		-DLLVM_DEFAULT_TARGET_TRIPLE="${CHOST}"
 
 		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
 	)
@@ -59,14 +62,3 @@ src_test() {
 	local -x LIT_PRESERVES_TMP=1
 	cmake_build check-flang-rt
 }
-
-src_install() {
-	cmake_src_install
-
-	# in standalone build, the library is installed to (incorrect) resource dir
-	# but the driver only looks for it in lib (sigh)
-	# https://github.com/llvm/llvm-project/issues/127538
-	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
-	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
-		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
-}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-04-12  4:57 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-04-12  4:57 UTC (permalink / raw
  To: gentoo-commits

commit:     64fe79f57b57e7754ff2ffbfabf9d1831b92778c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 12 04:56:02 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr 12 04:56:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64fe79f5

llvm-runtimes/flang-rt: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  3 -
 .../flang-rt/flang-rt-21.0.0_pre20250317.ebuild    | 72 ----------------------
 .../flang-rt/flang-rt-21.0.0_pre20250322.ebuild    | 72 ----------------------
 .../flang-rt/flang-rt-21.0.0_pre20250329.ebuild    | 72 ----------------------
 4 files changed, 219 deletions(-)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
index 251d138dbd00..4b9c819f904a 100644
--- a/llvm-runtimes/flang-rt/Manifest
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -1,4 +1 @@
-DIST llvm-project-1c3a9a853ce68c3c539e7cab21380b9d8b18f426.tar.gz 229448743 BLAKE2B c1eacc2ed05c460f56cf83f16b982e3fa4ac530483d7cf003034239aff3b3dbffbdd3042a3f295a83ec94fcf32f802714e4937fd3761a5e03d4ed1b4093e81bf SHA512 98b7e9fa330a6fce33ca9757caf5d2e41d0b73117cb24b2aed880274c2d6f8a8c1a0028dd0e773fa42deb61dbe3b9dd4fb2f44e50814b966fcdeae8e5b417e6d
-DIST llvm-project-1d133420dc512487e2be0e9d86755f2a7c3497a7.tar.gz 229268288 BLAKE2B aca79bcca631deeab429a03cd2732d78d8ecf0c9615bce181445ed875436806609dc85a57d4f97109492833d620d060ea93fed450a4912c2d94597aeabf84974 SHA512 24ecadfccdf785bfbf27d5007afd2a4d5868493b2c5f48d6cf07c335bfbfef5cba4f12a639971e5f95877ae3b8c7b7fc0c210e404d21036af553de82a5059037
-DIST llvm-project-21eeca3db0341fef4ab4a6464ffe38b2eba5810c.tar.gz 229546432 BLAKE2B e783f08b93498b252741a07fd3aa3383ca93f66688f9bbdb2e11185c660dfff1020ab4a1ca803ab69ab28dc2fd8b5c3855f45c0b77851b8e6edeb0dc5bf6cbd4 SHA512 54420956b36f3bccabea2171a4103ca20d6b136e1d1f7f217e0ec735be4542bbd840ef228c55f3e9103ad2f9fb41393e611d5aaa1521d01fdd163b770b80ba0b
 DIST llvm-project-f3e6473df46fd920e09e06e57a5549eb8e3a8bd3.tar.gz 229893133 BLAKE2B 20a14a99fb55070c30b05298916875d7f7b5476bc47c72f675204adb62daf1126bc83f2e7e51867042cb0ea415f04ef32653118116d01f666a82dc888fb6e999 SHA512 f11eac15fc1d96232267d588fa1c41ebbff3367b1fccf1cfd43f3290f682b73ffa78f2336a2a155c41ef67cf4e6f43019b152996d790f03acf4b9b732a3cf4b7

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250317.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250317.ebuild
deleted file mode 100644
index 30245857a84e..000000000000
--- a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250317.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic llvm.org
-
-DESCRIPTION="LLVM's Fortran runtime"
-HOMEPAGE="https://flang.llvm.org/"
-
-LICENSE="Apache-2.0-with-LLVM-exceptions"
-SLOT="${LLVM_MAJOR}"
-IUSE="+debug test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	!<llvm-core/flang-21.0.0_pre20250221-r1
-"
-BDEPEND="
-	llvm-core/llvm:${LLVM_MAJOR}
-	llvm-core/flang
-	test? (
-		dev-python/lit
-	)
-"
-
-LLVM_COMPONENTS=(
-	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
-)
-llvm.org_set_globals
-
-src_configure() {
-	# the code is not portable
-	local -x FC=flang F77=flang
-	strip-unsupported-flags
-
-	local mycmakeargs=(
-		# we may not have a runtime yet
-		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
-
-		-DLLVM_ENABLE_RUNTIMES="flang-rt"
-		# this package forces NO_DEFAULT_PATHS
-		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
-
-		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
-	)
-	use test && mycmakeargs+=(
-		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-		-DLLVM_LIT_ARGS="$(get_lit_flags)"
-	)
-
-	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-	cmake_src_configure
-}
-
-src_test() {
-	# respect TMPDIR!
-	local -x LIT_PRESERVES_TMP=1
-	cmake_build check-flang-rt
-}
-
-src_install() {
-	cmake_src_install
-
-	# in standalone build, the library is installed to (incorrect) resource dir
-	# but the driver only looks for it in lib (sigh)
-	# https://github.com/llvm/llvm-project/issues/127538
-	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
-	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
-		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
-}

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250322.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250322.ebuild
deleted file mode 100644
index 30245857a84e..000000000000
--- a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250322.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic llvm.org
-
-DESCRIPTION="LLVM's Fortran runtime"
-HOMEPAGE="https://flang.llvm.org/"
-
-LICENSE="Apache-2.0-with-LLVM-exceptions"
-SLOT="${LLVM_MAJOR}"
-IUSE="+debug test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	!<llvm-core/flang-21.0.0_pre20250221-r1
-"
-BDEPEND="
-	llvm-core/llvm:${LLVM_MAJOR}
-	llvm-core/flang
-	test? (
-		dev-python/lit
-	)
-"
-
-LLVM_COMPONENTS=(
-	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
-)
-llvm.org_set_globals
-
-src_configure() {
-	# the code is not portable
-	local -x FC=flang F77=flang
-	strip-unsupported-flags
-
-	local mycmakeargs=(
-		# we may not have a runtime yet
-		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
-
-		-DLLVM_ENABLE_RUNTIMES="flang-rt"
-		# this package forces NO_DEFAULT_PATHS
-		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
-
-		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
-	)
-	use test && mycmakeargs+=(
-		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-		-DLLVM_LIT_ARGS="$(get_lit_flags)"
-	)
-
-	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-	cmake_src_configure
-}
-
-src_test() {
-	# respect TMPDIR!
-	local -x LIT_PRESERVES_TMP=1
-	cmake_build check-flang-rt
-}
-
-src_install() {
-	cmake_src_install
-
-	# in standalone build, the library is installed to (incorrect) resource dir
-	# but the driver only looks for it in lib (sigh)
-	# https://github.com/llvm/llvm-project/issues/127538
-	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
-	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
-		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
-}

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250329.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250329.ebuild
deleted file mode 100644
index 30245857a84e..000000000000
--- a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250329.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic llvm.org
-
-DESCRIPTION="LLVM's Fortran runtime"
-HOMEPAGE="https://flang.llvm.org/"
-
-LICENSE="Apache-2.0-with-LLVM-exceptions"
-SLOT="${LLVM_MAJOR}"
-IUSE="+debug test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	!<llvm-core/flang-21.0.0_pre20250221-r1
-"
-BDEPEND="
-	llvm-core/llvm:${LLVM_MAJOR}
-	llvm-core/flang
-	test? (
-		dev-python/lit
-	)
-"
-
-LLVM_COMPONENTS=(
-	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
-)
-llvm.org_set_globals
-
-src_configure() {
-	# the code is not portable
-	local -x FC=flang F77=flang
-	strip-unsupported-flags
-
-	local mycmakeargs=(
-		# we may not have a runtime yet
-		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
-
-		-DLLVM_ENABLE_RUNTIMES="flang-rt"
-		# this package forces NO_DEFAULT_PATHS
-		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
-
-		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
-	)
-	use test && mycmakeargs+=(
-		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-		-DLLVM_LIT_ARGS="$(get_lit_flags)"
-	)
-
-	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-	cmake_src_configure
-}
-
-src_test() {
-	# respect TMPDIR!
-	local -x LIT_PRESERVES_TMP=1
-	cmake_build check-flang-rt
-}
-
-src_install() {
-	cmake_src_install
-
-	# in standalone build, the library is installed to (incorrect) resource dir
-	# but the driver only looks for it in lib (sigh)
-	# https://github.com/llvm/llvm-project/issues/127538
-	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
-	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
-		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
-}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-04-05 12:24 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-04-05 12:24 UTC (permalink / raw
  To: gentoo-commits

commit:     3269470bb58d60fc679c2ec0fff2dfaad7b66278
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  5 10:51:43 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr  5 12:23:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3269470b

llvm-runtimes/flang-rt: Add 21.0.0_pre20250405 snapshot

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  1 +
 .../flang-rt/flang-rt-21.0.0_pre20250405.ebuild    | 72 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
index 1fe3ff455123..251d138dbd00 100644
--- a/llvm-runtimes/flang-rt/Manifest
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -1,3 +1,4 @@
 DIST llvm-project-1c3a9a853ce68c3c539e7cab21380b9d8b18f426.tar.gz 229448743 BLAKE2B c1eacc2ed05c460f56cf83f16b982e3fa4ac530483d7cf003034239aff3b3dbffbdd3042a3f295a83ec94fcf32f802714e4937fd3761a5e03d4ed1b4093e81bf SHA512 98b7e9fa330a6fce33ca9757caf5d2e41d0b73117cb24b2aed880274c2d6f8a8c1a0028dd0e773fa42deb61dbe3b9dd4fb2f44e50814b966fcdeae8e5b417e6d
 DIST llvm-project-1d133420dc512487e2be0e9d86755f2a7c3497a7.tar.gz 229268288 BLAKE2B aca79bcca631deeab429a03cd2732d78d8ecf0c9615bce181445ed875436806609dc85a57d4f97109492833d620d060ea93fed450a4912c2d94597aeabf84974 SHA512 24ecadfccdf785bfbf27d5007afd2a4d5868493b2c5f48d6cf07c335bfbfef5cba4f12a639971e5f95877ae3b8c7b7fc0c210e404d21036af553de82a5059037
 DIST llvm-project-21eeca3db0341fef4ab4a6464ffe38b2eba5810c.tar.gz 229546432 BLAKE2B e783f08b93498b252741a07fd3aa3383ca93f66688f9bbdb2e11185c660dfff1020ab4a1ca803ab69ab28dc2fd8b5c3855f45c0b77851b8e6edeb0dc5bf6cbd4 SHA512 54420956b36f3bccabea2171a4103ca20d6b136e1d1f7f217e0ec735be4542bbd840ef228c55f3e9103ad2f9fb41393e611d5aaa1521d01fdd163b770b80ba0b
+DIST llvm-project-f3e6473df46fd920e09e06e57a5549eb8e3a8bd3.tar.gz 229893133 BLAKE2B 20a14a99fb55070c30b05298916875d7f7b5476bc47c72f675204adb62daf1126bc83f2e7e51867042cb0ea415f04ef32653118116d01f666a82dc888fb6e999 SHA512 f11eac15fc1d96232267d588fa1c41ebbff3367b1fccf1cfd43f3290f682b73ffa78f2336a2a155c41ef67cf4e6f43019b152996d790f03acf4b9b732a3cf4b7

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250405.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250405.ebuild
new file mode 100644
index 000000000000..30245857a84e
--- /dev/null
+++ b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250405.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic llvm.org
+
+DESCRIPTION="LLVM's Fortran runtime"
+HOMEPAGE="https://flang.llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions"
+SLOT="${LLVM_MAJOR}"
+IUSE="+debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	!<llvm-core/flang-21.0.0_pre20250221-r1
+"
+BDEPEND="
+	llvm-core/llvm:${LLVM_MAJOR}
+	llvm-core/flang
+	test? (
+		dev-python/lit
+	)
+"
+
+LLVM_COMPONENTS=(
+	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
+)
+llvm.org_set_globals
+
+src_configure() {
+	# the code is not portable
+	local -x FC=flang F77=flang
+	strip-unsupported-flags
+
+	local mycmakeargs=(
+		# we may not have a runtime yet
+		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
+
+		-DLLVM_ENABLE_RUNTIMES="flang-rt"
+		# this package forces NO_DEFAULT_PATHS
+		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
+
+		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
+	)
+	use test && mycmakeargs+=(
+		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+		-DLLVM_LIT_ARGS="$(get_lit_flags)"
+	)
+
+	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+	cmake_src_configure
+}
+
+src_test() {
+	# respect TMPDIR!
+	local -x LIT_PRESERVES_TMP=1
+	cmake_build check-flang-rt
+}
+
+src_install() {
+	cmake_src_install
+
+	# in standalone build, the library is installed to (incorrect) resource dir
+	# but the driver only looks for it in lib (sigh)
+	# https://github.com/llvm/llvm-project/issues/127538
+	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
+	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
+		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-03-29 10:27 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-03-29 10:27 UTC (permalink / raw
  To: gentoo-commits

commit:     b4e3c6cf016c0a512c0e51e7a009cfa776fe2f34
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 29 10:25:45 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 29 10:25:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e3c6cf

llvm-runtimes/flang-rt: Add 21.0.0_pre20250329 snapshot

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  1 +
 .../flang-rt/flang-rt-21.0.0_pre20250329.ebuild    | 72 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
index 8b4d3237c46b..1fe3ff455123 100644
--- a/llvm-runtimes/flang-rt/Manifest
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -1,2 +1,3 @@
 DIST llvm-project-1c3a9a853ce68c3c539e7cab21380b9d8b18f426.tar.gz 229448743 BLAKE2B c1eacc2ed05c460f56cf83f16b982e3fa4ac530483d7cf003034239aff3b3dbffbdd3042a3f295a83ec94fcf32f802714e4937fd3761a5e03d4ed1b4093e81bf SHA512 98b7e9fa330a6fce33ca9757caf5d2e41d0b73117cb24b2aed880274c2d6f8a8c1a0028dd0e773fa42deb61dbe3b9dd4fb2f44e50814b966fcdeae8e5b417e6d
 DIST llvm-project-1d133420dc512487e2be0e9d86755f2a7c3497a7.tar.gz 229268288 BLAKE2B aca79bcca631deeab429a03cd2732d78d8ecf0c9615bce181445ed875436806609dc85a57d4f97109492833d620d060ea93fed450a4912c2d94597aeabf84974 SHA512 24ecadfccdf785bfbf27d5007afd2a4d5868493b2c5f48d6cf07c335bfbfef5cba4f12a639971e5f95877ae3b8c7b7fc0c210e404d21036af553de82a5059037
+DIST llvm-project-21eeca3db0341fef4ab4a6464ffe38b2eba5810c.tar.gz 229546432 BLAKE2B e783f08b93498b252741a07fd3aa3383ca93f66688f9bbdb2e11185c660dfff1020ab4a1ca803ab69ab28dc2fd8b5c3855f45c0b77851b8e6edeb0dc5bf6cbd4 SHA512 54420956b36f3bccabea2171a4103ca20d6b136e1d1f7f217e0ec735be4542bbd840ef228c55f3e9103ad2f9fb41393e611d5aaa1521d01fdd163b770b80ba0b

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250329.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250329.ebuild
new file mode 100644
index 000000000000..30245857a84e
--- /dev/null
+++ b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250329.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic llvm.org
+
+DESCRIPTION="LLVM's Fortran runtime"
+HOMEPAGE="https://flang.llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions"
+SLOT="${LLVM_MAJOR}"
+IUSE="+debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	!<llvm-core/flang-21.0.0_pre20250221-r1
+"
+BDEPEND="
+	llvm-core/llvm:${LLVM_MAJOR}
+	llvm-core/flang
+	test? (
+		dev-python/lit
+	)
+"
+
+LLVM_COMPONENTS=(
+	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
+)
+llvm.org_set_globals
+
+src_configure() {
+	# the code is not portable
+	local -x FC=flang F77=flang
+	strip-unsupported-flags
+
+	local mycmakeargs=(
+		# we may not have a runtime yet
+		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
+
+		-DLLVM_ENABLE_RUNTIMES="flang-rt"
+		# this package forces NO_DEFAULT_PATHS
+		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
+
+		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
+	)
+	use test && mycmakeargs+=(
+		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+		-DLLVM_LIT_ARGS="$(get_lit_flags)"
+	)
+
+	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+	cmake_src_configure
+}
+
+src_test() {
+	# respect TMPDIR!
+	local -x LIT_PRESERVES_TMP=1
+	cmake_build check-flang-rt
+}
+
+src_install() {
+	cmake_src_install
+
+	# in standalone build, the library is installed to (incorrect) resource dir
+	# but the driver only looks for it in lib (sigh)
+	# https://github.com/llvm/llvm-project/issues/127538
+	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
+	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
+		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-03-22 10:43 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-03-22 10:43 UTC (permalink / raw
  To: gentoo-commits

commit:     d4918c5d49c0c5be38cac58a7f5829ee0ba506fa
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 22 10:41:24 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 22 10:41:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4918c5d

llvm-runtimes/flang-rt: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  1 -
 .../flang-rt/flang-rt-21.0.0_pre20250311.ebuild    | 72 ----------------------
 2 files changed, 73 deletions(-)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
index d1add7a17b9b..8b4d3237c46b 100644
--- a/llvm-runtimes/flang-rt/Manifest
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -1,3 +1,2 @@
 DIST llvm-project-1c3a9a853ce68c3c539e7cab21380b9d8b18f426.tar.gz 229448743 BLAKE2B c1eacc2ed05c460f56cf83f16b982e3fa4ac530483d7cf003034239aff3b3dbffbdd3042a3f295a83ec94fcf32f802714e4937fd3761a5e03d4ed1b4093e81bf SHA512 98b7e9fa330a6fce33ca9757caf5d2e41d0b73117cb24b2aed880274c2d6f8a8c1a0028dd0e773fa42deb61dbe3b9dd4fb2f44e50814b966fcdeae8e5b417e6d
 DIST llvm-project-1d133420dc512487e2be0e9d86755f2a7c3497a7.tar.gz 229268288 BLAKE2B aca79bcca631deeab429a03cd2732d78d8ecf0c9615bce181445ed875436806609dc85a57d4f97109492833d620d060ea93fed450a4912c2d94597aeabf84974 SHA512 24ecadfccdf785bfbf27d5007afd2a4d5868493b2c5f48d6cf07c335bfbfef5cba4f12a639971e5f95877ae3b8c7b7fc0c210e404d21036af553de82a5059037
-DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 BLAKE2B 1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6 SHA512 07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250311.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250311.ebuild
deleted file mode 100644
index 30245857a84e..000000000000
--- a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250311.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic llvm.org
-
-DESCRIPTION="LLVM's Fortran runtime"
-HOMEPAGE="https://flang.llvm.org/"
-
-LICENSE="Apache-2.0-with-LLVM-exceptions"
-SLOT="${LLVM_MAJOR}"
-IUSE="+debug test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	!<llvm-core/flang-21.0.0_pre20250221-r1
-"
-BDEPEND="
-	llvm-core/llvm:${LLVM_MAJOR}
-	llvm-core/flang
-	test? (
-		dev-python/lit
-	)
-"
-
-LLVM_COMPONENTS=(
-	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
-)
-llvm.org_set_globals
-
-src_configure() {
-	# the code is not portable
-	local -x FC=flang F77=flang
-	strip-unsupported-flags
-
-	local mycmakeargs=(
-		# we may not have a runtime yet
-		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
-
-		-DLLVM_ENABLE_RUNTIMES="flang-rt"
-		# this package forces NO_DEFAULT_PATHS
-		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
-
-		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
-	)
-	use test && mycmakeargs+=(
-		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-		-DLLVM_LIT_ARGS="$(get_lit_flags)"
-	)
-
-	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-	cmake_src_configure
-}
-
-src_test() {
-	# respect TMPDIR!
-	local -x LIT_PRESERVES_TMP=1
-	cmake_build check-flang-rt
-}
-
-src_install() {
-	cmake_src_install
-
-	# in standalone build, the library is installed to (incorrect) resource dir
-	# but the driver only looks for it in lib (sigh)
-	# https://github.com/llvm/llvm-project/issues/127538
-	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
-	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
-		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
-}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-03-17 20:13 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-03-17 20:13 UTC (permalink / raw
  To: gentoo-commits

commit:     7d59ffc9da32163e119c46874886418707a8d96c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 17 17:57:37 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 20:13:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d59ffc9

llvm-runtimes/flang-rt: Add 21.0.0_pre20250317 snapshot

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  1 +
 .../flang-rt/flang-rt-21.0.0_pre20250317.ebuild    | 72 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
index c0f3bf3f38ba..e6d56a6b3e5a 100644
--- a/llvm-runtimes/flang-rt/Manifest
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -1 +1,2 @@
+DIST llvm-project-1c3a9a853ce68c3c539e7cab21380b9d8b18f426.tar.gz 229448743 BLAKE2B c1eacc2ed05c460f56cf83f16b982e3fa4ac530483d7cf003034239aff3b3dbffbdd3042a3f295a83ec94fcf32f802714e4937fd3761a5e03d4ed1b4093e81bf SHA512 98b7e9fa330a6fce33ca9757caf5d2e41d0b73117cb24b2aed880274c2d6f8a8c1a0028dd0e773fa42deb61dbe3b9dd4fb2f44e50814b966fcdeae8e5b417e6d
 DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 BLAKE2B 1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6 SHA512 07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250317.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250317.ebuild
new file mode 100644
index 000000000000..30245857a84e
--- /dev/null
+++ b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250317.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic llvm.org
+
+DESCRIPTION="LLVM's Fortran runtime"
+HOMEPAGE="https://flang.llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions"
+SLOT="${LLVM_MAJOR}"
+IUSE="+debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	!<llvm-core/flang-21.0.0_pre20250221-r1
+"
+BDEPEND="
+	llvm-core/llvm:${LLVM_MAJOR}
+	llvm-core/flang
+	test? (
+		dev-python/lit
+	)
+"
+
+LLVM_COMPONENTS=(
+	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
+)
+llvm.org_set_globals
+
+src_configure() {
+	# the code is not portable
+	local -x FC=flang F77=flang
+	strip-unsupported-flags
+
+	local mycmakeargs=(
+		# we may not have a runtime yet
+		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
+
+		-DLLVM_ENABLE_RUNTIMES="flang-rt"
+		# this package forces NO_DEFAULT_PATHS
+		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
+
+		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
+	)
+	use test && mycmakeargs+=(
+		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+		-DLLVM_LIT_ARGS="$(get_lit_flags)"
+	)
+
+	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+	cmake_src_configure
+}
+
+src_test() {
+	# respect TMPDIR!
+	local -x LIT_PRESERVES_TMP=1
+	cmake_build check-flang-rt
+}
+
+src_install() {
+	cmake_src_install
+
+	# in standalone build, the library is installed to (incorrect) resource dir
+	# but the driver only looks for it in lib (sigh)
+	# https://github.com/llvm/llvm-project/issues/127538
+	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
+	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
+		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-03-16 17:41 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-03-16 17:41 UTC (permalink / raw
  To: gentoo-commits

commit:     ea28d70747adea65dbdc6a654b0894c1d57b343d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 16 17:30:30 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 16 17:30:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea28d707

llvm-runtimes/flang-rt: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  1 -
 .../flang-rt/flang-rt-21.0.0_pre20250301.ebuild    | 72 ----------------------
 2 files changed, 73 deletions(-)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
index 93dc82ee1ec4..c0f3bf3f38ba 100644
--- a/llvm-runtimes/flang-rt/Manifest
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -1,2 +1 @@
-DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442
 DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 BLAKE2B 1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6 SHA512 07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250301.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250301.ebuild
deleted file mode 100644
index 30245857a84e..000000000000
--- a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250301.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic llvm.org
-
-DESCRIPTION="LLVM's Fortran runtime"
-HOMEPAGE="https://flang.llvm.org/"
-
-LICENSE="Apache-2.0-with-LLVM-exceptions"
-SLOT="${LLVM_MAJOR}"
-IUSE="+debug test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	!<llvm-core/flang-21.0.0_pre20250221-r1
-"
-BDEPEND="
-	llvm-core/llvm:${LLVM_MAJOR}
-	llvm-core/flang
-	test? (
-		dev-python/lit
-	)
-"
-
-LLVM_COMPONENTS=(
-	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
-)
-llvm.org_set_globals
-
-src_configure() {
-	# the code is not portable
-	local -x FC=flang F77=flang
-	strip-unsupported-flags
-
-	local mycmakeargs=(
-		# we may not have a runtime yet
-		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
-
-		-DLLVM_ENABLE_RUNTIMES="flang-rt"
-		# this package forces NO_DEFAULT_PATHS
-		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
-
-		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
-	)
-	use test && mycmakeargs+=(
-		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-		-DLLVM_LIT_ARGS="$(get_lit_flags)"
-	)
-
-	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-	cmake_src_configure
-}
-
-src_test() {
-	# respect TMPDIR!
-	local -x LIT_PRESERVES_TMP=1
-	cmake_build check-flang-rt
-}
-
-src_install() {
-	cmake_src_install
-
-	# in standalone build, the library is installed to (incorrect) resource dir
-	# but the driver only looks for it in lib (sigh)
-	# https://github.com/llvm/llvm-project/issues/127538
-	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
-	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
-		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
-}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-03-11 14:56 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-03-11 14:56 UTC (permalink / raw
  To: gentoo-commits

commit:     ac50e080ddb2cd9b6d10a140f700c2ff577ac490
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 11 14:51:43 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar 11 14:56:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac50e080

llvm-runtimes/flang-rt: Add 21.0.0_pre20250311 snapshot

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  1 +
 .../flang-rt/flang-rt-21.0.0_pre20250311.ebuild    | 72 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
index afd12932d6bc..93dc82ee1ec4 100644
--- a/llvm-runtimes/flang-rt/Manifest
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -1 +1,2 @@
 DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442
+DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 BLAKE2B 1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6 SHA512 07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250311.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250311.ebuild
new file mode 100644
index 000000000000..30245857a84e
--- /dev/null
+++ b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250311.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic llvm.org
+
+DESCRIPTION="LLVM's Fortran runtime"
+HOMEPAGE="https://flang.llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions"
+SLOT="${LLVM_MAJOR}"
+IUSE="+debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	!<llvm-core/flang-21.0.0_pre20250221-r1
+"
+BDEPEND="
+	llvm-core/llvm:${LLVM_MAJOR}
+	llvm-core/flang
+	test? (
+		dev-python/lit
+	)
+"
+
+LLVM_COMPONENTS=(
+	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
+)
+llvm.org_set_globals
+
+src_configure() {
+	# the code is not portable
+	local -x FC=flang F77=flang
+	strip-unsupported-flags
+
+	local mycmakeargs=(
+		# we may not have a runtime yet
+		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
+
+		-DLLVM_ENABLE_RUNTIMES="flang-rt"
+		# this package forces NO_DEFAULT_PATHS
+		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
+
+		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
+	)
+	use test && mycmakeargs+=(
+		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+		-DLLVM_LIT_ARGS="$(get_lit_flags)"
+	)
+
+	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+	cmake_src_configure
+}
+
+src_test() {
+	# respect TMPDIR!
+	local -x LIT_PRESERVES_TMP=1
+	cmake_build check-flang-rt
+}
+
+src_install() {
+	cmake_src_install
+
+	# in standalone build, the library is installed to (incorrect) resource dir
+	# but the driver only looks for it in lib (sigh)
+	# https://github.com/llvm/llvm-project/issues/127538
+	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
+	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
+		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-03-05 10:39 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-03-05 10:39 UTC (permalink / raw
  To: gentoo-commits

commit:     b253dab119303a51168779535f7291bf933a1963
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  5 10:33:27 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar  5 10:39:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b253dab1

llvm-runtimes/flang-rt: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  1 -
 .../flang-rt/flang-rt-21.0.0_pre20250225.ebuild    | 72 ----------------------
 2 files changed, 73 deletions(-)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
index c7fdddbe6ab3..afd12932d6bc 100644
--- a/llvm-runtimes/flang-rt/Manifest
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -1,2 +1 @@
 DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442
-DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 BLAKE2B 3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b SHA512 135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250225.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250225.ebuild
deleted file mode 100644
index 30245857a84e..000000000000
--- a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250225.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic llvm.org
-
-DESCRIPTION="LLVM's Fortran runtime"
-HOMEPAGE="https://flang.llvm.org/"
-
-LICENSE="Apache-2.0-with-LLVM-exceptions"
-SLOT="${LLVM_MAJOR}"
-IUSE="+debug test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	!<llvm-core/flang-21.0.0_pre20250221-r1
-"
-BDEPEND="
-	llvm-core/llvm:${LLVM_MAJOR}
-	llvm-core/flang
-	test? (
-		dev-python/lit
-	)
-"
-
-LLVM_COMPONENTS=(
-	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
-)
-llvm.org_set_globals
-
-src_configure() {
-	# the code is not portable
-	local -x FC=flang F77=flang
-	strip-unsupported-flags
-
-	local mycmakeargs=(
-		# we may not have a runtime yet
-		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
-
-		-DLLVM_ENABLE_RUNTIMES="flang-rt"
-		# this package forces NO_DEFAULT_PATHS
-		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
-
-		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
-	)
-	use test && mycmakeargs+=(
-		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-		-DLLVM_LIT_ARGS="$(get_lit_flags)"
-	)
-
-	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-	cmake_src_configure
-}
-
-src_test() {
-	# respect TMPDIR!
-	local -x LIT_PRESERVES_TMP=1
-	cmake_build check-flang-rt
-}
-
-src_install() {
-	cmake_src_install
-
-	# in standalone build, the library is installed to (incorrect) resource dir
-	# but the driver only looks for it in lib (sigh)
-	# https://github.com/llvm/llvm-project/issues/127538
-	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
-	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
-		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
-}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-02-25 14:03 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-02-25 14:03 UTC (permalink / raw
  To: gentoo-commits

commit:     59010a59be460fabfb9942a1bd016cbd035ab97c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 25 12:50:19 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 25 14:03:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59010a59

llvm-runtimes/flang-rt: Add 21.0.0_pre20250225 snapshot

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  1 +
 .../flang-rt/flang-rt-21.0.0_pre20250225.ebuild    | 72 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
index 077ac2c8fe68..7af56d1293ec 100644
--- a/llvm-runtimes/flang-rt/Manifest
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -1 +1,2 @@
 DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 BLAKE2B 28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d SHA512 d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5
+DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 BLAKE2B 3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b SHA512 135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250225.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250225.ebuild
new file mode 100644
index 000000000000..30245857a84e
--- /dev/null
+++ b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250225.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic llvm.org
+
+DESCRIPTION="LLVM's Fortran runtime"
+HOMEPAGE="https://flang.llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions"
+SLOT="${LLVM_MAJOR}"
+IUSE="+debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	!<llvm-core/flang-21.0.0_pre20250221-r1
+"
+BDEPEND="
+	llvm-core/llvm:${LLVM_MAJOR}
+	llvm-core/flang
+	test? (
+		dev-python/lit
+	)
+"
+
+LLVM_COMPONENTS=(
+	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
+)
+llvm.org_set_globals
+
+src_configure() {
+	# the code is not portable
+	local -x FC=flang F77=flang
+	strip-unsupported-flags
+
+	local mycmakeargs=(
+		# we may not have a runtime yet
+		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
+
+		-DLLVM_ENABLE_RUNTIMES="flang-rt"
+		# this package forces NO_DEFAULT_PATHS
+		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
+
+		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
+	)
+	use test && mycmakeargs+=(
+		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+		-DLLVM_LIT_ARGS="$(get_lit_flags)"
+	)
+
+	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+	cmake_src_configure
+}
+
+src_test() {
+	# respect TMPDIR!
+	local -x LIT_PRESERVES_TMP=1
+	cmake_build check-flang-rt
+}
+
+src_install() {
+	cmake_src_install
+
+	# in standalone build, the library is installed to (incorrect) resource dir
+	# but the driver only looks for it in lib (sigh)
+	# https://github.com/llvm/llvm-project/issues/127538
+	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
+	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
+		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/
@ 2025-02-24 14:14 Michał Górny
  0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2025-02-24 14:14 UTC (permalink / raw
  To: gentoo-commits

commit:     bfd4bcd64e80a2da8cef9fc674e3b9b0109eb58f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 24 12:54:57 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 24 14:13:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfd4bcd6

llvm-runtimes/flang-rt: Add a split package for Flang runtime

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/flang-rt/Manifest                    |  1 +
 llvm-runtimes/flang-rt/flang-rt-21.0.0.9999.ebuild | 72 ++++++++++++++++++++++
 .../flang-rt/flang-rt-21.0.0_pre20250221.ebuild    | 72 ++++++++++++++++++++++
 llvm-runtimes/flang-rt/metadata.xml                | 10 +++
 4 files changed, 155 insertions(+)

diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest
new file mode 100644
index 000000000000..077ac2c8fe68
--- /dev/null
+++ b/llvm-runtimes/flang-rt/Manifest
@@ -0,0 +1 @@
+DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 BLAKE2B 28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d SHA512 d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0.9999.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0.9999.ebuild
new file mode 100644
index 000000000000..30245857a84e
--- /dev/null
+++ b/llvm-runtimes/flang-rt/flang-rt-21.0.0.9999.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic llvm.org
+
+DESCRIPTION="LLVM's Fortran runtime"
+HOMEPAGE="https://flang.llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions"
+SLOT="${LLVM_MAJOR}"
+IUSE="+debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	!<llvm-core/flang-21.0.0_pre20250221-r1
+"
+BDEPEND="
+	llvm-core/llvm:${LLVM_MAJOR}
+	llvm-core/flang
+	test? (
+		dev-python/lit
+	)
+"
+
+LLVM_COMPONENTS=(
+	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
+)
+llvm.org_set_globals
+
+src_configure() {
+	# the code is not portable
+	local -x FC=flang F77=flang
+	strip-unsupported-flags
+
+	local mycmakeargs=(
+		# we may not have a runtime yet
+		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
+
+		-DLLVM_ENABLE_RUNTIMES="flang-rt"
+		# this package forces NO_DEFAULT_PATHS
+		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
+
+		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
+	)
+	use test && mycmakeargs+=(
+		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+		-DLLVM_LIT_ARGS="$(get_lit_flags)"
+	)
+
+	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+	cmake_src_configure
+}
+
+src_test() {
+	# respect TMPDIR!
+	local -x LIT_PRESERVES_TMP=1
+	cmake_build check-flang-rt
+}
+
+src_install() {
+	cmake_src_install
+
+	# in standalone build, the library is installed to (incorrect) resource dir
+	# but the driver only looks for it in lib (sigh)
+	# https://github.com/llvm/llvm-project/issues/127538
+	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
+	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
+		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
+}

diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250221.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250221.ebuild
new file mode 100644
index 000000000000..30245857a84e
--- /dev/null
+++ b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250221.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic llvm.org
+
+DESCRIPTION="LLVM's Fortran runtime"
+HOMEPAGE="https://flang.llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions"
+SLOT="${LLVM_MAJOR}"
+IUSE="+debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	!<llvm-core/flang-21.0.0_pre20250221-r1
+"
+BDEPEND="
+	llvm-core/llvm:${LLVM_MAJOR}
+	llvm-core/flang
+	test? (
+		dev-python/lit
+	)
+"
+
+LLVM_COMPONENTS=(
+	runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit}
+)
+llvm.org_set_globals
+
+src_configure() {
+	# the code is not portable
+	local -x FC=flang F77=flang
+	strip-unsupported-flags
+
+	local mycmakeargs=(
+		# we may not have a runtime yet
+		-DCMAKE_Fortran_COMPILER_WORKS=TRUE
+
+		-DLLVM_ENABLE_RUNTIMES="flang-rt"
+		# this package forces NO_DEFAULT_PATHS
+		-DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
+
+		-DFLANG_RT_INCLUDE_TESTS=$(usex test)
+	)
+	use test && mycmakeargs+=(
+		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+		-DLLVM_LIT_ARGS="$(get_lit_flags)"
+	)
+
+	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+	cmake_src_configure
+}
+
+src_test() {
+	# respect TMPDIR!
+	local -x LIT_PRESERVES_TMP=1
+	cmake_build check-flang-rt
+}
+
+src_install() {
+	cmake_src_install
+
+	# in standalone build, the library is installed to (incorrect) resource dir
+	# but the driver only looks for it in lib (sigh)
+	# https://github.com/llvm/llvm-project/issues/127538
+	mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die
+	mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \
+		"${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die
+}

diff --git a/llvm-runtimes/flang-rt/metadata.xml b/llvm-runtimes/flang-rt/metadata.xml
new file mode 100644
index 000000000000..072910296ca3
--- /dev/null
+++ b/llvm-runtimes/flang-rt/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>llvm@gentoo.org</email>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">llvm/llvm-project</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-04-26 16:00 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-01 12:58 [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/flang-rt/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2025-04-26 15:59 Michał Górny
2025-04-20 11:50 Michał Górny
2025-04-19  6:29 Michał Górny
2025-04-15 10:15 Michał Górny
2025-04-15 10:15 Michał Górny
2025-04-12  4:57 Michał Górny
2025-04-05 12:24 Michał Górny
2025-03-29 10:27 Michał Górny
2025-03-22 10:43 Michał Górny
2025-03-17 20:13 Michał Górny
2025-03-16 17:41 Michał Górny
2025-03-11 14:56 Michał Górny
2025-03-05 10:39 Michał Górny
2025-02-25 14:03 Michał Górny
2025-02-24 14:14 Michał Górny

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