incompatible CXXFLAGS new test-flags-HIPCXX function is used.
Bug: https://bugs.gentoo.org/957893
Signed-off-by: Sv. Lockal
---
eclass/rocm.eclass | 29 -
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/eclass/rocm.eclass b/eclass/rocm.eclass
index 65726a0bc621
/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
---
eclass/toolchain-funcs.eclass | 4
1 file changed, 4 insertions(+)
diff --git a/eclass/toolchain
flags.
[1] https://cmake.org/cmake/help/latest/envvar/HIPFLAGS.html
[2]
https://rocm.docs.amd.com/en/latest/conceptual/cmake-packages.html#using-the-hip-single-source-programming-model
Bug: https://bugs.gentoo.org/957893
Signed-off-by: Sv. Lockal
---
eclass/flag-o-matic.eclass | 26
ler can compile a simple test program.
export CC=hipcc CXX=hipcc
strip-unsupported-flags
}
On Sun, Aug 4, 2024 at 5:09 AM Sv. Lockal wrote:
>
> This adds a new function rocm_use_hipcc in rocm.eclass to be used in
> every src_configure, where the compiler is switched to hipcc
This adds a new function rocm_use_hipcc in rocm.eclass to be used in
every src_configure, where the compiler is switched to hipcc (a. k. a.
clang with extra flags).
Github pull request: https://github.com/gentoo/gentoo/pull/37639
Bug: https://bugs.gentoo.org/936099
Signed-off-by: Sv. Lockal