[PATCH] D74654: Don't call computeHostNumPhysicalCores when LLVM_ENABLE_THREADS is off
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 14 15:52:45 PST 2020
rnk added inline comments.
================
Comment at: llvm/lib/Support/Host.cpp:1329
}
-#elif defined(_WIN32)
+#elif defined(_WIN32) && LLVM_THREADS_ENABLED
// Defined in llvm/lib/Support/Windows/Threading.inc
----------------
As we discovered later, this should be spelled `LLVM_ENABLE_THREADS != 0`, and something needs to be done to fix SupportTests
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74654/new/
https://reviews.llvm.org/D74654
More information about the llvm-commits
mailing list