From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 036D115808A for ; Sun, 13 Jul 2025 20:04:01 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id E49F4341F0E for ; Sun, 13 Jul 2025 20:04:00 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 355E611055D; Sun, 13 Jul 2025 20:03:54 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 2C8EC11055D for ; Sun, 13 Jul 2025 20:03:54 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D6ED5341EF7 for ; Sun, 13 Jul 2025 20:03:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48C74310C for ; Sun, 13 Jul 2025 20:03:52 +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: <1752437006.b6acce2dd1bb0d83536e24601f99b1db54a51dea.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/offload/ X-VCS-Repository: repo/gentoo X-VCS-Files: llvm-runtimes/offload/Manifest llvm-runtimes/offload/offload-21.0.0_pre20250614.ebuild X-VCS-Directories: llvm-runtimes/offload/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b6acce2dd1bb0d83536e24601f99b1db54a51dea X-VCS-Branch: master Date: Sun, 13 Jul 2025 20:03:52 +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: 442bef75-fcb2-49f0-9b7a-a25a41d7f5da X-Archives-Hash: 55420ddcf6c28c7dc2a16fdae3b9fe70 commit: b6acce2dd1bb0d83536e24601f99b1db54a51dea Author: Michał Górny gentoo org> AuthorDate: Sun Jul 13 19:58:18 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jul 13 20:03:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6acce2d llvm-runtimes/offload: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-runtimes/offload/Manifest | 1 - .../offload/offload-21.0.0_pre20250614.ebuild | 145 --------------------- 2 files changed, 146 deletions(-) diff --git a/llvm-runtimes/offload/Manifest b/llvm-runtimes/offload/Manifest index f0973eaa5f2a..1e14241fd29f 100644 --- a/llvm-runtimes/offload/Manifest +++ b/llvm-runtimes/offload/Manifest @@ -4,6 +4,5 @@ DIST llvm-project-20.1.7.src.tar.xz 147245448 BLAKE2B f7c57d1eba4e97e875b624dec3 DIST llvm-project-20.1.7.src.tar.xz.sig 566 BLAKE2B 72ce2a18c211cfce9581a9e3e71f1c55cf18672aa355267581220e1a89e3327f9e16107970b69bb8f10f390baa5e286487bdc4cc0a7d9155ec13a4977cd3f472 SHA512 eff885059d547f57b98bda1fc9631f716ca6c650cd48203d9ed5443a6afb9a2d4d91d3f5c8618e307c0a44b3040bce61fdc6bce965073adc537655755d9f2112 DIST llvm-project-20.1.8.src.tar.xz 147242952 BLAKE2B 7657ac0b26acc5affb1bfc91b912ade3191c5d77f3979d5a80d5f6ce52f56a7d1c448bd257398390bf10838f02faa6f3ece37a7327cced69d165ec2e2e699316 SHA512 f330e72e6a1da468569049437cc0ba7a41abb816ccece7367189344f7ebfef730f4788ac7af2bef0aa8a49341c15ab1d31e941ffa782f264d11fe0dc05470773 DIST llvm-project-20.1.8.src.tar.xz.sig 566 BLAKE2B 85beedfcff1195a974fab2c667b9efd4b715b3480c1b44b1b887fe32c69f72aca0d3b8fb276c03b6cc5a866622f669047aeee5ccb976640b4008ccd31dce77a4 SHA512 d74369bdb4d1b82775161ea53c9c5f3a23ce810f4df5ff617123023f9d8ce720e7d6ecc9e17f8ebd39fd9e7a9de79560abdf2ffe73bcb907a43148d43665d619 -DIST llvm-project-814ac2e3735e52c1162ac495c24158e0ac256520.tar.gz 237400805 BLAKE2B 59cbf2f7f5c3c1c2c187c72a40b94b05b2d3286678f78764bc7555d75ead40d2fd60b1807bbe6470f012a5958d0466b1f6b2bc842bba36731e7697a79307532b SHA512 63f31f28b7f01b840d88bfa3ffc4107ccffc623b26c7d0dc3e720a864ce7ca907dcbdcfaec7e31a1711220528a89175334518711a83824c82389343c2e4008d7 DIST llvm-project-b6313b381ac0e83012ea11b4549cd8cb39b686d2.tar.gz 242588863 BLAKE2B 81e7db20b849ce7a5c7c6b03d1e62a2e225eb68473509baf0adc9e74a2f759d251b61b018528d5db93f77b65ac355a71ede81bec7e97f9c71a41f34a5d8625bd SHA512 258b99ef79d7efd4ec58d6a5370969b8032149f05fea4dfa841398ed59a550219f4223cd79581bc6fc4428dd9b09f44abf9f5369348831f463b9eb401a614d61 DIST llvm-project-e34e02128ec5eb89e36a8f0f7307dcbcfecabbee.tar.gz 238210997 BLAKE2B 80ce4689e3c71a413e36645cdc83590f3492ac3ee39b8bf8844ec50d0b68f40da4c19a7f284625e3550eb78a90d433e74092b5639bcebadf0e0220c36b111cb3 SHA512 5c1ab21b242d1ba62172ae6268a126fd1b049f85b039434b4ff28b0411ec60d46e96e05560b9b85d0420494afdd573b4043999cb34ace508a48f763d4eb5b7aa diff --git a/llvm-runtimes/offload/offload-21.0.0_pre20250614.ebuild b/llvm-runtimes/offload/offload-21.0.0_pre20250614.ebuild deleted file mode 100644 index 5f4ab8697496..000000000000 --- a/llvm-runtimes/offload/offload-21.0.0_pre20250614.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..14} ) -inherit cmake crossdev flag-o-matic llvm.org python-any-r1 -inherit toolchain-funcs - -DESCRIPTION="OpenMP offloading support" -HOMEPAGE="https://openmp.llvm.org" - -LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" -SLOT="0/${LLVM_SOABI}" -IUSE="+clang +debug ompt test llvm_targets_AMDGPU llvm_targets_NVPTX" -REQUIRED_USE=" - llvm_targets_AMDGPU? ( clang ) - llvm_targets_NVPTX? ( clang ) -" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/libffi:= - ~llvm-core/llvm-${PV} - ~llvm-runtimes/openmp-${PV}[ompt?] - llvm_targets_AMDGPU? ( dev-libs/rocr-runtime:= ) -" -DEPEND=" - ${RDEPEND} -" -# tests: -# - dev-python/lit provides the test runner -# - llvm-core/llvm provide test utils (e.g. FileCheck) -# - llvm-core/clang provides the compiler to run tests -BDEPEND=" - dev-lang/perl - virtual/pkgconfig - clang? ( llvm-core/clang ) - llvm_targets_AMDGPU? ( llvm-core/clang[llvm_targets_AMDGPU] ) - llvm_targets_NVPTX? ( llvm-core/clang[llvm_targets_NVPTX] ) - test? ( - $(python_gen_any_dep ' - dev-python/lit[${PYTHON_USEDEP}] - ') - llvm-core/clang - ) -" - -LLVM_COMPONENTS=( offload cmake runtimes/cmake libc ) -LLVM_TEST_COMPONENTS=( openmp/cmake ) -llvm.org_set_globals - -pkg_pretend() { - if [[ ${LLVM_ALLOW_GPU_TESTING} ]]; then - ewarn "LLVM_ALLOW_GPU_TESTING set. This package will run tests against your" - ewarn "GPU if it is supported. Note that these tests may be flaky, fail or" - ewarn "hang, or even cause your GPU to crash (requiring a reboot)." - fi -} - -python_check_deps() { - python_has_version "dev-python/lit[${PYTHON_USEDEP}]" -} - -pkg_setup() { - if use test; then - python-any-r1_pkg_setup - fi -} - -src_configure() { - if use clang && ! is_crosspkg; then - # Only do this conditionally to allow overriding with - # e.g. CC=clang-13 in case of breakage - if ! tc-is-clang ; then - local -x CC=${CHOST}-clang - local -x CXX=${CHOST}-clang++ - fi - - strip-unsupported-flags - fi - - # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 - use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" - - local libdir="$(get_libdir)" - local ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi) - local ffi_ldflags=$($(tc-getPKG_CONFIG) --libs-only-L libffi) - local plugins="host" - local build_devicertl=FALSE - - if has "${CHOST%%-*}" aarch64 powerpc64le x86_64; then - if use llvm_targets_AMDGPU; then - plugins+=";amdgpu" - build_devicertl=TRUE - fi - if use llvm_targets_NVPTX; then - plugins+=";cuda" - build_devicertl=TRUE - fi - fi - - local mycmakeargs=( - -DLLVM_ROOT="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}" - - -DOFFLOAD_LIBDIR_SUFFIX="${libdir#lib}" - -DOFFLOAD_INCLUDE_TESTS=$(usex test) - -DLIBOMPTARGET_PLUGINS_TO_BUILD="${plugins}" - -DLIBOMPTARGET_OMPT_SUPPORT="$(usex ompt)" - -DLIBOMPTARGET_BUILD_DEVICERTL_BCLIB="${build_devicertl}" - - # this breaks building static target libs - -DBUILD_SHARED_LIBS=OFF - - -DFFI_INCLUDE_DIR="${ffi_cflags#-I}" - -DFFI_LIBRARY_DIR="${ffi_ldflags#-L}" - # force using shared libffi - -DFFI_STATIC_LIBRARIES=NO - ) - - [[ ! ${LLVM_ALLOW_GPU_TESTING} ]] && mycmakeargs+=( - # prevent trying to access the GPU - -DLIBOMPTARGET_AMDGPU_ARCH=LIBOMPTARGET_AMDGPU_ARCH-NOTFOUND - -DLIBOMPTARGET_NVPTX_ARCH=LIBOMPTARGET_NVPTX_ARCH-NOTFOUND - ) - use test && mycmakeargs+=( - # this project does not use standard LLVM cmake macros - -DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit" - -DOPENMP_LIT_ARGS="$(get_lit_flags)" - - -DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")" - -DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")" - # requires flang - -DOPENMP_TEST_Fortran_COMPILER= - ) - - cmake_src_configure -} - -src_test() { - # respect TMPDIR! - local -x LIT_PRESERVES_TMP=1 - - cmake_build check-offload -}