bazel: pretty print is all but pretty (#35963)
* bazel: pretty print is all but pretty * Don't ask bazel to explain what it's up to
This commit is contained in:
parent
e67c61aac0
commit
7e7e6c2797
7 changed files with 1 additions and 50 deletions
|
@ -519,14 +519,7 @@ def setup_build_environment(self, env):
|
|||
# Spack's logs don't handle colored output well
|
||||
"--color=no --host_javabase=@local_jdk//:jdk"
|
||||
# Enable verbose output for failures
|
||||
" --verbose_failures"
|
||||
# Ask bazel to explain what it's up to
|
||||
# Needs a filename as argument
|
||||
" --explain=explainlogfile.txt"
|
||||
# Increase verbosity of explanation,
|
||||
" --verbose_explanations"
|
||||
# Show (formatted) subcommands being executed
|
||||
" --subcommands=pretty_print" " --jobs={0}".format(make_jobs),
|
||||
" --verbose_failures --jobs={0}".format(make_jobs),
|
||||
)
|
||||
|
||||
@run_before("install")
|
||||
|
|
|
@ -52,14 +52,7 @@ def patch(self):
|
|||
"'--jobs={0}',\n".format(make_jobs),
|
||||
# Enable verbose output for failures
|
||||
"'--verbose_failures',\n",
|
||||
# Show (formatted) subcommands being executed
|
||||
"'--subcommands=pretty_print',\n",
|
||||
"'--spawn_strategy=local',\n",
|
||||
# Ask bazel to explain what it's up to
|
||||
# Needs a filename as argument
|
||||
"'--explain=explainlogfile.txt',\n",
|
||||
# Increase verbosity of explanation,
|
||||
"'--verbose_explanations',\n",
|
||||
# bazel uses system PYTHONPATH instead of spack paths
|
||||
"'--action_env', 'PYTHONPATH={0}',\n".format(env["PYTHONPATH"]),
|
||||
]
|
||||
|
|
|
@ -115,14 +115,7 @@ def install(self, spec, prefix):
|
|||
"--jobs={0}".format(make_jobs),
|
||||
# Enable verbose output for failures
|
||||
"--verbose_failures",
|
||||
# Show (formatted) subcommands being executed
|
||||
"--subcommands=pretty_print",
|
||||
"--spawn_strategy=local",
|
||||
# Ask bazel to explain what it's up to
|
||||
# Needs a filename as argument
|
||||
"--explain=explainlogfile.txt",
|
||||
# Increase verbosity of explanation,
|
||||
"--verbose_explanations",
|
||||
# bazel uses system PYTHONPATH instead of spack paths
|
||||
"--action_env",
|
||||
"PYTHONPATH={0}".format(env["PYTHONPATH"]),
|
||||
|
|
|
@ -74,14 +74,7 @@ def install(self, spec, prefix):
|
|||
"--jobs={0}".format(make_jobs),
|
||||
# Enable verbose output for failures
|
||||
"--verbose_failures",
|
||||
# Show (formatted) subcommands being executed
|
||||
"--subcommands=pretty_print",
|
||||
"--spawn_strategy=local",
|
||||
# Ask bazel to explain what it's up to
|
||||
# Needs a filename as argument
|
||||
"--explain=explainlogfile.txt",
|
||||
# Increase verbosity of explanation,
|
||||
"--verbose_explanations",
|
||||
# bazel uses system PYTHONPATH instead of spack paths
|
||||
"--action_env",
|
||||
"PYTHONPATH={0}".format(env["PYTHONPATH"]),
|
||||
|
|
|
@ -49,14 +49,7 @@ def install(self, spec, prefix):
|
|||
"--jobs={0}".format(make_jobs),
|
||||
# Enable verbose output for failures
|
||||
"--verbose_failures",
|
||||
# Show (formatted) subcommands being executed
|
||||
"--subcommands=pretty_print",
|
||||
"--spawn_strategy=local",
|
||||
# Ask bazel to explain what it's up to
|
||||
# Needs a filename as argument
|
||||
"--explain=explainlogfile.txt",
|
||||
# Increase verbosity of explanation,
|
||||
"--verbose_explanations",
|
||||
# bazel uses system PYTHONPATH instead of spack paths
|
||||
"--action_env",
|
||||
"PYTHONPATH={0}".format(env["PYTHONPATH"]),
|
||||
|
|
|
@ -69,14 +69,7 @@ def install(self, spec, prefix):
|
|||
"--jobs={0}".format(make_jobs),
|
||||
# Enable verbose output for failures
|
||||
"--verbose_failures",
|
||||
# Show (formatted) subcommands being executed
|
||||
"--subcommands=pretty_print",
|
||||
"--spawn_strategy=local",
|
||||
# Ask bazel to explain what it's up to
|
||||
# Needs a filename as argument
|
||||
"--explain=explainlogfile.txt",
|
||||
# Increase verbosity of explanation,
|
||||
"--verbose_explanations",
|
||||
# bazel uses system PYTHONPATH instead of spack paths
|
||||
"--action_env",
|
||||
"PYTHONPATH={0}".format(env["PYTHONPATH"]),
|
||||
|
|
|
@ -932,13 +932,6 @@ def build(self, spec, prefix):
|
|||
"--config=opt",
|
||||
# Enable verbose output for failures
|
||||
"--verbose_failures",
|
||||
# Show (formatted) subcommands being executed
|
||||
"--subcommands=pretty_print",
|
||||
# Ask bazel to explain what it's up to
|
||||
# Needs a filename as argument
|
||||
"--explain=explainlogfile.txt",
|
||||
# Increase verbosity of explanation,
|
||||
"--verbose_explanations",
|
||||
]
|
||||
|
||||
if spec.satisfies("^bazel@:3.5"):
|
||||
|
|
Loading…
Reference in a new issue