Re: MFC r282973 (disable libgomp build) and r283060 (disable libgcov build)?
On Fri, 24 Jul 2015 21:40:32 + Brooks Davis bro...@freebsd.org wrote: On Fri, Jul 24, 2015 at 02:15:28PM -0700, Don Lewis wrote: On 24 Jul, Matthieu Volat wrote: I'm not fond of lang/gcc as openmp provider: if a port use c++, it will cause linkage headaches with libc++ (I never was able to have graphics/darktable working, for example). You might want to try out lang/clang-devel with devel/libiomp5-devel. See this thread on freebsd-ports@ http://docs.freebsd.org/cgi/mid.cgi?55AE0474.5050207. Just a heads up in case you try this next week, devel/libiomp5-devel is about to be deleted and the openmp library (as well as clang-devel) will be installed by the llvm-devel port. The clang-devel port will become a metaport to aid people in finding clang while we wait for multiple packages-per-port support. -- Brooks Thanks, and nicely done, I just tested it this morning, this may come in handy! -- Matthieu Volat ma...@alkumuna.eu pgpohWs7jVfyc.pgp Description: OpenPGP digital signature
Re: MFC r282973 (disable libgomp build) and r283060 (disable libgcov build)?
On 24 Jul, Matthieu Volat wrote: On Mon, 20 Jul 2015 14:03:01 -0700 (PDT) Don Lewis truck...@freebsd.org wrote: Should r282973 and r283060 be MFCed to FreeBSD 10? On amd64 and i386, which use clang as their base compiler and don't have gcc in base by default, the math/scilab port uses clang for cc and c++ compilation, but finds /usr/include/omp.h (and links to libgomp from lang/gcc). The build succeeds, but I suspect this may not run properly. Does it mean the door to an openmp-enabled cc in base is closed? That is probably true for FreeBSD 10, since clang 3.4 in base doesn't support OpenMP. Even though omp.h and libgomp are present in FreeBSD 10, and using base clang to compile the test program here http://openmp.org/wp/openmp-compilers/ succeeds, the resulting executable only runs one thread. There is probably more hope for FreeBSD 11 if the runtime is imported, since clang 3.6 in base there at least knows about the -fopenmp option. I'm not fond of lang/gcc as openmp provider: if a port use c++, it will cause linkage headaches with libc++ (I never was able to have graphics/darktable working, for example). You might want to try out lang/clang-devel with devel/libiomp5-devel. See this thread on freebsd-ports@ http://docs.freebsd.org/cgi/mid.cgi?55AE0474.5050207. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: MFC r282973 (disable libgomp build) and r283060 (disable libgcov build)?
On Fri, Jul 24, 2015 at 02:15:28PM -0700, Don Lewis wrote: On 24 Jul, Matthieu Volat wrote: I'm not fond of lang/gcc as openmp provider: if a port use c++, it will cause linkage headaches with libc++ (I never was able to have graphics/darktable working, for example). You might want to try out lang/clang-devel with devel/libiomp5-devel. See this thread on freebsd-ports@ http://docs.freebsd.org/cgi/mid.cgi?55AE0474.5050207. Just a heads up in case you try this next week, devel/libiomp5-devel is about to be deleted and the openmp library (as well as clang-devel) will be installed by the llvm-devel port. The clang-devel port will become a metaport to aid people in finding clang while we wait for multiple packages-per-port support. -- Brooks pgpgFt6RczLRA.pgp Description: PGP signature
Re: MFC r282973 (disable libgomp build) and r283060 (disable libgcov build)?
On Mon, 20 Jul 2015 14:03:01 -0700 (PDT) Don Lewis truck...@freebsd.org wrote: Should r282973 and r283060 be MFCed to FreeBSD 10? On amd64 and i386, which use clang as their base compiler and don't have gcc in base by default, the math/scilab port uses clang for cc and c++ compilation, but finds /usr/include/omp.h (and links to libgomp from lang/gcc). The build succeeds, but I suspect this may not run properly. Does it mean the door to an openmp-enabled cc in base is closed? I'm not fond of lang/gcc as openmp provider: if a port use c++, it will cause linkage headaches with libc++ (I never was able to have graphics/darktable working, for example). -- Matthieu Volat ma...@alkumuna.eu pgpS7ek1wt4jg.pgp Description: OpenPGP digital signature
Re: MFC r282973 (disable libgomp build) and r283060 (disable libgcov build)?
On Mon, Jul 20, 2015 at 02:03:01PM -0700, Don Lewis wrote: Should r282973 and r283060 be MFCed to FreeBSD 10? On amd64 and i386, which use clang as their base compiler and don't have gcc in base by default, the math/scilab port uses clang for cc and c++ compilation, but finds /usr/include/omp.h (and links to libgomp from lang/gcc). The build succeeds, but I suspect this may not run properly. Ed, do you have any input on this? Glen pgpLmQ4cRl_2Y.pgp Description: PGP signature
MFC r282973 (disable libgomp build) and r283060 (disable libgcov build)?
Should r282973 and r283060 be MFCed to FreeBSD 10? On amd64 and i386, which use clang as their base compiler and don't have gcc in base by default, the math/scilab port uses clang for cc and c++ compilation, but finds /usr/include/omp.h (and links to libgomp from lang/gcc). The build succeeds, but I suspect this may not run properly. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org