print debug
This commit is contained in:
parent
f511189275
commit
e06d2ffcb3
1 changed files with 5 additions and 1 deletions
|
@ -47,13 +47,17 @@ class BoostRecipe(Recipe):
|
|||
def prebuild_arch(self, arch):
|
||||
super(BoostRecipe, self).prebuild_arch(arch)
|
||||
env = self.get_recipe_env(arch)
|
||||
print(env['CROSSHOST'])
|
||||
print(env['CROSSHOME'])
|
||||
with current_directory(self.get_build_dir(arch.arch)):
|
||||
if not exists(env['CROSSHOME']):
|
||||
# Make custom toolchain
|
||||
bash = sh.Command('bash')
|
||||
|
||||
shprint(bash, join(self.ctx.ndk_dir, 'build/tools/make-standalone-toolchain.sh'),
|
||||
'--arch=' + env['ARCH'],
|
||||
'--arch=' + arch.arch,
|
||||
'--platform=android-' + str(self.ctx.android_api),
|
||||
'--toolchain=' + env['CROSSHOST'] + '-' + self.ctx.toolchain_version + ':-llvm',
|
||||
'--stl=libc++',
|
||||
'--install-dir=' + env['CROSSHOME']
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue