[PATCH] D103972: Remove redundant environment variable XLA_FLAGS.

Jacob Hegna via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 14 16:58:39 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6c848c28c2f4: Remove redundant environment variable XLA_FLAGS. (authored by jacobhegna).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103972/new/

https://reviews.llvm.org/D103972

Files:
  llvm/cmake/modules/TensorFlowCompile.cmake


Index: llvm/cmake/modules/TensorFlowCompile.cmake
===================================================================
--- llvm/cmake/modules/TensorFlowCompile.cmake
+++ llvm/cmake/modules/TensorFlowCompile.cmake
@@ -32,7 +32,8 @@
     tfgetmodel(${model} LLVM_ML_MODELS_ABSOLUTE)
     message("Using model at " ${LLVM_ML_MODELS_ABSOLUTE})
     add_custom_command(OUTPUT ${obj_file} ${hdr_file}
-      COMMAND "XLA_FLAGS=\"--xla_cpu_multi_thread_eigen=false\"" ${TENSORFLOW_AOT_COMPILER} aot_compile_cpu
+      COMMAND ${TENSORFLOW_AOT_COMPILER} aot_compile_cpu
+            --multithreading false
             --dir ${LLVM_ML_MODELS_ABSOLUTE}
             --tag_set ${tag_set}
             --signature_def_key ${signature_def_key}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103972.352019.patch
Type: text/x-patch
Size: 731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210614/e0fc9312/attachment.bin>


More information about the llvm-commits mailing list