[Bug 222858] Clang doesn't find <omp.h> and libomp.so when compiling with -fopenmp

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 9 15:54:14 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222858

--- Comment #1 from Dimitry Andric <dim at FreeBSD.org> ---
As long as libomp is in ports, you will have to manually add
-I${LOCALBASE}/include to CFLAGS, and -L${LOCALBASE}/lib to LDFLAGS.  This is
how it has always been with ports.

There are some preliminary plans for adding openmp to the base system, but this
has the disadvantage that it can't be updated that easily anymore.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list