Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907213 - sys-libs/libomp-16.0.4 - CMake Error at runtime/cmake/LibompUtils.cmake:26 (message): LIBOMP: libomp_check_variable(): LIBOMP_ARCH = UnknownArchitecture is unknown
Summary: sys-libs/libomp-16.0.4 - CMake Error at runtime/cmake/LibompUtils.cmake:26 (...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: PullRequest
: 920910 (view as bug list)
Depends on:
Blocks: 913074 913075 918497 918501 918502 918503
  Show dependency tree
 
Reported: 2023-05-26 12:27 UTC by ernsteiswuerfel
Modified: 2024-03-23 17:20 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (libomp-16.0.4:20230526-110035.log,6.47 KB, text/plain)
2023-05-26 12:27 UTC, ernsteiswuerfel
Details
emerge --info (file_907213.txt,6.34 KB, text/plain)
2023-05-26 12:28 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2023-05-26 12:27:38 UTC
Created attachment 862628 [details]
build.log

Get that only on ppc, not on ppc64.

[...]
-- Performing Test OPENMP_HAVE_STD_CPP17_FLAG
-- Performing Test OPENMP_HAVE_STD_CPP17_FLAG - Success
-- Found Python3: /usr/bin/python3 (found version "3.11.3") found components: Interpreter 
-- Cannot find llvm-lit.
-- Please put llvm-lit in your PATH, set OPENMP_LLVM_LIT_EXECUTABLE to its full path, or point OPENMP_LLVM_TOOLS_DIR to its directory.
CMake Warning at cmake/OpenMPTesting.cmake:22 (message):
  The check targets will not be available!
Call Stack (most recent call first):
  cmake/OpenMPTesting.cmake:51 (find_standalone_test_dependencies)
  CMakeLists.txt:66 (include)


CMake Error at runtime/cmake/LibompUtils.cmake:26 (message):
  LIBOMP: libomp_check_variable(): LIBOMP_ARCH = UnknownArchitecture is
  unknown
Call Stack (most recent call first):
  runtime/cmake/LibompUtils.cmake:136 (libomp_error_say)
  runtime/CMakeLists.txt:86 (libomp_check_variable)


-- Configuring incomplete, errors occurred!
 * ERROR: sys-libs/libomp-16.0.4::gentoo failed (configure phase):
 *   cmake failed
Comment 1 ernsteiswuerfel archtester 2023-05-26 12:28:22 UTC
Created attachment 862629 [details]
emerge --info
Comment 2 matoro archtester 2024-01-29 15:23:19 UTC
*** Bug 920910 has been marked as a duplicate of this bug. ***
Comment 3 Ulrich Müller gentoo-dev 2024-02-13 08:00:48 UTC
Same problem as in bug 600148, i.e. upstream doesn't support 32 bit PPC?

sys-libs/libomp was keyworded ppc in bug 708344. However, bug 708344 comment #15 says that libomp fails to build?
Comment 4 Larry the Git Cow gentoo-dev 2024-03-23 17:20:02 UTC
The bug has been closed via 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=fa21aa6500e18cc45ab6804348c885d1e2838796

commit fa21aa6500e18cc45ab6804348c885d1e2838796
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-23 17:18:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-23 17:18:36 +0000

    profiles/arch/powerpc/ppc32: mask sys-devel/clang-runtime[openmp]
    
    Needs masked libomp.
    
    Closes: https://bugs.gentoo.org/907213
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/powerpc/ppc32/package.use.mask | 4 ++++
 1 file changed, 4 insertions(+)

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(-)