From e44b9cf3e5b67eaf723e4a335faf39c87167abd3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 27 Dec 2022 20:10:49 +0000 Subject: gentoo auto-resync : 27:12:2022 - 20:10:49 --- eclass/rocm.eclass | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'eclass/rocm.eclass') diff --git a/eclass/rocm.eclass b/eclass/rocm.eclass index 4c8fd39f2491..cf7a18b70ad2 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 @@ -82,13 +82,14 @@ # } # @CODE -if [[ ! ${_ROCM_ECLASS} ]]; then - case ${EAPI} in - 7|8) ;; + 8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac +if [[ ! ${_ROCM_ECLASS} ]]; then +_ROCM_ECLASS=1 + # @ECLASS_VARIABLE: ROCM_VERSION # @REQUIRED # @PRE_INHERIT @@ -219,5 +220,4 @@ check_amdgpu() { done } -_ROCM_ECLASS=1 fi -- cgit v1.2.3