From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8153F15813A for ; Sat, 18 Jan 2025 15:10:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE85FE088D; Sat, 18 Jan 2025 15:10:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A36A1E088D for ; Sat, 18 Jan 2025 15:10:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF8E1342F9E for ; Sat, 18 Jan 2025 15:10:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E82C2576 for ; Sat, 18 Jan 2025 15:09:58 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1737212577.05d143cd57be21bc38be5568542bab37332a7d06.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: llvm-core/polly/ X-VCS-Repository: repo/gentoo X-VCS-Files: llvm-core/polly/Manifest llvm-core/polly/polly-20.0.0_pre20250118.ebuild X-VCS-Directories: llvm-core/polly/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 05d143cd57be21bc38be5568542bab37332a7d06 X-VCS-Branch: master Date: Sat, 18 Jan 2025 15:09:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 17aafc27-04a1-4582-b598-1fbe11d16f7a X-Archives-Hash: f8a149d42ed9cb096a94524e225b75e1 commit: 05d143cd57be21bc38be5568542bab37332a7d06 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 18 15:00:44 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jan 18 15:02:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d143cd llvm-core/polly: Add 20.0.0_pre20250118 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/polly/Manifest | 1 + llvm-core/polly/polly-20.0.0_pre20250118.ebuild | 59 +++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/llvm-core/polly/Manifest b/llvm-core/polly/Manifest index b03da3cfe333..ffe2cec3c25c 100644 --- a/llvm-core/polly/Manifest +++ b/llvm-core/polly/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/polly/polly-20.0.0_pre20250118.ebuild b/llvm-core/polly/polly-20.0.0_pre20250118.ebuild new file mode 100644 index 000000000000..4762b65ad43d --- /dev/null +++ b/llvm-core/polly/polly-20.0.0_pre20250118.ebuild @@ -0,0 +1,59 @@ +# 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 python-any-r1 + +DESCRIPTION="Polyhedral optimizations for LLVM" +HOMEPAGE="https://polly.llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +# vendored isl (fork?) +LICENSE+=" MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + ) +" + +LLVM_COMPONENTS=( polly cmake ) +llvm.org_set_globals + +python_check_deps() { + python_has_version "dev-python/lit[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" + -DLLVM_ROOT="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}" + ) + use test && mycmakeargs+=( + -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" + -DLLVM_LIT_ARGS="$(get_lit_flags)" + -DPython3_EXECUTABLE="${PYTHON}" + ) + cmake_src_configure +} + +src_test() { + local -x LIT_PRESERVES_TMP=1 + cmake_build check-polly +}