Bug 49250 - The OpenMP cmake module can't be found for non x64 arches
Summary: The OpenMP cmake module can't be found for non x64 arches
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: gcc-defaults (show other bugs)
Version: unstable
Hardware: aarch64 Linux
: P5 normal
Assignee: Gleb F-Malinovskiy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-01 03:09 MSK by Малъ Скрылевъ
Modified: 2024-02-01 03:10 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Малъ Скрылевъ 2024-02-01 03:09:55 MSK
The OpenMP cmake module can't be found for non x64 arches (armh, aarch64, and ppc64le). This is expressed in the fact that with including "libgomp-devel", and use: 
 
    find_package(OpenMP REQUIRED)

raises exception "Could NOT find OpenMP_CXX":

[armh] CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
[armh]   Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
[armh] Call Stack (most recent call first):

https://git.altlinux.org/tasks/255607/logs/events.56.1.log

Can be reproduced by rebuild the libkgraph package without ExcludeArch keyword in spec.