Print debug information during toolchain resolution.

Change-Id: I0785aa430af198635b9c4a193043a3798417acc8
Reviewed-on: https://code-review.googlesource.com/c/re2/+/62375
Reviewed-by: Alex Chernyakhovsky <achernya@google.com>
Reviewed-by: Paul Wankadia <junyer@google.com>
This commit is contained in:
Paul Wankadia
2024-01-16 19:47:51 +00:00
parent 95bb96b298
commit 8e719eef2f

View File

@@ -59,6 +59,8 @@ class BuildExt(setuptools.command.build_ext.build_ext):
pass
# Register the local Python toolchain with highest priority.
cmd.append('--extra_toolchains=@local_config_python//:py_toolchain')
# Print debug information during toolchain resolution.
cmd.append('--toolchain_resolution_debug=.*')
cmd += ['--compilation_mode=opt', '--', ':all']
self.spawn(cmd)