This is an archive of the discontinued LLVM Phabricator instance.

Remove redundant environment variable XLA_FLAGS.
ClosedPublic

Authored by jacobhegna on Jun 9 2021, 9:40 AM.

Details

Summary

If the flag is not set, the script saved_model_aot_compile.py in tensorflow will
default it to the correct value. However, in TF 2.5, the way the value is set in
TensorFlowCompile.cmake file triggers a build error.

Diff Detail

Event Timeline

jacobhegna created this revision.Jun 9 2021, 9:40 AM
jacobhegna requested review of this revision.Jun 9 2021, 9:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2021, 9:40 AM
jacobhegna updated this revision to Diff 350936.Jun 9 2021, 9:59 AM

Add --multithreading false to the cmake file.

mtrofin accepted this revision.Jun 9 2021, 9:59 AM

lgtm

This revision is now accepted and ready to land.Jun 9 2021, 9:59 AM
This revision was landed with ongoing or failed builds.Jun 14 2021, 4:58 PM
This revision was automatically updated to reflect the committed changes.