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 E59921580FD for ; Fri, 27 Dec 2024 21:25:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6962AE083B; Fri, 27 Dec 2024 21:25:14 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 3C113E081B for ; Fri, 27 Dec 2024 21:25:14 +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 253ED335DCC for ; Fri, 27 Dec 2024 21:25:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7702B194F for ; Fri, 27 Dec 2024 21:25:10 +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: <1735334699.ef44fed8730eb58f6db50e75e31394b381ebecef.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_pre20241227.ebuild X-VCS-Directories: llvm-core/polly/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ef44fed8730eb58f6db50e75e31394b381ebecef X-VCS-Branch: master Date: Fri, 27 Dec 2024 21:25:10 +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: 8fe04c76-71c7-47fd-a7ad-b62e0ecac55c X-Archives-Hash: 4233427fc844d4981d47456d40d85f4f commit: ef44fed8730eb58f6db50e75e31394b381ebecef Author: Michał Górny gentoo org> AuthorDate: Fri Dec 27 20:37:43 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Dec 27 21:24:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef44fed8 llvm-core/polly: Add 20.0.0_pre20241227 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/polly/Manifest | 1 + llvm-core/polly/polly-20.0.0_pre20241227.ebuild | 59 +++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/llvm-core/polly/Manifest b/llvm-core/polly/Manifest new file mode 100644 index 000000000000..ecf47aa51ed2 --- /dev/null +++ b/llvm-core/polly/Manifest @@ -0,0 +1 @@ +DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 BLAKE2B 6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3 SHA512 ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1 diff --git a/llvm-core/polly/polly-20.0.0_pre20241227.ebuild b/llvm-core/polly/polly-20.0.0_pre20241227.ebuild new file mode 100644 index 000000000000..17940c9de942 --- /dev/null +++ b/llvm-core/polly/polly-20.0.0_pre20241227.ebuild @@ -0,0 +1,59 @@ +# 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 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 +}