1 |
Signed-off-by: David Seifert <soap@g.o> |
2 |
--- |
3 |
eclass/rocm.eclass | 6 +++--- |
4 |
1 file changed, 3 insertions(+), 3 deletions(-) |
5 |
|
6 |
diff --git a/eclass/rocm.eclass b/eclass/rocm.eclass |
7 |
index 4c8fd39f249..dcddd262e59 100644 |
8 |
--- a/eclass/rocm.eclass |
9 |
+++ b/eclass/rocm.eclass |
10 |
@@ -6,7 +6,7 @@ |
11 |
# Gentoo Science Project <sci@g.o> |
12 |
# @AUTHOR: |
13 |
# Yiyang Wu <xgreenlandforwyy@×××××.com> |
14 |
-# @SUPPORTED_EAPIS: 7 8 |
15 |
+# @SUPPORTED_EAPIS: 8 |
16 |
# @BLURB: Common functions and variables for ROCm packages written in HIP |
17 |
# @DESCRIPTION: |
18 |
# ROCm packages such as sci-libs/<roc|hip>*, and packages built on top of ROCm |
19 |
@@ -83,9 +83,10 @@ |
20 |
# @CODE |
21 |
|
22 |
if [[ ! ${_ROCM_ECLASS} ]]; then |
23 |
+_ROCM_ECLASS=1 |
24 |
|
25 |
case ${EAPI} in |
26 |
- 7|8) ;; |
27 |
+ 8) ;; |
28 |
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
29 |
esac |
30 |
|
31 |
@@ -219,5 +220,4 @@ check_amdgpu() { |
32 |
done |
33 |
} |
34 |
|
35 |
-_ROCM_ECLASS=1 |
36 |
fi |
37 |
-- |
38 |
2.39.0 |