diff options
author | Andrew W Elble <aweits@rit.edu> | 2020-06-12 16:25:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 13:25:34 -0700 |
commit | 67b86623a229f4bc379dfc6d0ae773445eaf8d7c (patch) | |
tree | b5434d159a3c28592c03d9b95f010618becc6f17 /lib | |
parent | 0c1f1af571bce8b1bc0a89172714cac00e69d66b (diff) | |
download | spack-67b86623a229f4bc379dfc6d0ae773445eaf8d7c.tar.gz spack-67b86623a229f4bc379dfc6d0ae773445eaf8d7c.tar.bz2 spack-67b86623a229f4bc379dfc6d0ae773445eaf8d7c.tar.xz spack-67b86623a229f4bc379dfc6d0ae773445eaf8d7c.zip |
bazel: patch to allow py-tensorflow (and likely other bazel packages) to build. (#17013)
bazel uses gcc's -MF option to write dependencies to a
file. Post-compilation, bazel reads this file and makes some
determinations.
"Since gcc is given only relative paths on the command line,
non-system include paths here should never be absolute. If they
are, it's probably due to a non-hermetic #include, & we should stop
the build with an error."
Spack directly injects absolute paths, which appear in this file and
cause bazel to fail the build despite the fact that compilation
succeeded.
This patch disables this failure mode by default, and allows for it
to be turned back on by using the '~nodepfail' variant.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions