[PATCH] D103972: Remove redundant environment variable XLA_FLAGS.
Jacob Hegna via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 9 09:59:16 PDT 2021
jacobhegna updated this revision to Diff 350936.
jacobhegna added a comment.
Add --multithreading false to the cmake file.
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.350936.patch
Type: text/x-patch
Size: 731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210609/4e49f122/attachment.bin>
More information about the llvm-commits
mailing list