Pārlūkot izejas kodu

package/intel-gmmlib: needs C++

intel-gmmlib needs C++ since its addition in commit
93e4ee81a2e3e163bf74c24b6ec68f9446f96ae4 and
https://github.com/intel/gmmlib/commit/7a1ec78c0bc74939ba3ef61854f98eb4d7267cc3:

CMake Error at /nvmedata/autobuild/instance-15/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message):
  The C++ compiler

    "/usr/bin/clang++"

  is not able to compile a simple test program.

Fixes:
 - http://autobuild.buildroot.org/results/8cadfee0288a05676868e05d56243d866cbf051d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabrice Fontaine 3 gadi atpakaļ
vecāks
revīzija
c0aaf9cc9e

+ 3 - 2
package/intel-gmmlib/Config.in

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

+ 1 - 1
package/intel-mediadriver/Config.in

@@ -2,7 +2,7 @@ config BR2_PACKAGE_INTEL_MEDIADRIVER
 	bool "intel-mediadriver"
 	bool "intel-mediadriver"
 	depends on BR2_x86_64
 	depends on BR2_x86_64
 	depends on !BR2_STATIC_LIBS # mesa3d, libva
 	depends on !BR2_STATIC_LIBS # mesa3d, libva
-	depends on BR2_INSTALL_LIBSTDCPP # mesa3d
+	depends on BR2_INSTALL_LIBSTDCPP # intel-gmmlib, mesa3d
 	depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d
 	depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libva
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libva
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mesa3d
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mesa3d