[PATCH] D67200: Add -static-openmp driver option
Joerg Sonnenberger via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 6 10:27:58 PDT 2019
On Wed, Sep 04, 2019 at 11:28:34PM +0000, Pirama Arumuga Nainar via Phabricator via cfe-commits wrote:
> pirama created this revision.
> pirama added reviewers: Hahnfeld, danalbert, srhines, joerg.
> Herald added a subscriber: guansong.
> Herald added a reviewer: jdoerfert.
> Herald added a project: clang.
>
> This option forces linking with the static OpenMP host runtime (similar
> to -static-libgcc and -static-libstdcxx).
>
> Android's NDK will start the shared OpenMP runtime in addition to the static
> libomp. In this scenario, the linker will prefer to use the shared library by
> default. Add this option to enable linking with the static libomp.
Needs testing for the -static interaction?
Joerg
More information about the cfe-commits
mailing list