Date: Wed, 13 Sep 2017 20:35:05 +0930 From: Shane Ambler <FreeBSD@ShaneWare.Biz> To: FreeBSD-ports <freebsd-ports@freebsd.org> Subject: Issues between openmp and llvm Message-ID: <dc3533c0-20f3-e99c-f7b2-2904b24d8c47@ShaneWare.Biz>
next in thread | raw e-mail | index | archive | help
I am testing an update to graphics/blender and seeing if I can use devel/openmp as a dependency to prevent forcing the choice of compiler. This works fine when openmp is pre-installed but fails if llvm[40|devel] is installed before checking if libomp exists. As the copy of libomp.so installed by llvm is found, devel/openmp does not get installed. > ... libomp.so - found (/usr/local/llvm-devel/lib/libomp.so) The issue is that the build then fails because cc/ld is looking for openmp files in /usr/local where they should be installed. This can fail on the host system as well as in poudriere. In poudriere it only fails if blenders CYCLESOSL option is enabled which now installs llvm40 before checking for libomp.so. -- FreeBSD - the place to B...Software Developing Shane Ambler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dc3533c0-20f3-e99c-f7b2-2904b24d8c47>