-fopenmp turns on OpenMP support and links libiomp5 as OpenMP library. Also there is -fopenmp={libiomp5|libgomp} option that allows to override effect of -fopenmp and link libgomp library (if -fopenmp=libgomp is specified).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Driver/Tools.cpp | ||
---|---|---|
3812–3813 ↗ | (On Diff #25664) | Is there a reason to forward both of these to the frontend? It seems more inline with the design goal of giving the frontend a minimal and explicit interface to either rewrite -fopenmp to -fopenmp=libiomp5 in the driver or to not expose the underlying library to the frontend at all (it doesn't seem like the frontend needs to care). |