msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.29k stars 1.22k forks source link

Create a openmp meta/virtual package #13783

Open lazka opened 2 years ago

lazka commented 2 years ago

So we can depend on openmp without any environment specific conditions (except arm64, which doesn't have it). See https://github.com/msys2/MINGW-packages/pull/12280#issuecomment-1198985768

So I don't forget again...

kmilos commented 2 years ago

I guess this will obsolete https://github.com/msys2/MINGW-packages/issues/10649

mati865 commented 2 years ago

I think we should roughly do what https://github.com/msys2/MINGW-packages/issues/10649 suggests and make it installed by the default on CLANG* subsystems. Dunno about the best way to achieve that.

lazka commented 2 years ago

PRs in #13807 and #13808

This assumes the "-omp" is in depends and "-cc" in makedepends for all packages (import lib is part of gcc, for clang in the openmp package)

lazka commented 2 years ago

This is now in the repo.

lazka commented 1 year ago

PKGBUILDs to clean up:

though we don't have to, and can wait until they get touched again.

kmilos commented 1 year ago

@lazka Ok to start enabling for clangarm64 as well (could also wait until they get touched)?

lazka commented 1 year ago

Sure, I'm not aware of any arm64 issues with openmp yet... But it' also rarely used yet. Only one way to find out :)

lazka commented 1 year ago

I've updated the package list above