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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC414158020 for ; Sun, 25 Dec 2022 22:23:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DC6BE0B0E; Sun, 25 Dec 2022 22:16:39 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 0A185E0B06 for ; Sun, 25 Dec 2022 22:16:39 +0000 (UTC) From: David Seifert To: gentoo-dev@lists.gentoo.org Cc: David Seifert Subject: [gentoo-dev] [PATCH 28/41] rocm.eclass: drop EAPI 7 support Date: Sun, 25 Dec 2022 23:15:39 +0100 Message-Id: <20221225221552.8023-28-soap@gentoo.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221225221552.8023-1-soap@gentoo.org> References: <20221225221552.8023-1-soap@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: cbeb2cc9-3426-4c83-b442-9206e7037be8 X-Archives-Hash: c8eaa97895d39d74cd0829ddbf93a44a Signed-off-by: David Seifert --- eclass/rocm.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/rocm.eclass b/eclass/rocm.eclass index 4c8fd39f249..dcddd262e59 100644 --- a/eclass/rocm.eclass +++ b/eclass/rocm.eclass @@ -6,7 +6,7 @@ # Gentoo Science Project # @AUTHOR: # Yiyang Wu -# @SUPPORTED_EAPIS: 7 8 +# @SUPPORTED_EAPIS: 8 # @BLURB: Common functions and variables for ROCm packages written in HIP # @DESCRIPTION: # ROCm packages such as sci-libs/*, and packages built on top of ROCm @@ -83,9 +83,10 @@ # @CODE if [[ ! ${_ROCM_ECLASS} ]]; then +_ROCM_ECLASS=1 case ${EAPI} in - 7|8) ;; + 8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac @@ -219,5 +220,4 @@ check_amdgpu() { done } -_ROCM_ECLASS=1 fi -- 2.39.0