[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 2d5d570d21c17415ee6a75e0ec43c3ade1175bea Author: Michał Górny gentoo org> AuthorDate: Sat Mar 22 10:41:38 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 22 10:41:38 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d5d570d llvm-core/mlir: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 - llvm-core/mlir/mlir-21.0.0_pre20250311.ebuild | 204 -- 2 files changed, 205 deletions(-) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index d1add7a17b9b..8b4d3237c46b 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/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-core/mlir/mlir-21.0.0_pre20250311.ebuild b/llvm-core/mlir/mlir-21.0.0_pre20250311.ebuild deleted file mode 100644 index d69b14b4bb5c.. --- a/llvm-core/mlir/mlir-21.0.0_pre20250311.ebuild +++ /dev/null @@ -1,204 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake llvm.org multilib-minimal python-any-r1 - -DESCRIPTION="Multi-Level Intermediate Representation (library only)" -HOMEPAGE="https://mlir.llvm.org/"; - -LICENSE="Apache-2.0-with-LLVM-exceptions" -SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -IUSE="+debug test" -RESTRICT="!test? ( test )" - -DEPEND=" - ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - ${PYTHON_DEPS} - llvm-core/llvm:${LLVM_MAJOR} - test? ( - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') - ) -" - -LLVM_COMPONENTS=( mlir cmake ) -# tablegen tests use *.td files there -LLVM_TEST_COMPONENTS=( llvm/include ) -llvm.org_set_globals - -python_check_deps() { - if use test; then - python_has_version "dev-python/lit[${PYTHON_USEDEP}]" - fi -} - -src_prepare() { - llvm.org_src_prepare - - # https://github.com/llvm/llvm-project/issues/120902 - sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ - lib/ExecutionEngine/CMakeLists.txt || die -} - -check_distribution_components() { - if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then - local all_targets=() my_targets=() l - cd "${BUILD_DIR}" || die - - while read -r l; do - if [[ ${l} == install-*-stripped:* ]]; then - l=${l#install-} - l=${l%%-stripped*} - - case ${l} in - # meta-targets - mlir-libraries|distribution) - continue - ;; - # dylib - MLIR) - ;; - # installed test libraries - MLIRTestAnalysis|MLIRTestDialect|MLIRTestIR) - ;; - # static libraries - MLIR*) - continue - ;; - esac - - all_targets+=( "${l}" ) - fi - done < <(${NINJA} -t targets all) - - while read -r l; do - my_targets+=( "${l}" ) - done < <(get_distribution_components $"\n") - - local add=() remove=() - for l in "${all_targets[@]}"; do - if ! has "${l}" "${my_targets[@]}"; then - add+=( "${l}" ) -
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 05eb7e789d3990786958c2710442773530608f44 Author: Michał Górny gentoo org> AuthorDate: Mon Mar 17 17:57:23 2025 + Commit: Michał Górny gentoo org> CommitDate: Mon Mar 17 20:13:16 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05eb7e78 llvm-core/mlir: Add 21.0.0_pre20250317 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/mlir-21.0.0_pre20250317.ebuild | 247 ++ 2 files changed, 248 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index c0f3bf3f38ba..e6d56a6b3e5a 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/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-core/mlir/mlir-21.0.0_pre20250317.ebuild b/llvm-core/mlir/mlir-21.0.0_pre20250317.ebuild new file mode 100644 index ..eeedc760dbcb --- /dev/null +++ b/llvm-core/mlir/mlir-21.0.0_pre20250317.ebuild @@ -0,0 +1,247 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # installed test libraries + MLIRTestAnalysis|MLIRTestDialect|MLIRTestIR) + ;; + # static libraries + MLIR*) + continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remove=() + for l in "${all_targets[@]}"; do + if ! has "${l}" "${my_targets[@]}"; then + add+=( "${l}" ) + fi + done + for l in "${my_targets[@]}"; do + if ! has "${l}" "${all_targets[@]}"; then + remove+=( "${l}" ) + fi + done + + if [[ ${#add[@]} -gt 0 || ${#remove[@]} -gt 0 ]]; then +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 00e24c6fe4df77a6a6504a25e89cc36e825756d1 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 16 17:30:46 2025 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 16 17:30:46 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e24c6f llvm-core/mlir: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 - llvm-core/mlir/mlir-21.0.0_pre20250301.ebuild | 204 -- 2 files changed, 205 deletions(-) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index 93dc82ee1ec4..c0f3bf3f38ba 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/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-core/mlir/mlir-21.0.0_pre20250301.ebuild b/llvm-core/mlir/mlir-21.0.0_pre20250301.ebuild deleted file mode 100644 index d69b14b4bb5c.. --- a/llvm-core/mlir/mlir-21.0.0_pre20250301.ebuild +++ /dev/null @@ -1,204 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake llvm.org multilib-minimal python-any-r1 - -DESCRIPTION="Multi-Level Intermediate Representation (library only)" -HOMEPAGE="https://mlir.llvm.org/"; - -LICENSE="Apache-2.0-with-LLVM-exceptions" -SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -IUSE="+debug test" -RESTRICT="!test? ( test )" - -DEPEND=" - ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - ${PYTHON_DEPS} - llvm-core/llvm:${LLVM_MAJOR} - test? ( - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') - ) -" - -LLVM_COMPONENTS=( mlir cmake ) -# tablegen tests use *.td files there -LLVM_TEST_COMPONENTS=( llvm/include ) -llvm.org_set_globals - -python_check_deps() { - if use test; then - python_has_version "dev-python/lit[${PYTHON_USEDEP}]" - fi -} - -src_prepare() { - llvm.org_src_prepare - - # https://github.com/llvm/llvm-project/issues/120902 - sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ - lib/ExecutionEngine/CMakeLists.txt || die -} - -check_distribution_components() { - if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then - local all_targets=() my_targets=() l - cd "${BUILD_DIR}" || die - - while read -r l; do - if [[ ${l} == install-*-stripped:* ]]; then - l=${l#install-} - l=${l%%-stripped*} - - case ${l} in - # meta-targets - mlir-libraries|distribution) - continue - ;; - # dylib - MLIR) - ;; - # installed test libraries - MLIRTestAnalysis|MLIRTestDialect|MLIRTestIR) - ;; - # static libraries - MLIR*) - continue - ;; - esac - - all_targets+=( "${l}" ) - fi - done < <(${NINJA} -t targets all) - - while read -r l; do - my_targets+=( "${l}" ) - done < <(get_distribution_components $"\n") - - local add=() remove=() - for l in "${all_targets[@]}"; do - if ! has "${l}" "${my_targets[@]}"; then - add+=( "${l}" ) - fi - done - for l in "${my_targets[@]}"; do - if ! has "${l}" "${all_targets[@]}"; then - remove+=( "${l}" ) - fi - done - - if [[ ${#add[@]} -gt 0 || ${#remove[@]} -gt 0 ]]; then -
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 111ce6fa1f930a2a689c8f67f9163610a3dfbf42 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 16 14:39:44 2025 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 16 16:59:44 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=111ce6fa llvm-core/mlir: Mark broken tests as XFAIL Bug: https://github.com/llvm/llvm-project/issues/124410 Bug: https://github.com/llvm/llvm-project/issues/124541 Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/mlir-21.0.0..ebuild | 43 ++ 1 file changed, 43 insertions(+) diff --git a/llvm-core/mlir/mlir-21.0.0..ebuild b/llvm-core/mlir/mlir-21.0.0..ebuild index d69b14b4bb5c..eeedc760dbcb 100644 --- a/llvm-core/mlir/mlir-21.0.0..ebuild +++ b/llvm-core/mlir/mlir-21.0.0..ebuild @@ -194,8 +194,51 @@ multilib_src_compile() { } multilib_src_test() { + local known_xfail=( + # TODO: Gentoo-specific + # https://github.com/llvm/llvm-project/issues/124410 + Dialect/SPIRV/IR/availability.mlir + Dialect/SPIRV/IR/target-env.mlir + ) + + case ${ABI} in + arm|ppc|x86) + known_xfail+=( + # MLIR is full of 64-bit assumptions, sigh + # https://github.com/llvm/llvm-project/issues/124541 + Conversion/ConvertToSPIRV/func-signature-vector-unroll.mlir + Conversion/ConvertToSPIRV/vector-unroll.mlir + Conversion/MathToLibm/convert-to-libm.mlir + Conversion/MemRefToLLVM/memref-to-llvm.mlir + Conversion/VectorToLLVM/vector-to-llvm.mlir + Dialect/ArmSVE/legalize-for-llvm.mlir + Dialect/Bufferization/Transforms/one-shot-bufferize-pass-statistics.mlir + Dialect/GPU/transform-gpu.mlir + Dialect/LLVMIR/sroa-statistics.mlir + Dialect/Linalg/mesh-spmdization.mlir + Dialect/Linalg/vectorize-tensor-extract.mlir + Dialect/Math/polynomial-approximation.mlir + Dialect/MemRef/expand-strided-metadata.mlir + Dialect/MemRef/fold-memref-alias-ops.mlir + Dialect/MemRef/mem2reg-statistics.mlir + Dialect/Mesh/all-scatter-op-lowering.mlir + Dialect/Tensor/fold-tensor-subset-ops.mlir + Dialect/Tensor/tracking-listener.mlir + Dialect/Vector/canonicalize.mlir + Dialect/Vector/vector-bitcast-lowering-transforms.mlir + Dialect/Vector/vector-deinterleave-lowering-transforms.mlir + Dialect/Vector/vector-interleave-lowering-transforms.mlir + Dialect/Vector/vector-unroll-options.mlir + Pass/pipeline-stats-nested.mlir + Pass/pipeline-stats.mlir + ) + ;; + esac + # respect TMPDIR! local -x LIT_PRESERVES_TMP=1 + local -x LIT_XFAIL="${known_xfail[*]}" + LIT_XFAIL=${LIT_XFAIL// /;} cmake_build check-mlir }
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: c6a1e77d3d3b8c029f288265834c49cf3dd4e490 Author: Michał Górny gentoo org> AuthorDate: Tue Mar 11 14:51:32 2025 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 11 14:56:20 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a1e77d llvm-core/mlir: Add 21.0.0_pre20250311 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/mlir-21.0.0_pre20250311.ebuild | 204 ++ 2 files changed, 205 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index afd12932d6bc..93dc82ee1ec4 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/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-core/mlir/mlir-21.0.0_pre20250311.ebuild b/llvm-core/mlir/mlir-21.0.0_pre20250311.ebuild new file mode 100644 index ..d69b14b4bb5c --- /dev/null +++ b/llvm-core/mlir/mlir-21.0.0_pre20250311.ebuild @@ -0,0 +1,204 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # installed test libraries + MLIRTestAnalysis|MLIRTestDialect|MLIRTestIR) + ;; + # static libraries + MLIR*) + continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remove=() + for l in "${all_targets[@]}"; do + if ! has "${l}" "${my_targets[@]}"; then + add+=( "${l}" ) + fi + done + for l in "${my_targets[@]}"; do + if ! has "${l}" "${all_targets[@]}"; then + remove+=( "${l}" ) + fi + done + + if [[ ${#add[@]} -gt 0 || ${#remove[@]} -gt 0 ]]; then +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 4ca3d7e36a6e69822ea7c367c901de846ae7cef6 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 5 09:59:50 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 10:12:45 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ca3d7e3 llvm-core/mlir: Remove version 20.1.0 This package has no reverse dependencies in this slot, and has failing tests. Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 2 - llvm-core/mlir/mlir-20.1.0.ebuild | 196 -- 2 files changed, 198 deletions(-) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index fe0df5a686ce..afd12932d6bc 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,3 +1 @@ -DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803 SHA512 c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397 -DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456 SHA512 68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442 diff --git a/llvm-core/mlir/mlir-20.1.0.ebuild b/llvm-core/mlir/mlir-20.1.0.ebuild deleted file mode 100644 index 73ba1e3228b6.. --- a/llvm-core/mlir/mlir-20.1.0.ebuild +++ /dev/null @@ -1,196 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake llvm.org multilib-minimal python-any-r1 - -DESCRIPTION="Multi-Level Intermediate Representation (library only)" -HOMEPAGE="https://mlir.llvm.org/"; - -LICENSE="Apache-2.0-with-LLVM-exceptions" -SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -IUSE="+debug test" -RESTRICT="!test? ( test )" - -DEPEND=" - ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - ${PYTHON_DEPS} - llvm-core/llvm:${LLVM_MAJOR} - test? ( - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') - ) -" - -LLVM_COMPONENTS=( mlir cmake ) -# tablegen tests use *.td files there -LLVM_TEST_COMPONENTS=( llvm/include ) -llvm.org_set_globals - -python_check_deps() { - if use test; then - python_has_version "dev-python/lit[${PYTHON_USEDEP}]" - fi -} - -src_prepare() { - llvm.org_src_prepare - - # https://github.com/llvm/llvm-project/issues/120902 - sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ - lib/ExecutionEngine/CMakeLists.txt || die -} - -check_distribution_components() { - if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then - local all_targets=() my_targets=() l - cd "${BUILD_DIR}" || die - - while read -r l; do - if [[ ${l} == install-*-stripped:* ]]; then - l=${l#install-} - l=${l%%-stripped*} - - case ${l} in - # meta-targets - mlir-libraries|distribution) - continue - ;; - # dylib - MLIR) - ;; - # static libraries - MLIR*) - continue - ;; - esac - - all_targets+=( "${l}" ) - fi - done < <(${NINJA} -t targets all) - - while read -r l; do - my_targets+=( "${l}" ) - done < <(get_distribution_components $"\n") - - local add=() remove=() - for l in "${all_targets[@]}"; do - if ! has "${l}" "${my_targets[@]}"; then - add+=( "${l}" ) - fi - done - for l in "${my_targets[@]}"; do - if ! has "${l}" "${all_targets[@]}"; then - remove+=( "${l}" ) -
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 125fe07832d84b628e770a88abaa82431aaef0d1 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 5 06:13:15 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 06:13:15 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=125fe078 llvm-core/mlir: Add 20.1.0 (unkeyworded) Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 2 + llvm-core/mlir/mlir-20.1.0.ebuild | 196 ++ 2 files changed, 198 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index b4b5ae980509..3cbf1f11b12f 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,4 +1,6 @@ DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23 SHA512 9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26 SHA512 53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8 +DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803 SHA512 c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397 +DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456 SHA512 68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a 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-core/mlir/mlir-20.1.0.ebuild b/llvm-core/mlir/mlir-20.1.0.ebuild new file mode 100644 index ..73ba1e3228b6 --- /dev/null +++ b/llvm-core/mlir/mlir-20.1.0.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: a1bd34ec9e95d8672a537cdcec5a529d2d093960 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 1 12:56:12 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 1 12:58:20 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1bd34ec llvm-core/mlir: Add 21.0.0_pre20250301 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/mlir-21.0.0_pre20250301.ebuild | 204 ++ 2 files changed, 205 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index 580fd2b2..b4b5ae980509 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,3 +1,4 @@ DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23 SHA512 9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26 SHA512 53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8 +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-core/mlir/mlir-21.0.0_pre20250301.ebuild b/llvm-core/mlir/mlir-21.0.0_pre20250301.ebuild new file mode 100644 index ..d69b14b4bb5c --- /dev/null +++ b/llvm-core/mlir/mlir-21.0.0_pre20250301.ebuild @@ -0,0 +1,204 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # installed test libraries + MLIRTestAnalysis|MLIRTestDialect|MLIRTestIR) + ;; + # static libraries + MLIR*) + continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: cfd033a1ebe8784bb5c3a86914402c8def3022b1 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 1 08:32:38 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 1 08:32:38 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfd033a1 llvm-core/mlir: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 5 - llvm-core/mlir/mlir-20.1.0_rc2.ebuild | 196 - llvm-core/mlir/mlir-21.0.0_pre20250211.ebuild | 204 -- llvm-core/mlir/mlir-21.0.0_pre20250215.ebuild | 204 -- llvm-core/mlir/mlir-21.0.0_pre20250221.ebuild | 204 -- 5 files changed, 813 deletions(-) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index 117843f70d63..580fd2b2 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,8 +1,3 @@ -DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb -DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23 SHA512 9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26 SHA512 53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8 -DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b -DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 BLAKE2B 28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d SHA512 d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5 -DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 BLAKE2B c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86 SHA512 0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 BLAKE2B 3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b SHA512 135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f diff --git a/llvm-core/mlir/mlir-20.1.0_rc2.ebuild b/llvm-core/mlir/mlir-20.1.0_rc2.ebuild deleted file mode 100644 index 73ba1e3228b6.. --- a/llvm-core/mlir/mlir-20.1.0_rc2.ebuild +++ /dev/null @@ -1,196 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake llvm.org multilib-minimal python-any-r1 - -DESCRIPTION="Multi-Level Intermediate Representation (library only)" -HOMEPAGE="https://mlir.llvm.org/"; - -LICENSE="Apache-2.0-with-LLVM-exceptions" -SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -IUSE="+debug test" -RESTRICT="!test? ( test )" - -DEPEND=" - ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - ${PYTHON_DEPS} - llvm-core/llvm:${LLVM_MAJOR} - test? ( - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') - ) -" - -LLVM_COMPONENTS=( mlir cmake ) -# tablegen tests use *.td files there -LLVM_TEST_COMPONENTS=( llvm/include ) -llvm.org_set_globals - -python_check_deps() { - if use test; then - python_has_version "dev-python/lit[${PYTHON_USEDEP}]" - fi -} - -src_prepare() { - llvm.org_src_prepare - - # https://github.com/llvm/llvm-project/issues/12090
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 87ea6cb53b3e8853c4fe063709acb79576b1bae2 Author: Michał Górny gentoo org> AuthorDate: Wed Feb 26 18:51:08 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Feb 26 18:55:11 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ea6cb5 llvm-core/mlir: Add 20.1.0_rc3 Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 2 + llvm-core/mlir/mlir-20.1.0_rc3.ebuild | 196 ++ 2 files changed, 198 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index 11495bc412a0..117843f70d63 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,5 +1,7 @@ DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce +DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23 SHA512 9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c +DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26 SHA512 53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8 DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 BLAKE2B 28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d SHA512 d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5 DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 BLAKE2B c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86 SHA512 0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb diff --git a/llvm-core/mlir/mlir-20.1.0_rc3.ebuild b/llvm-core/mlir/mlir-20.1.0_rc3.ebuild new file mode 100644 index ..73ba1e3228b6 --- /dev/null +++ b/llvm-core/mlir/mlir-20.1.0_rc3.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # m
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: f99e7ba89ce02320c5cb5adb12566470a4cbde36 Author: Michał Górny gentoo org> AuthorDate: Tue Feb 25 12:50:08 2025 + Commit: Michał Górny gentoo org> CommitDate: Tue Feb 25 14:03:04 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f99e7ba8 llvm-core/mlir: Add 21.0.0_pre20250225 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/mlir-21.0.0_pre20250225.ebuild | 204 ++ 2 files changed, 205 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index b1478c1555a2..11495bc412a0 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -3,3 +3,4 @@ DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5 DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 BLAKE2B 28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d SHA512 d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5 DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 BLAKE2B c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86 SHA512 0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb +DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 BLAKE2B 3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b SHA512 135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f diff --git a/llvm-core/mlir/mlir-21.0.0_pre20250225.ebuild b/llvm-core/mlir/mlir-21.0.0_pre20250225.ebuild new file mode 100644 index ..d69b14b4bb5c --- /dev/null +++ b/llvm-core/mlir/mlir-21.0.0_pre20250225.ebuild @@ -0,0 +1,204 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # installed test libraries + MLIRTestAnalysis|MLIRTestDialect|MLIRTestIR) + ;; + # static libraries + MLIR*) + continue + ;; + esac + +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 20a3c082d13e8b6c62d8a95d04df08e92d1135b4 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 22 15:09:56 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 22 15:19:05 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20a3c082 llvm-core/mlir: Add 21.0.0_pre20250221 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/mlir-21.0.0_pre20250221.ebuild | 204 ++ 2 files changed, 205 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index 2e6797070854..b1478c1555a2 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,4 +1,5 @@ DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b +DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 BLAKE2B 28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d SHA512 d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5 DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 BLAKE2B c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86 SHA512 0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb diff --git a/llvm-core/mlir/mlir-21.0.0_pre20250221.ebuild b/llvm-core/mlir/mlir-21.0.0_pre20250221.ebuild new file mode 100644 index ..d69b14b4bb5c --- /dev/null +++ b/llvm-core/mlir/mlir-21.0.0_pre20250221.ebuild @@ -0,0 +1,204 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # installed test libraries + MLIRTestAnalysis|MLIRTestDialect|MLIRTestIR) + ;; + # static libraries +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: b8afa485218e57a571abda94dccef9e9c6558f50 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 15 07:18:08 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 15 07:18:08 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8afa485 llvm-core/mlir: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 5 - llvm-core/mlir/mlir-20.0.0_pre20250125.ebuild | 196 -- llvm-core/mlir/mlir-20.1.0_rc1.ebuild | 196 -- llvm-core/mlir/mlir-21.0.0_pre20250201.ebuild | 196 -- llvm-core/mlir/mlir-21.0.0_pre20250208.ebuild | 196 -- 5 files changed, 789 deletions(-) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index f9bd8b0f7ad7..27b0e824b3bb 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,8 +1,3 @@ -DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac -DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 -DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b -DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 BLAKE2B 8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06 SHA512 2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077 -DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/mlir/mlir-20.0.0_pre20250125.ebuild b/llvm-core/mlir/mlir-20.0.0_pre20250125.ebuild deleted file mode 100644 index 73ba1e3228b6.. --- a/llvm-core/mlir/mlir-20.0.0_pre20250125.ebuild +++ /dev/null @@ -1,196 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake llvm.org multilib-minimal python-any-r1 - -DESCRIPTION="Multi-Level Intermediate Representation (library only)" -HOMEPAGE="https://mlir.llvm.org/"; - -LICENSE="Apache-2.0-with-LLVM-exceptions" -SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -IUSE="+debug test" -RESTRICT="!test? ( test )" - -DEPEND=" - ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - ${PYTHON_DEPS} - llvm-core/llvm:${LLVM_MAJOR} - test? ( - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') - ) -" - -LLVM_COMPONENTS=( mlir cmake ) -# tablegen tests use *.td files there -LLVM_TEST_COMPONENTS=( llvm/include ) -llvm.org_set_globals - -python_check_deps() { - if use test; then - python_has_version "dev-python/lit[${PYTHON_USEDEP}]" - fi -} - -src_prepare() { - llvm.org_src_prepare - - # https://github.com/llvm/
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: cb93fdb2a88cd6723061cee1e2dae900a3e83fa1 Author: Michał Górny gentoo org> AuthorDate: Thu Feb 13 07:47:55 2025 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 13 07:52:52 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb93fdb2 llvm-core/mlir: Add 20.1.0_rc2 Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 2 + llvm-core/mlir/mlir-20.1.0_rc2.ebuild | 196 ++ 2 files changed, 198 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index 80c6e58a9da8..f9bd8b0f7ad7 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,6 +1,8 @@ DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c +DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb +DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 BLAKE2B 8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06 SHA512 2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077 DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/mlir/mlir-20.1.0_rc2.ebuild b/llvm-core/mlir/mlir-20.1.0_rc2.ebuild new file mode 100644 index ..73ba1e3228b6 --- /dev/null +++ b/llvm-core/mlir/mlir-20.1.0_rc2.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=(
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: f784fb764cfe00952de9a3df370d88338e7c3d60 Author: Michał Górny gentoo org> AuthorDate: Tue Feb 11 10:56:44 2025 + Commit: Michał Górny gentoo org> CommitDate: Tue Feb 11 11:29:34 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f784fb76 llvm-core/mlir: Add 21.0.0_pre20250211 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/mlir-21.0.0_pre20250211.ebuild | 204 ++ 2 files changed, 205 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index 40edb55270b1..80c6e58a9da8 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,5 +1,6 @@ DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c +DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 BLAKE2B 8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06 SHA512 2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077 DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/mlir/mlir-21.0.0_pre20250211.ebuild b/llvm-core/mlir/mlir-21.0.0_pre20250211.ebuild new file mode 100644 index ..d69b14b4bb5c --- /dev/null +++ b/llvm-core/mlir/mlir-21.0.0_pre20250211.ebuild @@ -0,0 +1,204 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: ce06430cc16ea24ae1b63dc3a9c44412ea632b7a Author: Michał Górny gentoo org> AuthorDate: Sun Feb 9 15:16:19 2025 + Commit: Michał Górny gentoo org> CommitDate: Sun Feb 9 15:26:34 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce06430c llvm-core/mlir: Install libraries needed for flang tests Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/mlir-21.0.0..ebuild | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/llvm-core/mlir/mlir-21.0.0..ebuild b/llvm-core/mlir/mlir-21.0.0..ebuild index 73ba1e3228b6..d69b14b4bb5c 100644 --- a/llvm-core/mlir/mlir-21.0.0..ebuild +++ b/llvm-core/mlir/mlir-21.0.0..ebuild @@ -65,6 +65,9 @@ check_distribution_components() { # dylib MLIR) ;; + # installed test libraries + MLIRTestAnalysis|MLIRTestDialect|MLIRTestIR) + ;; # static libraries MLIR*) continue @@ -117,6 +120,11 @@ get_distribution_components() { mlir_c_runner_utils mlir_float16_utils mlir_runner_utils + + # test libraries required by flang + MLIRTestAnalysis + MLIRTestDialect + MLIRTestIR ) if multilib_is_native_abi; then @@ -151,7 +159,7 @@ multilib_src_configure() { -DLLVM_BUILD_LLVM_DYLIB=ON -DMLIR_BUILD_MLIR_C_DYLIB=OFF -DMLIR_LINK_MLIR_DYLIB=ON - -DMLIR_INCLUDE_TESTS=$(usex test) + -DMLIR_INCLUDE_TESTS=ON -DMLIR_INCLUDE_INTEGRATION_TESTS=OFF -DLLVM_DISTRIBUTION_COMPONENTS=$(get_distribution_components) # this enables installing mlir-tblgen and mlir-pdll
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 21489d69252edd520751abc6b10a06bc179bf6c5 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 8 11:48:45 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 8 11:48:45 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21489d69 llvm-core/mlir: Add 21.0.0_pre20250208 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/mlir-21.0.0_pre20250208.ebuild | 196 ++ 2 files changed, 197 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index 3b7e74e32b17..40edb55270b1 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,4 +1,5 @@ DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c +DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 BLAKE2B 8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06 SHA512 2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077 DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/mlir/mlir-21.0.0_pre20250208.ebuild b/llvm-core/mlir/mlir-21.0.0_pre20250208.ebuild new file mode 100644 index ..73ba1e3228b6 --- /dev/null +++ b/llvm-core/mlir/mlir-21.0.0_pre20250208.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # static libraries + MLIR*) + continue + ;; + esac + +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 7474c822f40ee28d3c5241bb6ff1d65bd564f76b Author: Michał Górny gentoo org> AuthorDate: Sun Feb 2 15:58:43 2025 + Commit: Michał Górny gentoo org> CommitDate: Sun Feb 2 18:25:02 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7474c822 llvm-core/mlir: Add 20.1.0_rc1 Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 2 + llvm-core/mlir/mlir-20.1.0_rc1.ebuild | 196 ++ 2 files changed, 198 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index f05a02b143e9..3b7e74e32b17 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,2 +1,4 @@ DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac +DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 +DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/mlir/mlir-20.1.0_rc1.ebuild b/llvm-core/mlir/mlir-20.1.0_rc1.ebuild new file mode 100644 index ..73ba1e3228b6 --- /dev/null +++ b/llvm-core/mlir/mlir-20.1.0_rc1.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # static libraries + MLIR*) + continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remove=() + for l in "${all_targets[@]}"; do + if ! has "${l}" "${my_targe
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 6c8e827889916e872caa984860b0895a2f1ea629 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 1 13:12:39 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 1 13:14:41 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c8e8278 llvm-core/mlir: Add 21.0.0_pre20250201 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/mlir-21.0.0_pre20250201.ebuild | 196 ++ 2 files changed, 197 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index c6dda673de93..f05a02b143e9 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1 +1,2 @@ DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac +DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/mlir/mlir-21.0.0_pre20250201.ebuild b/llvm-core/mlir/mlir-21.0.0_pre20250201.ebuild new file mode 100644 index ..73ba1e3228b6 --- /dev/null +++ b/llvm-core/mlir/mlir-21.0.0_pre20250201.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # static libraries + MLIR*) + continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remove=() + for l in "${all_targets[@]}"; do + if ! has "${l}" "${my_targets[@]}"; then + add+=( "${l}" ) + fi + done + for l in "${my_targets[@]}"; do + if ! has "${l}" "${all_targets[@]}"; then + remove+=( "${l}" ) + fi + done + + if [[ ${#add[@]} -gt 0 || ${#remove[@]} -gt 0 ]]; then + eqawarn "get_distribution_components() is outdated!" + eqawarn " Add: ${add[*]}" + eqawarn "Remove: ${remove[*]}" + fi +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 2b4c33fc8fe28df06459bffcb0d7311e017d8887 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 1 07:59:09 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 1 08:05:39 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b4c33fc llvm-core/mlir: main is now 21* Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/{mlir-20.0.0..ebuild => mlir-21.0.0..ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/llvm-core/mlir/mlir-20.0.0..ebuild b/llvm-core/mlir/mlir-21.0.0..ebuild similarity index 100% rename from llvm-core/mlir/mlir-20.0.0..ebuild rename to llvm-core/mlir/mlir-21.0.0..ebuild
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 6099b1302cbd5c977b7e5019a3085fce97d6b931 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 31 19:51:51 2025 + Commit: Michał Górny gentoo org> CommitDate: Fri Jan 31 21:50:53 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6099b130 llvm-core/mlir: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 3 - llvm-core/mlir/mlir-20.0.0_pre20250111.ebuild | 196 -- llvm-core/mlir/mlir-20.0.0_pre20250118.ebuild | 196 -- llvm-core/mlir/mlir-20.0.0_pre20250122.ebuild | 196 -- 4 files changed, 591 deletions(-) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index ccecc9faa3a0..c6dda673de93 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,4 +1 @@ DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac -DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc -DIST llvm-project-97c3a990f05606cb807faf53bc41302fb62c7980.tar.gz 226261635 BLAKE2B 9dd0bdfaa6ee984747f2d9d8b9606cd8d2e75fa64d45fd7c87227ddca7cffe888a1d932d73c123b25360690fd687554cc333fb3d871ab0e72ddd2b1158bae2e0 SHA512 466ae8aea014fd396f3fd6b77055238a672f012b79f25ed0b215e01f968a56dd4eeaf148d03246701b1ac4cbb8f02a4325142d6e5503fb6231e330c2e49e28e7 -DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 BLAKE2B ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f SHA512 0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d diff --git a/llvm-core/mlir/mlir-20.0.0_pre20250111.ebuild b/llvm-core/mlir/mlir-20.0.0_pre20250111.ebuild deleted file mode 100644 index b073548f9607.. --- a/llvm-core/mlir/mlir-20.0.0_pre20250111.ebuild +++ /dev/null @@ -1,196 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake llvm.org multilib-minimal python-any-r1 - -DESCRIPTION="Multi-Level Intermediate Representation (library only)" -HOMEPAGE="https://mlir.llvm.org/"; - -LICENSE="Apache-2.0-with-LLVM-exceptions" -SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -IUSE="+debug test" -RESTRICT="!test? ( test )" - -DEPEND=" - ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - ${PYTHON_DEPS} - llvm-core/llvm:${LLVM_MAJOR} - test? ( - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') - ) -" - -LLVM_COMPONENTS=( mlir cmake ) -# tablegen tests use *.td files there -LLVM_TEST_COMPONENTS=( llvm/include ) -llvm.org_set_globals - -python_check_deps() { - if use test; then - python_has_version "dev-python/lit[${PYTHON_USEDEP}]" - fi -} - -src_prepare() { - llvm.org_src_prepare - - # https://github.com/llvm/llvm-project/issues/120902 - sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ - lib/ExecutionEngine/CMakeLists.txt || die -} - -check_distribution_components() { - if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then - local all_targets=() my_targets=() l - cd "${BUILD_DIR}" || die - - while read -r l; do - if [[ ${l} == install-*-stripped:* ]]; then - l=${l#install-} - l=${l%%-stripped*} - - case ${l} in - # meta-targets - mlir-libraries|distribution) - continue - ;; - # dylib - MLIR) - ;; - # static libraries - MLIR*) - continue - ;; - esac - - all_targets+=( "${l}" ) - fi - done < <(${NINJA} -t targets all) - - while read -r l; do -
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 15429cdcb76f9b233694d7bcfc2ac4c0e3956e89 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 25 13:07:55 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 25 13:32:57 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15429cdc llvm-core/mlir: Add 20.0.0_pre20250125 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/mlir-20.0.0_pre20250125.ebuild | 196 ++ 2 files changed, 197 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index 8772086b4001..ccecc9faa3a0 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,3 +1,4 @@ +DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc DIST llvm-project-97c3a990f05606cb807faf53bc41302fb62c7980.tar.gz 226261635 BLAKE2B 9dd0bdfaa6ee984747f2d9d8b9606cd8d2e75fa64d45fd7c87227ddca7cffe888a1d932d73c123b25360690fd687554cc333fb3d871ab0e72ddd2b1158bae2e0 SHA512 466ae8aea014fd396f3fd6b77055238a672f012b79f25ed0b215e01f968a56dd4eeaf148d03246701b1ac4cbb8f02a4325142d6e5503fb6231e330c2e49e28e7 DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 BLAKE2B ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f SHA512 0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d diff --git a/llvm-core/mlir/mlir-20.0.0_pre20250125.ebuild b/llvm-core/mlir/mlir-20.0.0_pre20250125.ebuild new file mode 100644 index ..73ba1e3228b6 --- /dev/null +++ b/llvm-core/mlir/mlir-20.0.0_pre20250125.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # static libraries + MLIR*) + continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remov
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 44be8ae5f5ddd53c0c8456670f7fe80864680cba Author: Michał Górny gentoo org> AuthorDate: Sat Jan 25 08:00:21 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 25 08:29:01 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44be8ae5 llvm-core/mlir: Update distribution components Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/mlir-20.0.0..ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm-core/mlir/mlir-20.0.0..ebuild b/llvm-core/mlir/mlir-20.0.0..ebuild index 605b641fd141..73ba1e3228b6 100644 --- a/llvm-core/mlir/mlir-20.0.0..ebuild +++ b/llvm-core/mlir/mlir-20.0.0..ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -122,7 +122,6 @@ get_distribution_components() { if multilib_is_native_abi; then out+=( # tools - mlir-cpu-runner mlir-linalg-ods-yaml-gen mlir-lsp-server mlir-opt @@ -131,6 +130,7 @@ get_distribution_components() { mlir-query mlir-reduce mlir-rewrite + mlir-runner mlir-tblgen mlir-translate tblgen-lsp-server
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: bd03603d192ee3d28e123dce818c4ae41cdc739a Author: Michał Górny gentoo org> AuthorDate: Wed Jan 22 16:33:23 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Jan 22 19:15:21 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd03603d llvm-core/mlir: Add 20.0.0_pre20250122 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/mlir-20.0.0_pre20250122.ebuild | 196 ++ 2 files changed, 197 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index ffe2cec3c25c..8772086b4001 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,2 +1,3 @@ DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc +DIST llvm-project-97c3a990f05606cb807faf53bc41302fb62c7980.tar.gz 226261635 BLAKE2B 9dd0bdfaa6ee984747f2d9d8b9606cd8d2e75fa64d45fd7c87227ddca7cffe888a1d932d73c123b25360690fd687554cc333fb3d871ab0e72ddd2b1158bae2e0 SHA512 466ae8aea014fd396f3fd6b77055238a672f012b79f25ed0b215e01f968a56dd4eeaf148d03246701b1ac4cbb8f02a4325142d6e5503fb6231e330c2e49e28e7 DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 BLAKE2B ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f SHA512 0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d diff --git a/llvm-core/mlir/mlir-20.0.0_pre20250122.ebuild b/llvm-core/mlir/mlir-20.0.0_pre20250122.ebuild new file mode 100644 index ..b073548f9607 --- /dev/null +++ b/llvm-core/mlir/mlir-20.0.0_pre20250122.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # static libraries + MLIR*) + continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remove=() + for l in "${all_targets[@]}"; do + if ! has "${l}" "${my_targets[@]}"; then + add+=( "${l}" ) + fi + done + for l in "${my_targets[@]}"; do + if ! has "${l}" "${all_targets[@]}"; then +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 65f5ecadbfe058785957f5670d7d1af4dacfd54b Author: Michał Górny gentoo org> AuthorDate: Sat Jan 18 15:00:35 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 18 15:02:47 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65f5ecad llvm-core/mlir: Add 20.0.0_pre20250118 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/mlir-20.0.0_pre20250118.ebuild | 196 ++ 2 files changed, 197 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index b03da3cfe333..ffe2cec3c25c 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1 +1,2 @@ DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc +DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 BLAKE2B ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f SHA512 0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d diff --git a/llvm-core/mlir/mlir-20.0.0_pre20250118.ebuild b/llvm-core/mlir/mlir-20.0.0_pre20250118.ebuild new file mode 100644 index ..b073548f9607 --- /dev/null +++ b/llvm-core/mlir/mlir-20.0.0_pre20250118.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # static libraries + MLIR*) + continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remove=() + for l in "${all_targets[@]}"; do + if ! has "${l}" "${my_targets[@]}"; then + add+=( "${l}" ) + fi + done + for l in "${my_targets[@]}"; do + if ! has "${l}" "${all_targets[@]}"; then + remove+=( "${l}" ) + fi + done + + if [[ ${#add[@]} -gt 0 || ${#remove[@]} -gt 0 ]]; then + eqawarn "get_distribution_components() is outdated!" + eqawarn " Add: ${add[*]}" + eqawarn "Remove: ${remove[*]}" + fi +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 9f4ba9e935ef2e0462deec15452203dac7d5c157 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 18 07:21:47 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 18 07:21:47 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f4ba9e9 llvm-core/mlir: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 2 - llvm-core/mlir/mlir-20.0.0_pre20241227.ebuild | 196 -- llvm-core/mlir/mlir-20.0.0_pre20250104.ebuild | 196 -- 3 files changed, 394 deletions(-) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index 50d3b8156b84..b03da3cfe333 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,3 +1 @@ -DIST llvm-project-2529a8df53af9bc6cecfd6c83404ffa5e89e3370.tar.gz 224493461 BLAKE2B 0d3c757a8f34a9bf6b2ac0ad394cc1f8125cfee534c8bd0c5875eba56fe0171892586ec05b6f1e859e5962f81c76c9a315f60bcda012df73a3bd66709b265038 SHA512 a49fa1da2fd398b279a90292704e30d8ff7163219bfd91c4a80fa5123d957cdef52d2ee41710a8bcbfea3d9a5eec269dfc756584fcc27a495f7f381176de4e69 DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc -DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 BLAKE2B 6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3 SHA512 ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1 diff --git a/llvm-core/mlir/mlir-20.0.0_pre20241227.ebuild b/llvm-core/mlir/mlir-20.0.0_pre20241227.ebuild deleted file mode 100644 index 605b641fd141.. --- a/llvm-core/mlir/mlir-20.0.0_pre20241227.ebuild +++ /dev/null @@ -1,196 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake llvm.org multilib-minimal python-any-r1 - -DESCRIPTION="Multi-Level Intermediate Representation (library only)" -HOMEPAGE="https://mlir.llvm.org/"; - -LICENSE="Apache-2.0-with-LLVM-exceptions" -SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -IUSE="+debug test" -RESTRICT="!test? ( test )" - -DEPEND=" - ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - ${PYTHON_DEPS} - llvm-core/llvm:${LLVM_MAJOR} - test? ( - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') - ) -" - -LLVM_COMPONENTS=( mlir cmake ) -# tablegen tests use *.td files there -LLVM_TEST_COMPONENTS=( llvm/include ) -llvm.org_set_globals - -python_check_deps() { - if use test; then - python_has_version "dev-python/lit[${PYTHON_USEDEP}]" - fi -} - -src_prepare() { - llvm.org_src_prepare - - # https://github.com/llvm/llvm-project/issues/120902 - sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ - lib/ExecutionEngine/CMakeLists.txt || die -} - -check_distribution_components() { - if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then - local all_targets=() my_targets=() l - cd "${BUILD_DIR}" || die - - while read -r l; do - if [[ ${l} == install-*-stripped:* ]]; then - l=${l#install-} - l=${l%%-stripped*} - - case ${l} in - # meta-targets - mlir-libraries|distribution) - continue - ;; - # dylib - MLIR) - ;; - # static libraries - MLIR*) - continue - ;; - esac - - all_targets+=( "${l}" ) - fi - done < <(${NINJA} -t targets all) - - while read -r l; do - my_targets+=( "${l}" ) - done < <(get_distribution_components $"\n") - - local add=() remove=() - for l in "${all_targets[@]}"; do - if ! has "${l}" "${my_targets[@]}"; then - add+=( "${l}" ) - fi - done - for l in "${my_targets[@]}"; do - if ! ha
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 32031b37ab7373e90e923e1759949070ca6df72c Author: Michał Górny gentoo org> AuthorDate: Sat Jan 11 18:01:37 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 11 18:11:53 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32031b37 llvm-core/mlir: Add 20.0.0_pre20250111 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/mlir-20.0.0_pre20250111.ebuild | 196 ++ 2 files changed, 197 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index c65624b4ce50..50d3b8156b84 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,2 +1,3 @@ DIST llvm-project-2529a8df53af9bc6cecfd6c83404ffa5e89e3370.tar.gz 224493461 BLAKE2B 0d3c757a8f34a9bf6b2ac0ad394cc1f8125cfee534c8bd0c5875eba56fe0171892586ec05b6f1e859e5962f81c76c9a315f60bcda012df73a3bd66709b265038 SHA512 a49fa1da2fd398b279a90292704e30d8ff7163219bfd91c4a80fa5123d957cdef52d2ee41710a8bcbfea3d9a5eec269dfc756584fcc27a495f7f381176de4e69 +DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 BLAKE2B 6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3 SHA512 ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1 diff --git a/llvm-core/mlir/mlir-20.0.0_pre20250111.ebuild b/llvm-core/mlir/mlir-20.0.0_pre20250111.ebuild new file mode 100644 index ..b073548f9607 --- /dev/null +++ b/llvm-core/mlir/mlir-20.0.0_pre20250111.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # static libraries + MLIR*) + continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remove=() + for l in "${all_targets[@]}"; do + if ! has "${l}" "${my_targets[@]}"; then + add+=( "${l}" ) + fi + done + for l in "${my_targets[@]}"; do + if ! has "${l}" "${all_targets[@]}"; then +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: bf1aac002c0dfe72534968d9bc952bb46f330023 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 4 15:07:39 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 4 15:27:47 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf1aac00 llvm-core/mlir: Add 20.0.0_pre20250104 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/mlir-20.0.0_pre20250104.ebuild | 196 ++ 2 files changed, 197 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index ecf47aa51ed2..c65624b4ce50 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1 +1,2 @@ +DIST llvm-project-2529a8df53af9bc6cecfd6c83404ffa5e89e3370.tar.gz 224493461 BLAKE2B 0d3c757a8f34a9bf6b2ac0ad394cc1f8125cfee534c8bd0c5875eba56fe0171892586ec05b6f1e859e5962f81c76c9a315f60bcda012df73a3bd66709b265038 SHA512 a49fa1da2fd398b279a90292704e30d8ff7163219bfd91c4a80fa5123d957cdef52d2ee41710a8bcbfea3d9a5eec269dfc756584fcc27a495f7f381176de4e69 DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 BLAKE2B 6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3 SHA512 ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1 diff --git a/llvm-core/mlir/mlir-20.0.0_pre20250104.ebuild b/llvm-core/mlir/mlir-20.0.0_pre20250104.ebuild new file mode 100644 index ..b073548f9607 --- /dev/null +++ b/llvm-core/mlir/mlir-20.0.0_pre20250104.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # static libraries + MLIR*) + continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remove=() + for l in "${all_targets[@]}"; do + if ! has "${l}" "${my_targets[@]}"; then + add+=( "${l}" ) + fi + done + for l in "${my_targets[@]}"; do + if ! has "${l}" "${all_targets[@]}"; then + remove+=( "${l}" ) + fi + done + + if [[ ${#add[@]} -gt 0 || ${#remove[@]} -gt 0 ]]; then + eqawarn "get_distribution_components() is outdated!" + eqawarn " Add: ${add[*]}" + eqawarn "Remove: ${remove[*]}" + fi +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 56d8f2ac7604f030c12617c3386a1c29a799f17b Author: Michał Górny gentoo org> AuthorDate: Sat Dec 28 19:33:22 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Dec 28 19:33:22 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56d8f2ac llvm-core/mlir: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 - llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild | 197 -- 2 files changed, 198 deletions(-) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index 66a195e753d1..ecf47aa51ed2 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1,2 +1 @@ -DIST llvm-project-665d79f2e967a5eee6fff93685e45f50cf24cab2.tar.gz 224186302 BLAKE2B 6d4a02b6cfaf53324161c43ed02024f0fea0e7de25a9150cc0168602d7dff3f618026fa8318aa6e03904a9424afa1f12c5eb33bfdfa82e72210f34e5829a7804 SHA512 7482e176b1e2389b0dd0e67271cdb0489e9db0595874408156a034b40d336ecd960c63b89c237ca22eee3650880b0f08a97de14f8a17c918245915d422e568c9 DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 BLAKE2B 6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3 SHA512 ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1 diff --git a/llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild b/llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild deleted file mode 100644 index 24b7ba52300f.. --- a/llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild +++ /dev/null @@ -1,197 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake llvm.org multilib-minimal python-any-r1 - -DESCRIPTION="Multi-Level Intermediate Representation (library only)" -HOMEPAGE="https://mlir.llvm.org/"; - -LICENSE="Apache-2.0-with-LLVM-exceptions" -SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -IUSE="+debug test" -RESTRICT="!test? ( test )" - -DEPEND=" - =llvm-core/llvm-${PV}-r1[debug=,${MULTILIB_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - ${PYTHON_DEPS} - llvm-core/llvm:${LLVM_MAJOR} - test? ( - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') - ) -" - -LLVM_COMPONENTS=( mlir cmake ) -# tablegen tests use *.td files there -LLVM_TEST_COMPONENTS=( llvm/include ) -llvm.org_set_globals - -python_check_deps() { - if use test; then - python_has_version "dev-python/lit[${PYTHON_USEDEP}]" - fi -} - -src_prepare() { - llvm.org_src_prepare - - # https://github.com/llvm/llvm-project/issues/120902 - sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ - lib/ExecutionEngine/CMakeLists.txt || die -} - -check_distribution_components() { - if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then - local all_targets=() my_targets=() l - cd "${BUILD_DIR}" || die - - while read -r l; do - if [[ ${l} == install-*-stripped:* ]]; then - l=${l#install-} - l=${l%%-stripped*} - - case ${l} in - # meta-targets - mlir-libraries|distribution) - continue - ;; - # dylib - MLIR) - ;; - # static libraries - MLIR*) - continue - ;; - esac - - all_targets+=( "${l}" ) - fi - done < <(${NINJA} -t targets all) - - while read -r l; do - my_targets+=( "${l}" ) - done < <(get_distribution_components $"\n") - - local add=() remove=() - for l in "${all_targets[@]}"; do - if ! has "${l}" "${my_targets[@]}"; then - add+=( "${l}" ) - fi - done - for l in "${my_targets[@]}"; do - if ! has "${l}" "${all_targets[@]}"; then - remove+=( "${l}" ) - fi - done - - if [[ ${#add[@]} -gt 0 || ${#remove[@]} -gt 0 ]]; then - eqawarn "get_distribution_components() is outdated!" - eqawarn " Add: ${add[*]}" - eqawarn "Remove: ${remove[*]}" - fi - cd -
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: 995303f62b9ff7ab81eedd370930b51295551215 Author: Michał Górny gentoo org> AuthorDate: Fri Dec 27 20:37:33 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Dec 27 21:24:53 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=995303f6 llvm-core/mlir: Add 20.0.0_pre20241227 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/mlir-20.0.0_pre20241227.ebuild | 196 ++ 2 files changed, 197 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest index 91f94b3f6f72..66a195e753d1 100644 --- a/llvm-core/mlir/Manifest +++ b/llvm-core/mlir/Manifest @@ -1 +1,2 @@ DIST llvm-project-665d79f2e967a5eee6fff93685e45f50cf24cab2.tar.gz 224186302 BLAKE2B 6d4a02b6cfaf53324161c43ed02024f0fea0e7de25a9150cc0168602d7dff3f618026fa8318aa6e03904a9424afa1f12c5eb33bfdfa82e72210f34e5829a7804 SHA512 7482e176b1e2389b0dd0e67271cdb0489e9db0595874408156a034b40d336ecd960c63b89c237ca22eee3650880b0f08a97de14f8a17c918245915d422e568c9 +DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 BLAKE2B 6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3 SHA512 ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1 diff --git a/llvm-core/mlir/mlir-20.0.0_pre20241227.ebuild b/llvm-core/mlir/mlir-20.0.0_pre20241227.ebuild new file mode 100644 index ..605b641fd141 --- /dev/null +++ b/llvm-core/mlir/mlir-20.0.0_pre20241227.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # static libraries + MLIR*) + continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remove=() + for l in "${all_targets[@]}"; do + if ! has "${l}" "${my_targets[@]}"; then + add+=( "${l}" ) + fi + done + for l in "${my_targets[@]}"; do + if ! has "${l}" "${all_targets[@]}"; then + remove+=( "${l}" ) + fi + done + + if [[ ${#add[@]} -gt 0 || ${#remove[@]} -gt 0 ]]; then + eqawarn "get_distribution_components() is outdated!" + eqawarn " Add: ${add[*]}" + eqawarn "Remove: ${remove[*]}" + fi +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: e6ff348b1b8a2054bcfc3d2706b054591e3cd279 Author: Michał Górny gentoo org> AuthorDate: Thu Dec 26 09:03:53 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu Dec 26 09:15:08 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ff348b llvm-core/mlir: Add missing PYTHON_USEDEP on dev-python/lit Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/mlir-20.0.0..ebuild| 9 + llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild | 9 + 2 files changed, 18 insertions(+) diff --git a/llvm-core/mlir/mlir-20.0.0..ebuild b/llvm-core/mlir/mlir-20.0.0..ebuild index 3fd8776f0128..605b641fd141 100644 --- a/llvm-core/mlir/mlir-20.0.0..ebuild +++ b/llvm-core/mlir/mlir-20.0.0..ebuild @@ -23,6 +23,9 @@ RDEPEND=" BDEPEND=" ${PYTHON_DEPS} llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) " LLVM_COMPONENTS=( mlir cmake ) @@ -30,6 +33,12 @@ LLVM_COMPONENTS=( mlir cmake ) LLVM_TEST_COMPONENTS=( llvm/include ) llvm.org_set_globals +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + src_prepare() { llvm.org_src_prepare diff --git a/llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild b/llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild index 38b4700f0851..24b7ba52300f 100644 --- a/llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild +++ b/llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild @@ -23,6 +23,9 @@ RDEPEND=" BDEPEND=" ${PYTHON_DEPS} llvm-core/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) " LLVM_COMPONENTS=( mlir cmake ) @@ -30,6 +33,12 @@ LLVM_COMPONENTS=( mlir cmake ) LLVM_TEST_COMPONENTS=( llvm/include ) llvm.org_set_globals +python_check_deps() { + if use test; then + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" + fi +} + src_prepare() { llvm.org_src_prepare
[gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
commit: e789d2ee0a1ca3173d05c679b7183068a0d745cf Author: Michał Górny gentoo org> AuthorDate: Wed Dec 18 11:26:22 2024 + Commit: Michał Górny gentoo org> CommitDate: Sun Dec 22 18:21:29 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e789d2ee llvm-core/mlir: Initial version, 20.0.0_pre20241221 Signed-off-by: Michał Górny gentoo.org> llvm-core/mlir/Manifest | 1 + llvm-core/mlir/metadata.xml | 10 ++ llvm-core/mlir/mlir-20.0.0..ebuild| 187 + llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild | 188 ++ 4 files changed, 386 insertions(+) diff --git a/llvm-core/mlir/Manifest b/llvm-core/mlir/Manifest new file mode 100644 index ..91f94b3f6f72 --- /dev/null +++ b/llvm-core/mlir/Manifest @@ -0,0 +1 @@ +DIST llvm-project-665d79f2e967a5eee6fff93685e45f50cf24cab2.tar.gz 224186302 BLAKE2B 6d4a02b6cfaf53324161c43ed02024f0fea0e7de25a9150cc0168602d7dff3f618026fa8318aa6e03904a9424afa1f12c5eb33bfdfa82e72210f34e5829a7804 SHA512 7482e176b1e2389b0dd0e67271cdb0489e9db0595874408156a034b40d336ecd960c63b89c237ca22eee3650880b0f08a97de14f8a17c918245915d422e568c9 diff --git a/llvm-core/mlir/metadata.xml b/llvm-core/mlir/metadata.xml new file mode 100644 index ..072910296ca3 --- /dev/null +++ b/llvm-core/mlir/metadata.xml @@ -0,0 +1,10 @@ + +https://www.gentoo.org/dtd/metadata.dtd";> + + + l...@gentoo.org + + + llvm/llvm-project + + diff --git a/llvm-core/mlir/mlir-20.0.0..ebuild b/llvm-core/mlir/mlir-20.0.0..ebuild new file mode 100644 index ..3fd8776f0128 --- /dev/null +++ b/llvm-core/mlir/mlir-20.0.0..ebuild @@ -0,0 +1,187 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org multilib-minimal python-any-r1 + +DESCRIPTION="Multi-Level Intermediate Representation (library only)" +HOMEPAGE="https://mlir.llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}[debug=,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + llvm-core/llvm:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( mlir cmake ) +# tablegen tests use *.td files there +LLVM_TEST_COMPONENTS=( llvm/include ) +llvm.org_set_globals + +src_prepare() { + llvm.org_src_prepare + + # https://github.com/llvm/llvm-project/issues/120902 + sed -i -e '/LINK_LIBS/s:PUBLIC:PRIVATE:' \ + lib/ExecutionEngine/CMakeLists.txt || die +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + mlir-libraries|distribution) + continue + ;; + # dylib + MLIR) + ;; + # static libraries + MLIR*) + continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remove=() + for l in "${all_targets[@]}"; do + if ! has "${l}" "${my_targets[@]}"; then + add+=( "${l}" ) + fi + done + for l in "${my_targets[@]}"; do + if ! has "${l}" "${all_targets[@]}"; then + remove+=( "${l}" ) + fi + done + + if [[ ${#add[@]} -gt 0 || ${#remove[@]} -gt 0 ]]; then + eqawarn "get_distribution_components() is outdated!" + eqawarn " Add: ${add[*]}" + eqawarn "Remove: ${remove[*]}" + fi + cd - >/dev/null || die + fi +} + +get_distribution_components() { + local sep=${1-;} + + local out=(