[Buildroot] [PATCH v4 1/1] package/uvw: new package
arnout at mind.be
Sun Oct 27 23:44:05 UTC 2019
On 26/10/2019 22:53, Thomas Petazzoni wrote:
> 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:
This was merged in CMake 3.10, apparently, so as soon as we bump the minimum
CMake version to 3.10 (which is needed for wpewebkit and webkitgtk) those
workaround can be removed again, I guess?
>> 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 ?
More information about the buildroot