summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSajid Ali <30510036+s-sajid-ali@users.noreply.github.com>2019-12-17 12:46:34 -0600
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-17 12:46:34 -0600
commitf657f73e9477fcd3b6495af3c022f380b4656ded (patch)
tree4b99b3130ba35278739916d5a8fb1790bc128951
parent1a41380649fa46cfb18b0892275cf899f759954a (diff)
downloadspack-f657f73e9477fcd3b6495af3c022f380b4656ded.tar.gz
spack-f657f73e9477fcd3b6495af3c022f380b4656ded.tar.bz2
spack-f657f73e9477fcd3b6495af3c022f380b4656ded.tar.xz
spack-f657f73e9477fcd3b6495af3c022f380b4656ded.zip
tf verbosity to better enable debugging (#14177)
* tf verbosity * Add more debug flags modified: var/spack/repos/builtin/packages/py-tensorflow/package.py * Fix later * More debug/verbose options. modified: var/spack/repos/builtin/packages/py-tensorflow/package.py
-rw-r--r--var/spack/repos/builtin/packages/py-tensorflow/package.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-tensorflow/package.py b/var/spack/repos/builtin/packages/py-tensorflow/package.py
index 69dabac970..4b10b89071 100644
--- a/var/spack/repos/builtin/packages/py-tensorflow/package.py
+++ b/var/spack/repos/builtin/packages/py-tensorflow/package.py
@@ -607,6 +607,15 @@ class PyTensorflow(Package, CudaPackage):
'--color=no',
'--jobs={0}'.format(make_jobs),
'--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',
]
# See .bazelrc for when each config flag is supported