search for: llvm_enable_pthreads

Displaying 7 results from an estimated 7 matches for "llvm_enable_pthreads".

Did you mean: dllvm_enable_threads
2009 May 27
2
[LLVMdev] CMake build maturity
Paul Melis <llvm at assumetheposition.nl> writes: > It seems that the llvm-config generated when building through CMake does > not contain -lpthread on my 32-bit Core2Duo Gentoo Linux system (even > though I configured with LLVM_ENABLE_PTHREADS). I get missing symbols > during linking of e.g. the JIT tutorial code: [snip] This should be fixed now. Now about this one: > Adding -lpthread to the compile command manually fixes it, but there > seem to be some more discrepancies between the output of llvm-config for > a build usi...
2013 Jan 08
0
[LLVMdev] Build failure when building single threaded LLVM with CMake
...> -#ifdef HAVE_PTHREAD_H > +#ifdef LLVM_ENABLE_THREADS !=0 && defined(HAVE_PTHREAD_H) Use #if instead of #ifdef > #include <pthread.h> > #endif > > @@ -19,7 +19,7 @@ using namespace llvm; > > namespace { > > -#ifdef HAVE_PTHREAD_H > +#ifdef LLVM_ENABLE_PTHREADS!=0 && defined(HAVE_PTHREAD_H) Same here. [snip]
2013 Jan 07
2
[LLVMdev] Build failure when building single threaded LLVM with CMake
Hi, I found that building LLVM in single-threaded mode with CMake is failing because some object files still have references to pthread routines. There are two instances of the build failure happening. $ cmake .../llvm/ -DLLVM_ENABLE_THREADS=0 $ make -j8 check-all % Linking CXX executable IRTests ../../lib/libgtest.a(gtest.cc.o): In function
2009 Jun 01
0
[LLVMdev] CMake build maturity
Óscar Fuentes wrote: > Paul Melis <llvm at assumetheposition.nl> writes: > > >> It seems that the llvm-config generated when building through CMake does >> not contain -lpthread on my 32-bit Core2Duo Gentoo Linux system (even >> though I configured with LLVM_ENABLE_PTHREADS). I get missing symbols >> during linking of e.g. the JIT tutorial code: >> > > [snip] > > This should be fixed now. Now about this one: > > >> Adding -lpthread to the compile command manually fixes it, but there >> seem to be some more discrepancie...
2009 May 27
0
[LLVMdev] CMake build maturity
...vm at assumetheposition.nl> writes: > > [snip] > > Thanks! Fixed. > > BTW, bug reports are welcome. > It seems that the llvm-config generated when building through CMake does not contain -lpthread on my 32-bit Core2Duo Gentoo Linux system (even though I configured with LLVM_ENABLE_PTHREADS). I get missing symbols during linking of e.g. the JIT tutorial code: 12:20|melis at juggle2:~> c++ -g tut2.cpp `llvm-config --cxxflags --ldflags --libs core` -o tut2 /home/melis/llvm-cmake/lib/libLLVMSystem.a(Mutex.cpp.o): In function `llvm::sys::Mutex::tryacquire()': /home/melis/c/llvm-sv...
2009 May 22
2
[LLVMdev] CMake build maturity
Paul Melis <llvm at assumetheposition.nl> writes: > Hi, just chiming in here... > > Óscar Fuentes wrote: >> [...] >> >> This is a simple guide for using cmake with LLVM: >> >> http://www.llvm.org/docs/CMake.html >> >> The makefiles distributed with LLVM have nothing to do with cmake. >>From the few times I tried building LLVM with
2009 Jun 01
2
[LLVMdev] CMake build maturity
...; Paul Melis <llvm at assumetheposition.nl> writes: >> >> >> >>> It seems that the llvm-config generated when building through CMake does >>> not contain -lpthread on my 32-bit Core2Duo Gentoo Linux system (even >>> though I configured with LLVM_ENABLE_PTHREADS). I get missing symbols >>> during linking of e.g. the JIT tutorial code: >>> >>> >> [snip] >> >> This should be fixed now. Now about this one: >> >> >> >>> Adding -lpthread to the compile command manually f...