waf: gbenchmark: disable cross-compilation
That's a temporary solution to allow cross compilation for the common binaries. We can enable cross compilation of benchmark later.
This commit is contained in:
parent
e7312a1f81
commit
41e2a8cf1e
@ -41,6 +41,14 @@ def configure(cfg):
|
||||
env = cfg.env
|
||||
env.HAS_GBENCHMARK = False
|
||||
|
||||
if env.TOOLCHAIN != 'native':
|
||||
cfg.msg(
|
||||
'Gbenchmark',
|
||||
'cross-compilation currently not supported',
|
||||
color='YELLOW',
|
||||
)
|
||||
return
|
||||
|
||||
cfg.start_msg('Checking for gbenchmark submodule')
|
||||
cmake_lists = cfg.srcnode.find_resource('modules/gbenchmark/CMakeLists.txt')
|
||||
if not cmake_lists:
|
||||
|
Loading…
Reference in New Issue
Block a user