checking for OpenMP flag of C compiler... unknown configure: error: don't know how to enable OpenMP ===> Script "configure" failed unexpectedly. Fix: If you chose the openmp option, build fftw3 either with gcc from base or ports. IIRC base gcc has openmp, gcc46 has it for sure. Patch attached with submission follows: How-To-Repeat: try to build fftw3 with openmp support using clang
Responsible Changed From-To: freebsd-ports-bugs->bf Over to maintainer (via the GNATS Auto Assign Tool)
bf 2012-06-08 22:38:32 UTC FreeBSD ports repository Modified files: math/fftw3 Makefile Log: exit earlier, and with a more helpful error message, when attempting to build the OpenMP libraries with clang [1]; shorten a long line PR: 168804 [1] Revision Changes Path 1.73 +6 -2 ports/math/fftw3/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
I thought that it was well-known that clang doesn't support OpenMP (in fact, I disabled the OPENMP option by default as a concession to those who were experimenting with clang), but I should have known that someone would try to do this. I will make builds exit earlier, with a more helpful message, but I am not willing to dictate that users use a certain compiler. Those users that are using a custom compiler (clang) with a non-default option (OPENMP) should be prepared to make this selection themselves, either in the environment, or on the command-line, or in a number of included Makefiles that are available. b.
State Changed From-To: open->closed The port has been changed to exit earlier, and with a more helpful error message, in this case. The user should specify a suitable compiler when using this option.