Signed-off-by: David Seifert <s...@gentoo.org> --- 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 <s...@gentoo.org> # @AUTHOR: # Yiyang Wu <xgreenlandfor...@gmail.com> -# @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/<roc|hip>*, 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