Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] sanity: removed broken compiler check
@ 2016-11-16 11:39 Enrico Scholz
  2016-11-22  3:22 ` Christopher Larson
  0 siblings, 1 reply; 8+ messages in thread
From: Enrico Scholz @ 2016-11-16 11:39 UTC (permalink / raw)
  To: openembedded-core; +Cc: Enrico Scholz

From: Enrico Scholz <enrico.scholz@ensc.de>

The compiler check is broken because it checks for the existance of
${CC} as a file.  This fails with ccache with

|    Please install the following missing utilities: C Compiler (ccache
gcc ),C++ Compiler (ccache g++ )

Remove this check for now.

Signed-off-by: Enrico Scholz <enrico.scholz@ensc.de>
---
 meta/classes/sanity.bbclass | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 7388da6..46f54df 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -669,12 +669,6 @@ def check_sanity_version_change(status, d):
     if not check_app_exists("${MAKE}", d):
         missing = missing + "GNU make,"
 
-    if not check_app_exists('${BUILD_CC}', d):
-        missing = missing + "C Compiler (%s)," % d.getVar("BUILD_CC", True)
-
-    if not check_app_exists('${BUILD_CXX}', d):
-        missing = missing + "C++ Compiler (%s)," % d.getVar("BUILD_CXX", True)
-
     required_utilities = d.getVar('SANITY_REQUIRED_UTILITIES', True)
 
     for util in required_utilities.split():
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-11-22 20:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-16 11:39 [PATCH] sanity: removed broken compiler check Enrico Scholz
2016-11-22  3:22 ` Christopher Larson
2016-11-22 11:11   ` Enrico Scholz
2016-11-22 11:42   ` Burton, Ross
2016-11-22 12:01     ` Enrico Scholz
2016-11-22 12:11       ` Burton, Ross
2016-11-22 12:16         ` Enrico Scholz
2016-11-22 20:33           ` Andre McCurdy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox