Problem with libomp (was supertux)

Ken Cunningham ken.cunningham.webuse at gmail.com
Sat Dec 5 05:56:50 UTC 2020


> Attempting to install supertux complains on libomp.
> 
> Logfile shows compiler complaints about atomic and variable templates.
> 
I noticed that the recent update to libomp-11 failed on 10.8 and 10.9 (and 10.6 and less).

This is not a big surprise — more likely a miracle that libomp up to 10.0 built without trouble on every system.

I will see if I can fix it — maybe I can — but even if so, libomp 12, 13, or … will be unbuildable eventually.

So we’ll need to come up with a libomp plan. There is really no reason (I think) that we can only have one libomp — we could install the one that comes with each llvm and then it would always work, I think. Eg clang-9 would use libomp-9.

Anyway, that is for the future. until libomp is fixed, every clang is dead on 10.8 and 10.9

BUT — good news. clang (and most everything else) doesn’t really need libomp anyway. I don’t even know why it is listed as a dependency, to be honest. Just delete from the clang portfile, and you’re good to go again, I think (haven’t tried it… but …).

Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20201204/f75628fc/attachment.htm>


More information about the macports-dev mailing list