[Buildroot] [PATCH v4 1/1] package/uvw: new package
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Oct 26 20:53:28 UTC 2019
On Sat, 26 Oct 2019 23:40:25 +0300
Asaf Kahlon <asafka7 at gmail.com> wrote:
> Actually, this failure isn't related to Doxygen.
> The problem occurs when CMake runs a simple threads test.
> This seems to be fixed on a newer CMake version, as described in this issue:
> https://gitlab.kitware.com/cmake/cmake/issues/16920
> As a workaround, setting THREADS_PTHREAD_ARG to "2" on UVW_CONF_OPTS
> does the job, but I wonder maybe we want to put it on toolchainfile.cmake,
> as this can potentially happen in the future with other packages...
>
> Do you have any thoughts regarding the correct solution?
We have numerous packages that do this:
# The following CMake variable disables a TRY_RUN call in the -pthread
# test which is not allowed when cross-compiling.
EXIV2_CONF_OPTS += -DTHREADS_PTHREAD_ARG=OFF
would that help for this package as well ?
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list