Date: Sat, 4 Jul 2009 09:17:58 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r195337 - in projects/clangbsd/usr.bin/clang: . include/llvm/Config Message-ID: <200907040917.n649HwJO005131@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907040917.n649HwJO005131>