Bug 49250

Summary: The OpenMP cmake module can't be found for non x64 arches
Product: Sisyphus Reporter: Малъ Скрылевъ <3aHyga>
Component: gcc-defaultsAssignee: Gleb F-Malinovskiy <glebfm>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: glebfm, ldv
Version: unstable   
Hardware: aarch64   
OS: Linux   

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.