Bug#1006682: /usr/lib/cmake/mathgl2/MathGL2Config.cmake: Could NOT find OpenMP_CXX

Rafael Laboissière rafael at debian.org
Fri Sep 2 03:58:40 BST 2022


Control: tags -1 - moreinfo
Control: tags -1 + wontfix

* Sylvain Joubert <joubert.sy at gmail.com> [2022-08-31 10:17]:

> Ok, I just figured out why you probably can't reproduce the issue: you need 
> to use clang as a compiler. 
> If you use `CXX=clang++-14 cmake [...]` as a configure command line you'll 
> likely trigger the error.

Thanks for this additional information. I can now reproduce the bug, 
which is not triggered when using CXX=g++.

> And the required package providing OpenMP for clang must match the clang 
> version used: if I install libomp-13-dev while using clang++-14 for example 
> I'll still get the error.
>
> With this additional info I get that the issue is triggered with a 
> non-default setup, so I'm not sure how or even if it can be fixed 
> correctly. Especially given that the proper dependency is heavily dependent 
> on the clang version used/installed. 
> Given that understanding I'd be fine with leaving things as is. And maybe 
> it's the upstream MathGL2Config.cmake that needs a rework to deal more 
> easily with various setups.

I am not sure whether the issue can be fixed in a trivial way. I am 
hereby tagging this bug report "wontfix", for now.

Best,

Rafael Laboissière



More information about the debian-science-maintainers mailing list