From e06d2ffcb3225b2da863f8cdf8faa6153bfd28c0 Mon Sep 17 00:00:00 2001 From: zeppi Date: Mon, 5 Dec 2022 11:25:15 -0500 Subject: [PATCH] print debug --- recipes/boost/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes/boost/__init__.py b/recipes/boost/__init__.py index 21ada57..c0ea3ae 100644 --- a/recipes/boost/__init__.py +++ b/recipes/boost/__init__.py @@ -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'] )