mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-01 16:51:27 +00:00
Many of the test executables use pthreads directly. This isn't portable on Windows, so this patch converts these test to use C++11 threads and mutexes. Since Windows' implementation of std::thread classes throw and catch from header files, this patch also disables exceptions when compiling with clang on Windows. Reviewed by: Todd Fiala, Ed Maste Differential Revision: http://reviews.llvm.org/D4816 llvm-svn: 215562
8 lines
103 B
Makefile
8 lines
103 B
Makefile
LEVEL = ../../../make
|
|
|
|
CXX_SOURCES := main.cpp
|
|
|
|
ENABLE_THREADS := YES
|
|
|
|
include $(LEVEL)/Makefile.rules
|