search for: dllvm_enable_threads

Displaying 20 results from an estimated 27 matches for "dllvm_enable_threads".

Did you mean: llvm_enable_threads
2009 May 27
2
[LLVMdev] CMake build maturity
...ointer > -fPIC -Woverloaded-virtual > -L/home/melis/llvm/lib -lpthread -ldl -lm -lelf > -lLLVMCore -lLLVMSupport -lLLVMSystem > > melis at juggle2:~/c/llvm-svn-build> cmake /home/melis/c/llvm-svn > -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/melis/llvm-cmake > -DLLVM_ENABLE_THREADS=ON > melis at juggle2:~/c/llvm-svn-build> make install > melis at juggle2:~/c/llvm-svn-build> which llvm-config > /home/melis/llvm-cmake/bin/llvm-config > melis at juggle2:~/c/llvm-svn-build> llvm-config --cxxflags --ldflags > --libs core > -I/home/melis/llvm-cmake/includ...
2017 Jan 06
2
LLD and LLVM_LINK_LLVM_DYLIB
...LVM-4.0svn.so is linked... Cheers,Jonas Am Freitag, den 06.01.2017, 13:44 +0900 schrieb Rui Ueyama: > Hi Hahnfeld, > I just compiled with LLVM_LINK_LLVM_DYLIB enabled [1] and build lld with `ninja lld`. It built fine. What am I missing? > > [1] $ cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_THREADS=On -DLLVM_ENABLE_LLD=true -DLLVM_LINK_LLVM_DYLIB=true -DLLVM_ENABLE_PROJECTS='clang;lld' ../llvm-project/llvm > > On Wed, Jan 4, 2017 at 10:31 PM, Hahnfeld, Jonas via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi all, > > > > > > > > I rec...
2019 Jan 08
2
[LLD] [WASM] wasm/function-index.test failing
Are you using static linking, -DBUILD_SHARED_LIBS, or -DLLVM_LINK_LLVM_DYLIB? On Tue, Jan 8, 2019 at 7:21 AM David Greene via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Rui Ueyama <ruiu at google.com> writes: > > > I cannot reproduce this error, but this could be real. > > > > David, is this reproducible every time or is this flaky? > > It's
2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
..._ROOT \ -DLLVM_BINUTILS_INCDIR=${DESTROOT}/include \ -DLLVM_BUILD_32_BITS=OFF \ -DLLVM_BUILD_EXAMPLES=ON \ -DLLVM_ENABLE_CXX1Y=ON \ -DLLVM_ENABLE_EH=ON \ -DLLVM_ENABLE_FFI=ON \ -DLLVM_ENABLE_LIBCXX=ON \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_ENABLE_THREADS=ON \ -DLLVM_ENABLE_ZLIB=ON \ -DLLVM_INCLUDE_EXAMPLES=ON \ -DLLVM_INCLUDE_UTILS=ON \ -DLLVM_OPTIMIZED_TABLEGEN=ON \ -DLLVM_PARALLEL_COMPILE_JOBS=15 \ -DLLVM_PARALLEL_LINK_JOBS=15 \ -DLLVM_TARGETS_TO_BUILD="X86" \ -DLLVM_TARGET...
2017 Jan 06
2
LLD and LLVM_LINK_LLVM_DYLIB
...Freitag, den 06.01.2017, 13:44 +0900 schrieb Rui Ueyama: >> >> Hi Hahnfeld, >> >> I just compiled with LLVM_LINK_LLVM_DYLIB enabled [1] and build lld with >> `ninja lld`. It built fine. What am I missing? >> >> [1] $ cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_THREADS=On >> -DLLVM_ENABLE_LLD=true -DLLVM_LINK_LLVM_DYLIB=true >> -DLLVM_ENABLE_PROJECTS='clang;lld' ../llvm-project/llvm >> >> On Wed, Jan 4, 2017 at 10:31 PM, Hahnfeld, Jonas via llvm-dev >> <llvm-dev at lists.llvm.org> wrote: >> >> Hi all, >&g...
2009 Jun 01
0
[LLVMdev] CMake build maturity
...rloaded-virtual >> -L/home/melis/llvm/lib -lpthread -ldl -lm -lelf >> -lLLVMCore -lLLVMSupport -lLLVMSystem >> >> melis at juggle2:~/c/llvm-svn-build> cmake /home/melis/c/llvm-svn >> -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/melis/llvm-cmake >> -DLLVM_ENABLE_THREADS=ON >> melis at juggle2:~/c/llvm-svn-build> make install >> melis at juggle2:~/c/llvm-svn-build> which llvm-config >> /home/melis/llvm-cmake/bin/llvm-config >> melis at juggle2:~/c/llvm-svn-build> llvm-config --cxxflags --ldflags >> --libs core >> -I/home...
2017 Jan 04
2
LLD and LLVM_LINK_LLVM_DYLIB
Hi all, I recently gave LLD a try and it definitely works fine. However one cannot build it together with LLVM_LINK_LLVM_DYLIB: ELF/Driver.cpp and ELF/DriverUtils.cpp pull in llvm/Support/CommandLine.h which defines the command line options so these global variables end up in libLLVM-4.0svn.so via liblldELF. If this shared library is then linked into bin/lld or bin/opt one gets errors because of
2009 May 27
0
[LLVMdev] CMake build maturity
...CONSTANT_MACROS -O3 -fomit-frame-pointer -fPIC -Woverloaded-virtual -L/home/melis/llvm/lib -lpthread -ldl -lm -lelf -lLLVMCore -lLLVMSupport -lLLVMSystem melis at juggle2:~/c/llvm-svn-build> cmake /home/melis/c/llvm-svn -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/melis/llvm-cmake -DLLVM_ENABLE_THREADS=ON melis at juggle2:~/c/llvm-svn-build> make install melis at juggle2:~/c/llvm-svn-build> which llvm-config /home/melis/llvm-cmake/bin/llvm-config melis at juggle2:~/c/llvm-svn-build> llvm-config --cxxflags --ldflags --libs core -I/home/melis/llvm-cmake/include -O3 -DNDEBUG -D_GNU_SOURCE...
2009 Dec 11
0
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
Ok, more recent developments follow. I updated my MSYS and MinGW install to use binutils 2.20 and gcc 4.4.0. With this I was able to build LLVM 2.6 with the following CMake configuration: cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PIC=NO -DLLVM_ENABLE_THREADS=NO -G "MSYS Makefiles" ~/llvm-2.6-src I also downloaded the llvm-gcc 4.2 binaries from llvm.org and used them to build an alternate llvm system using the following configuration: cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PIC=NO -DLLVM_ENABLE_THREADS=NO -DCMAKE_C_COMPILER=llvm-...
2015 Jul 28
2
[LLVMdev] Regression testing on MSYS2 host with mingw-w64
...-DCMAKE_C_FLAGS="${CFLAGS}" \ > -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${CPPFLAGS}" \ > -DCMAKE_INSTALL_PREFIX=/mingw64 \ > -DCMAKE_BUILD_TYPE=Release \ > -DLLVM_TARGETS_TO_BUILD="ARM;AArch64;CppBackend;X86" \ > -DLLVM_ENABLE_ASSERTIONS=OFF \ > -DLLVM_ENABLE_THREADS=0 \ > -DPYTHON_EXECUTABLE=/mingw64/bin/python2.exe \ > -DLLVM_ENABLE_FFI=ON \ > -DLLVM_ENABLE_SPHINX=ON \ > ../llvm > Is this not supported? We do have a build of libffi in mingw-w64 and it works well with other projects. On Tue, Jul 28, 2015 at 6:49 PM, Yaron Keren <ya...
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 Dec 10
2
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
"Michael Ness" <mike at liquido2.com> writes: > I decided to forget 2.5 and move on to 2.6 which built fine with CMake. > However, I continue to have problems with llvm-config when using the > following command: > > $ llvm-g++ out.s -o out `llvm-config --ldflags --libs core support system > x86` > > I consistently get undefined reference errors that are
2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
..._ROOT \ -DLLVM_BINUTILS_INCDIR=${DESTROOT}/include \ -DLLVM_BUILD_32_BITS=OFF \ -DLLVM_BUILD_EXAMPLES=ON \ -DLLVM_ENABLE_CXX1Y=ON \ -DLLVM_ENABLE_EH=ON \ -DLLVM_ENABLE_FFI=ON \ -DLLVM_ENABLE_LIBCXX=ON \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_ENABLE_THREADS=ON \ -DLLVM_ENABLE_ZLIB=ON \ -DLLVM_INCLUDE_EXAMPLES=ON \ -DLLVM_INCLUDE_UTILS=ON \ -DLLVM_OPTIMIZED_TABLEGEN=ON \ -DLLVM_PARALLEL_COMPILE_JOBS=15 \ -DLLVM_PARALLEL_LINK_JOBS=15 \ -DLLVM_TARGETS_TO_BUILD="X86" \ -DLLVM_TARGET...
2020 Mar 28
2
LLD issue on a massively parallel build machine
Hi, My configuration is below: cmake -GNinja -DLLVM_ENABLE_LLD=ON -DLLVM_ENABLE_THREADS=OFF -DLLVM_ENABLE_LIBCXX=ON -DCMAKE_BUILD_TYPE=Release -DGCC_INSTALL_PREFIX=/home/usr4/c74014i/opt/gcc-7.5.0/ -DLIBOMPTARGET_ENABLE_DEBUG=ON -DCMAKE_INSTALL_PREFIX=$HOME/opt/clang/${today} -DCMAKE_C_COMPILER=clang -DCMAKE_C_FLAGS="" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="&qu...
2020 Mar 28
3
LLD issue on a massively parallel build machine
...e you were running out of memory. You > could try increasing your swap space? > > Alex > > On Sat, Mar 28, 2020 at 3:15 PM Itaru Kitayama <itaru.kitayama at gmail.com> > wrote: > >> Hi, >> My configuration is below: >> cmake -GNinja -DLLVM_ENABLE_LLD=ON -DLLVM_ENABLE_THREADS=OFF >> -DLLVM_ENABLE_LIBCXX=ON -DCMAKE_BUILD_TYPE=Release >> -DGCC_INSTALL_PREFIX=/home/usr4/c74014i/opt/gcc-7.5.0/ >> -DLIBOMPTARGET_ENABLE_DEBUG=ON >> -DCMAKE_INSTALL_PREFIX=$HOME/opt/clang/${today} -DCMAKE_C_COMPILER=clang >> -DCMAKE_C_FLAGS="" -DCMAKE_CXX...
2009 Dec 07
2
[LLVMdev] Trunk build failure
On the trunk I am getting some errors which are killing the rest of the build: 2>Atomic.cpp(49) : error C2664: 'InterlockedCompareExchange' : cannot convert parameter 1 from 'volatile llvm::sys::cas_flag *' to 'volatile LONG *' 2> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 2>Atomic.cpp(62) :
2020 Mar 28
2
LLD issue on a massively parallel build machine
...out of memory. You > could try increasing your swap space? > > > > Alex > > > > On Sat, Mar 28, 2020 at 3:15 PM Itaru Kitayama <itaru.kitayama at gmail.com> > wrote: > > Hi, > > My configuration is below: > > cmake -GNinja -DLLVM_ENABLE_LLD=ON -DLLVM_ENABLE_THREADS=OFF > -DLLVM_ENABLE_LIBCXX=ON -DCMAKE_BUILD_TYPE=Release > -DGCC_INSTALL_PREFIX=/home/usr4/c74014i/opt/gcc-7.5.0/ > -DLIBOMPTARGET_ENABLE_DEBUG=ON > -DCMAKE_INSTALL_PREFIX=$HOME/opt/clang/${today} -DCMAKE_C_COMPILER=clang > -DCMAKE_C_FLAGS="" -DCMAKE_CXX_COMPILER=clang++ -D...
2009 Jun 01
2
[LLVMdev] CMake build maturity
...> -L/home/melis/llvm/lib -lpthread -ldl -lm -lelf >>> -lLLVMCore -lLLVMSupport -lLLVMSystem >>> >>> melis at juggle2:~/c/llvm-svn-build> cmake /home/melis/c/llvm-svn >>> -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/melis/llvm-cmake >>> -DLLVM_ENABLE_THREADS=ON >>> melis at juggle2:~/c/llvm-svn-build> make install >>> melis at juggle2:~/c/llvm-svn-build> which llvm-config >>> /home/melis/llvm-cmake/bin/llvm-config >>> melis at juggle2:~/c/llvm-svn-build> llvm-config --cxxflags --ldflags >>> --libs c...
2015 Jul 28
0
[LLVMdev] Regression testing on MSYS2 host with mingw-w64
...${CFLAGS}" \ >> -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${CPPFLAGS}" \ >> -DCMAKE_INSTALL_PREFIX=/mingw64 \ >> -DCMAKE_BUILD_TYPE=Release \ >> -DLLVM_TARGETS_TO_BUILD="ARM;AArch64;CppBackend;X86" \ >> -DLLVM_ENABLE_ASSERTIONS=OFF \ >> -DLLVM_ENABLE_THREADS=0 \ >> -DPYTHON_EXECUTABLE=/mingw64/bin/python2.exe \ >> -DLLVM_ENABLE_FFI=ON \ >> -DLLVM_ENABLE_SPHINX=ON \ >> ../llvm >> > > Is this not supported? > We do have a build of libffi in mingw-w64 and it works well with other > projects. > > On T...
2020 Mar 28
2
LLD issue on a massively parallel build machine
...>>> >>> >>> >>> On Sat, Mar 28, 2020 at 3:15 PM Itaru Kitayama <itaru.kitayama at gmail.com> >>> wrote: >>> >>> Hi, >>> >>> My configuration is below: >>> >>> cmake -GNinja -DLLVM_ENABLE_LLD=ON -DLLVM_ENABLE_THREADS=OFF >>> -DLLVM_ENABLE_LIBCXX=ON -DCMAKE_BUILD_TYPE=Release >>> -DGCC_INSTALL_PREFIX=/home/usr4/c74014i/opt/gcc-7.5.0/ >>> -DLIBOMPTARGET_ENABLE_DEBUG=ON >>> -DCMAKE_INSTALL_PREFIX=$HOME/opt/clang/${today} -DCMAKE_C_COMPILER=clang >>> -DCMAKE_C_FLAGS=&quo...