Disable LLVM threading for TensorFlow on Windows.

PiperOrigin-RevId: 339124600
Change-Id: Iaf61e1942452c12409e33d69a64286fb01af1e89
This commit is contained in:
Geoffrey Martin-Noble 2020-10-26 14:57:29 -07:00 committed by TensorFlower Gardener
parent b8fcda3cd1
commit f64e0de72a

View File

@ -293,11 +293,6 @@ win32_cmake_vars = {
# LLVM features
"LTDL_SHLIB_EXT": ".dll",
# ThreadPoolExecutor global destructor and thread handshaking do not work
# on this platform when used as a DLL.
# See: https://bugs.llvm.org/show_bug.cgi?id=44211
"LLVM_ENABLE_THREADS": 0,
}
# Select a set of CMake variables based on the platform.