package/intel-gmmlib: needs threads

threads are mandatory since version 19.1.1 and
9e4aa143fb
resulting in the following build failure since commit
cd206d9b808a322a00294b4caad203a892ed4c92:

CMake Error at /home/thomas/autobuild/instance-2/output-1/host/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Threads (missing: Threads_FOUND)

Fixes:
 - http://autobuild.buildroot.org/results/c1120932e8c212820b239ee8cd4a057623a73376

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023.02.x
Fabrice Fontaine 2023-02-24 17:40:53 +01:00 committed by Thomas Petazzoni
parent 656aec42d9
commit b5d310772d
2 changed files with 5 additions and 3 deletions

View File

@ -3,6 +3,7 @@ config BR2_PACKAGE_INTEL_GMMLIB
depends on BR2_x86_64
depends on !BR2_STATIC_LIBS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
help
The Intel(R) Graphics Memory Management Library provides
device specific and buffer management for the Intel(R)
@ -11,5 +12,6 @@ config BR2_PACKAGE_INTEL_GMMLIB
https://github.com/intel/gmmlib
comment "intel-gmmlib needs a toolchain w/ dynamic library, C++"
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP
comment "intel-gmmlib needs a toolchain w/ dynamic library, C++, threads"
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_HAS_THREADS

View File

@ -4,7 +4,7 @@ config BR2_PACKAGE_INTEL_MEDIADRIVER
depends on !BR2_STATIC_LIBS # mesa3d, libva
depends on BR2_INSTALL_LIBSTDCPP # intel-gmmlib, mesa3d
depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d
depends on BR2_TOOLCHAIN_HAS_THREADS # libva
depends on BR2_TOOLCHAIN_HAS_THREADS # intel-gmmlib, libva
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mesa3d
select BR2_PACKAGE_INTEL_GMMLIB
select BR2_PACKAGE_LIBPCIACCESS