-- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at runtime/cmake/LibompUtils.cmake:27 (message): LIBOMP: libomp_check_variable(): LIBOMP_ARCH = UnknownArchitecture is unknown Call Stack (most recent call first): runtime/cmake/LibompUtils.cmake:127 (libomp_error_say) runtime/CMakeLists.txt:84 (libomp_check_variable) -- Configuring incomplete, errors occurred!
Thanks for reporting this. Since upstream doesn't provide support code for this arch, I don't think we can do much about it. And since nobody has explicitly requested it so far, I don't think there's really a point bothering upstream about it (or expecting upstream to have any 32-bit PPC hardware). Therefore, I went ahead and masked the openmp flag on clang-runtime in ppc32 and sparc profiles (i.e. in arches mentioned in the keywordreq).
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74ee0933ce138048034e9b08c569dfd9a175462d commit 74ee0933ce138048034e9b08c569dfd9a175462d Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-23 17:19:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-23 17:19:17 +0000 profiles/arch/powerpc/ppc32: mask sys-libs/libomp It never worked and isn't supported. Bug: https://bugs.gentoo.org/600148 Bug: https://bugs.gentoo.org/708344 Closes: https://bugs.gentoo.org/907213 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/powerpc/ppc32/package.mask | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45cfb87c758846944bdc2dcb961e518f7b792e52 commit 45cfb87c758846944bdc2dcb961e518f7b792e52 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-23 16:24:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-23 17:16:31 +0000 sys-libs/libomp: drop ppc (isn't supported) It never worked. Bug: https://bugs.gentoo.org/600148 Bug: https://bugs.gentoo.org/708344 Closes: https://bugs.gentoo.org/907213 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/libomp/libomp-15.0.7-r6.ebuild | 4 ++-- sys-libs/libomp/libomp-16.0.6.ebuild | 4 ++-- sys-libs/libomp/libomp-17.0.6.ebuild | 2 +- sys-libs/libomp/libomp-18.1.2.ebuild | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-)