print debug

This commit is contained in:
zeppi 2022-12-05 11:25:15 -05:00
parent f511189275
commit e06d2ffcb3

View file

@ -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']
)