llvm-project/libcxx
JF Bastien b1ba015b9f libc++: support NaCl when building thread.cpp
Summary: NaCl shouldn't include sysctl.h when trying to determine std:🧵:hardware_concurrency, it should instead use sysconf(_SC_NPROCESSORS_ONLN) through unistd.h. No test needs to be changed, since hardware_concurrency.pass.cpp already tests that std:🧵:hardware_concurrency > 0.

Test Plan: make check-libcxx

Reviewers: dschuff, danalbert

Subscribers: jfb, cfe-commits

Differential Revision: http://reviews.llvm.org/D6470

llvm-svn: 223128
2014-12-02 17:30:19 +00:00
..
cmake Fix build regression caused by not defining ABI library macros 2014-11-15 17:25:23 +00:00
include libc++: add NaCl and PNaCl support for std::random_device 2014-12-01 19:19:55 +00:00
lib Fixes to get libc++ building on sun solaris. Patch from C Bergstrom. 2014-11-25 21:57:41 +00:00
src libc++: support NaCl when building thread.cpp 2014-12-02 17:30:19 +00:00
test libc++: add NaCl and PNaCl support for std::random_device 2014-12-01 19:19:55 +00:00
www Implement N4280 - 'Non-member size() and more' 2014-11-19 19:43:23 +00:00
.arcconfig Update Arcanist config to point to reviews.llvm.org 2014-06-10 18:29:36 +00:00
CMakeLists.txt Add support for LLVM_USE_SANITIZER=Thread 2014-11-18 21:26:45 +00:00
CREDITS.TXT Add self to credits 2014-08-21 04:21:43 +00:00
LICENSE.TXT Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
Makefile Exclude .svn (and other "dot" directories) when installing headers. 2014-03-13 16:13:54 +00:00