From 61923e37896e8d6300d756e125410a9b53597d80 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 7 Jul 2025 07:12:20 +0000 Subject: [PATCH] eclass/toolchain-funcs: Sync with Gentoo It's from Gentoo commit 1f14d47e71be09731dc65f2547455921972539be. --- .../third_party/portage-stable/eclass/toolchain-funcs.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdk_container/src/third_party/portage-stable/eclass/toolchain-funcs.eclass b/sdk_container/src/third_party/portage-stable/eclass/toolchain-funcs.eclass index baf032bbd4..1f3f958bad 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/toolchain-funcs.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/toolchain-funcs.eclass @@ -73,6 +73,10 @@ tc-getCPP() { tc-getPROG CPP "${CC:-gcc} -E" "$@"; } # @USAGE: [toolchain prefix] # @RETURN: name of the C++ compiler tc-getCXX() { tc-getPROG CXX g++ "$@"; } +# @FUNCTION: tc-getHIPCXX +# @USAGE: [toolchain prefix] +# @RETURN: name of the HIP compiler +tc-getHIPCXX() { tc-getPROG HIPCXX "$(hipconfig --hipclangpath)/clang++" "$@"; } # @FUNCTION: tc-getLD # @USAGE: [toolchain prefix] # @RETURN: name of the linker