Skip to content

Commit

Permalink
Print debug information during toolchain resolution.
Browse files Browse the repository at this point in the history
Change-Id: I0785aa430af198635b9c4a193043a3798417acc8
Reviewed-on: https://code-review.googlesource.com/c/re2/+/62375
Reviewed-by: Alex Chernyakhovsky <[email protected]>
Reviewed-by: Paul Wankadia <[email protected]>
  • Loading branch information
junyer committed Jan 16, 2024
1 parent 95bb96b commit 8e719ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ def build_extension(self, 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)

Expand Down

0 comments on commit 8e719ee

Please sign in to comment.