diff options
author | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2025-10-03 10:35:03 -0400 |
---|---|---|
committer | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2025-10-03 10:35:03 -0400 |
commit | f8f6c0b6ecb9d87ead48246d4fadf6048207375d (patch) | |
tree | 4ebcbae83912eae36dad83a045ed3060aca25845 /llvm/lib/Support/Threading.cpp | |
parent | c75ae01233b0965d48e3770160119c162eb5c2ee (diff) | |
download | llvm-f8f6c0b6ecb9d87ead48246d4fadf6048207375d.zip llvm-f8f6c0b6ecb9d87ead48246d4fadf6048207375d.tar.gz llvm-f8f6c0b6ecb9d87ead48246d4fadf6048207375d.tar.bz2 |
Revert "[LLVM] Add GNU make jobserver support (#145131)"
revert this patch due to failure in unittests/Support, e.g.
https://lab.llvm.org/buildbot/#/builders/33/builds/24178/steps/6/logs/FAIL__LLVM-Unit__SupportTests_61
This reverts commit ffc503edd0a2d07121232fe204e480fc29631a90.
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
-rw-r--r-- | llvm/lib/Support/Threading.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Support/Threading.cpp b/llvm/lib/Support/Threading.cpp index 9da357a..693de0e 100644 --- a/llvm/lib/Support/Threading.cpp +++ b/llvm/lib/Support/Threading.cpp @@ -14,7 +14,6 @@ #include "llvm/Support/Threading.h" #include "llvm/Config/config.h" #include "llvm/Config/llvm-config.h" -#include "llvm/Support/Jobserver.h" #include <cassert> #include <optional> @@ -52,10 +51,6 @@ int llvm::get_physical_cores() { return -1; } static int computeHostNumHardwareThreads(); unsigned llvm::ThreadPoolStrategy::compute_thread_count() const { - if (UseJobserver) - if (auto JS = JobserverClient::getInstance()) - return JS->getNumJobs(); - int MaxThreadCount = UseHyperThreads ? computeHostNumHardwareThreads() : get_physical_cores(); if (MaxThreadCount <= 0) |