svn commit: r195337 - in projects/clangbsd/usr.bin/clang: . include/llvm/Config

Ed Schouten ed at FreeBSD.org
Sat Jul 4 09:17:59 UTC 2009


Author: ed
Date: Sat Jul  4 09:17:58 2009
New Revision: 195337
URL: http://svn.freebsd.org/changeset/base/195337

Log:
  Disable LLVM's threading support.
  
  The threading is only useful when JITing stuff, which we don't. Because
  threading is also an experimental feature, it may break on various
  architectures (including i386).
  
  Submitted by:	Alexander Best, Howard Su

Modified:
  projects/clangbsd/usr.bin/clang/clang.prog.mk
  projects/clangbsd/usr.bin/clang/include/llvm/Config/config.h

Modified: projects/clangbsd/usr.bin/clang/clang.prog.mk
==============================================================================
--- projects/clangbsd/usr.bin/clang/clang.prog.mk	Sat Jul  4 06:00:57 2009	(r195336)
+++ projects/clangbsd/usr.bin/clang/clang.prog.mk	Sat Jul  4 09:17:58 2009	(r195337)
@@ -7,9 +7,6 @@ DPADD+= ${.OBJDIR}/../../lib/lib${lib}/l
 LDADD+= ${.OBJDIR}/../../lib/lib${lib}/lib${lib}.a
 .endfor
 
-DPADD+=	${LIBPTHREAD}
-LDADD+=	-lpthread
-
 BINDIR?=/usr/bin
 
 .include <bsd.prog.mk>

Modified: projects/clangbsd/usr.bin/clang/include/llvm/Config/config.h
==============================================================================
--- projects/clangbsd/usr.bin/clang/include/llvm/Config/config.h	Sat Jul  4 06:00:57 2009	(r195336)
+++ projects/clangbsd/usr.bin/clang/include/llvm/Config/config.h	Sat Jul  4 09:17:58 2009	(r195337)
@@ -20,7 +20,7 @@
 #define ENABLE_PIC 1
 
 /* Define if threads enabled */
-#define ENABLE_THREADS 1
+/* #undef ENABLE_THREADS */
 
 /* Define to 1 if you have `alloca', as a function or macro. */
 #define HAVE_ALLOCA 1
@@ -446,7 +446,7 @@
 #define HAVE___DSO_HANDLE 1
 
 /* Build multithreading support into LLVM */
-#define LLVM_MULTITHREADED 1
+/* #undef LLVM_MULTITHREADED */
 
 /* Define if this is Unixish platform */
 #define LLVM_ON_UNIX 1


More information about the svn-src-projects mailing list