Revert D38481 due to missing cmake check for CPU_COUNT
authorDaniel Neilson <dneilson@azul.com>
Wed, 4 Oct 2017 18:19:03 +0000 (18:19 +0000)
committerDaniel Neilson <dneilson@azul.com>
Wed, 4 Oct 2017 18:19:03 +0000 (18:19 +0000)
commitbef94bcbae5f5f4e01f0247322e3381f0cc07c5e
tree2966d82cacfaddcd03fc96d4d9db4d08d09fb8ba
parent9edbe110e88a99215836cfc4700f4fab6c8f4dbe
Revert D38481 due to missing cmake check for CPU_COUNT

Summary:
This reverts D38481. The change breaks systems with older versions of glibc. It
injects a use of CPU_COUNT() from sched.h without checking to ensure that the
function exists first.

Reviewers:

Subscribers:

llvm-svn: 314922
llvm/cmake/config-ix.cmake
llvm/include/llvm/Config/config.h.cmake
llvm/include/llvm/Support/ThreadPool.h
llvm/include/llvm/Support/Threading.h
llvm/lib/Support/Parallel.cpp
llvm/lib/Support/ThreadPool.cpp
llvm/lib/Support/Threading.cpp
llvm/tools/llvm-profdata/llvm-profdata.cpp