diff options
| author | Sv. Lockal <lockalsash@gmail.com> | 2025-06-22 14:32:01 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-07-05 08:14:12 +0100 |
| commit | 1f14d47e71be09731dc65f2547455921972539be (patch) | |
| tree | c406c97bebfca3c1746457315b29eb5223a18643 /dev-cpp/htmlcxx/files/htmlcxx-0.87-c++17.patch | |
| parent | 5e5f177fdcdeba891bd9b4b4e9d2287f53a03616 (diff) | |
| download | gentoo-1f14d47e71be09731dc65f2547455921972539be.tar.gz gentoo-1f14d47e71be09731dc65f2547455921972539be.tar.bz2 gentoo-1f14d47e71be09731dc65f2547455921972539be.zip | |
toolchain-funcs.eclass: add tc-getHIPCXX function
This allows to find compiler for HIP language files.
Environment variable HIPCXX is used by CMake[1].
In recent releases of CMake, it strictly requires clang++, not hipcc.
When not defined, CMake uses multiple methods to find HIP compiler, hipconfig is one of them[2].
[1] https://cmake.org/cmake/help/latest/envvar/HIPCXX.html
[2] https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/CMakeDetermineHIPCompiler.cmake
Bug: https://bugs.gentoo.org/957893
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42691
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/htmlcxx/files/htmlcxx-0.87-c++17.patch')
0 files changed, 0 insertions, 0 deletions
