[Buildroot] [Bug 7322] libgomp dependency issue with imagemagick

bugzilla at busybox.net bugzilla at busybox.net
Fri Aug 15 13:52:21 UTC 2014


--- Comment #4 from Samuel Martin <s.martin49 at gmail.com> 2014-08-15 13:52:21 UTC ---
I agree about disabling OpenMP support for imagemagick for the release.

However, for the long-term solution, I would perfer having a knob and a check
for external toolchain.

Having a knob allows to avoid relying on the package's build-system black
magics, so one excatly knows how a package is configure/built, so what is put
in its image.
E.g. OpenCV can takes benefit from OpenMP but it is disabled
mostly because of the magics that is done at configure time:
- if you don't ask for OpenMP support (default) or force ot be off, then it is
- if you ask for OpenMP support:
  - if OpenMP is found, then it is enabled;
  - if OpenMP is not found, then it is disabled.

So, in the OpenCV case, if we don't have a knob, we should always ask for
OpenMP support on the configure cmdline to get it only if available.

This is completely missleading for the buildroot user, that will see
"-DWITH_OPENMP=ON" in the package/opencv.mk file, but he/she won't get OpenMP
support without any warning (unless he/she carefully read the build logs) if
its toolchain does not have it.

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the buildroot mailing list