search for: dllvm_parallel_compile_jobs

Displaying 20 results from an estimated 22 matches for "dllvm_parallel_compile_jobs".

2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
...M_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_TARGETS_WITH_JIT="X86" Any suggestions? Thank you in advance. -H
2016 Feb 25
0
Building with LLVM_PARALLEL_XXX_JOBS
...gt; > Hi, > > I switched from "configure and make" to "cmake" build-system and > wanted to speedup my build. > > In my build-script I use... > > CMAKE_JOBS="1" > ##CMAKE_JOBS=$(($(getconf _NPROCESSORS_ONLN)+1)) > JOBS_CMAKE_OPTS="-DLLVM_PARALLEL_COMPILE_JOBS=$CMAKE_JOBS > -DLLVM_PARALLEL_LINK_JOBS=$CMAKE_JOBS" > > [1] says in "LLVM-specific variables" section... > > *** LLVM_PARALLEL_COMPILE_JOBS:STRING > > Define the maximum number of concurrent compilation jobs. > > *** LLVM_PARALLEL_LINK_JOBS:STRING >...
2016 Feb 25
0
Building with LLVM_PARALLEL_XXX_JOBS
...re and make" to "cmake" build-system and >>> wanted to speedup my build. >>> >>> In my build-script I use... >>> >>> CMAKE_JOBS="1" >>> ##CMAKE_JOBS=$(($(getconf _NPROCESSORS_ONLN)+1)) >>> JOBS_CMAKE_OPTS="-DLLVM_PARALLEL_COMPILE_JOBS=$CMAKE_JOBS >>> -DLLVM_PARALLEL_LINK_JOBS=$CMAKE_JOBS" >>> >>> [1] says in "LLVM-specific variables" section... >>> >>> *** LLVM_PARALLEL_COMPILE_JOBS:STRING >>> >>> Define the maximum number of concurrent compilation job...
2016 Feb 25
4
Building with LLVM_PARALLEL_XXX_JOBS
...switched from "configure and make" to "cmake" build-system and >> wanted to speedup my build. >> >> In my build-script I use... >> >> CMAKE_JOBS="1" >> ##CMAKE_JOBS=$(($(getconf _NPROCESSORS_ONLN)+1)) >> JOBS_CMAKE_OPTS="-DLLVM_PARALLEL_COMPILE_JOBS=$CMAKE_JOBS >> -DLLVM_PARALLEL_LINK_JOBS=$CMAKE_JOBS" >> >> [1] says in "LLVM-specific variables" section... >> >> *** LLVM_PARALLEL_COMPILE_JOBS:STRING >> >> Define the maximum number of concurrent compilation jobs. >> >> *** LLV...
2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
...M_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_TARGETS_WITH_JIT="X86" Any suggestions? Thank you in advance. -H _______________________________________________ LLVM Developers mailing list llvm-dev at lists.llvm.org<mailt...
2017 Aug 03
2
fatal error: clang/Basic/Version.inc: No such file or directory
...lvm-project/openmp/trunk openmp svn co http://llvm.org/svn/llvm-project/lldb/trunk lldb svn co https://github.com/clang-ykt/openmp libomptarget cd ../.. rm -r build mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/llvm-trunk \ -DCMAKE_BUILD_TYPE:STRING="Release" \ -DLLVM_PARALLEL_COMPILE_JOBS:STRING="4" \ -DLLVM_PARALLEL_LINK_JOBS:STRING="4" \ -DLLVM_TARGETS_TO_BUILD:STRING="NVPTX;X86" \ -DLLVM_ENABLE_SPHINX:BOOL=ON \ -DSPHINX_OUTPUT_MAN:BOOL=ON \ -DCMAKE_C_COMPILER:STRING="/usr/local/gcc-5.3.0/bin/gcc" \ -DCMAKE_C_FLAGS:STRING=&...
2016 Feb 25
2
Building with LLVM_PARALLEL_XXX_JOBS
Hi, I switched from "configure and make" to "cmake" build-system and wanted to speedup my build. In my build-script I use... CMAKE_JOBS="1" ##CMAKE_JOBS=$(($(getconf _NPROCESSORS_ONLN)+1)) JOBS_CMAKE_OPTS="-DLLVM_PARALLEL_COMPILE_JOBS=$CMAKE_JOBS -DLLVM_PARALLEL_LINK_JOBS=$CMAKE_JOBS" [1] says in "LLVM-specific variables" section... *** LLVM_PARALLEL_COMPILE_JOBS:STRING Define the maximum number of concurrent compilation jobs. *** LLVM_PARALLEL_LINK_JOBS:STRING Define the maximum number of concurrent link job...
2015 Jul 08
2
[LLVMdev] Building clang + libc++ + libc++abi
[Sorry about the crosspost. Since this is a clang build question but the build is invoked from the top-level LLVM directory I'm not sure where the question should go.] I've got a clang build against libstdc++ on Linux but I would really like one built against libc++/libc++abi. In other words I'd like to rebuild clang/llvm with clang using libc++ and libc++abi on Linux. I looked at
2016 Mar 12
4
Building with LLVM_PARALLEL_XXX_JOBS
...OBS options # NOTE-2: For fast builds use available (online) CPUs +1 or set values explicitly # NOTE-3: For fast and safe linking use bintils-gold and LINK_JOBS="1" COMPILE_JOBS="2" ##COMPILE_JOBS=$(($(getconf _NPROCESSORS_ONLN)+1)) LINK_JOBS="1" JOBS_CMAKE_OPTS="-DLLVM_PARALLEL_COMPILE_JOBS=$COMPILE_JOBS -DLLVM_PARALLEL_LINK_JOBS=$LINK_JOBS" # Cmake linker options (here: Use binutils-gold to speedup build) LINKER="/usr/bin/ld.gold" CMAKE_LINKER="$LINKER" CMAKE_LINKER_OPTS="-DCMAKE_LINKER=$CMAKE_LINKER" # CMake Generators CMAKE_GENERATORS="Ninja&...
2017 Apr 09
2
Possible stack corruption during call to JITSymbol::getAddress()
...bin/clang++ Commands used to build LLVM: git clone https://github.com/llvm-mirror/llvm.git git checkout release_40 cd llvm mkdir build cd build cmake .. -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON -DLLVM_ENABLE_RTTI:BOOL=ON -DLLVM_ENABLE_EH:BOOL=ON -DLLVM_USE_SANITIZER:STRING=Address -DLLVM_PARALLEL_COMPILE_JOBS:STRING=8 -DLLVM_ENABLE_ASSERTIONS:BOOL=ON cmake --build . -- -j 8 sudo cmake --build . --target install Command used to build test case executable: clang test.cpp -std=c++14 -lstdc++ -lLLVM-4.0 -Wall -pedantic -Wextra -fstack-protector-all -fsanitize=address -fexceptions Then of cou...
2016 Feb 25
1
Building with LLVM_PARALLEL_XXX_JOBS
...make" build-system and >>>> wanted to speedup my build. >>>> >>>> In my build-script I use... >>>> >>>> CMAKE_JOBS="1" >>>> ##CMAKE_JOBS=$(($(getconf _NPROCESSORS_ONLN)+1)) >>>> JOBS_CMAKE_OPTS="-DLLVM_PARALLEL_COMPILE_JOBS=$CMAKE_JOBS >>>> -DLLVM_PARALLEL_LINK_JOBS=$CMAKE_JOBS" >>>> >>>> [1] says in "LLVM-specific variables" section... >>>> >>>> *** LLVM_PARALLEL_COMPILE_JOBS:STRING >>>> >>>> Define the maximum number o...
2017 Apr 17
2
Possible stack corruption during call to JITSymbol::getAddress()
...//github.com/llvm-mirror/llvm.git >> git checkout release_40 >> cd llvm >> mkdir build >> cd build >> cmake .. -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON -DLLVM_ENABLE_RTTI:BOOL=ON >> -DLLVM_ENABLE_EH:BOOL=ON -DLLVM_USE_SANITIZER:STRING=Address >> -DLLVM_PARALLEL_COMPILE_JOBS:STRING=8 -DLLVM_ENABLE_ASSERTIONS:BOOL=ON >> cmake --build . -- -j 8 >> sudo cmake --build . --target install >> >> Command used to build test case executable: >> >> clang test.cpp -std=c++14 -lstdc++ -lLLVM-4.0 -Wall -pedantic -Wextra >> -fsta...
2018 May 31
1
Hang generating sanitizer tests
Just to follow-up, I'm now encountering this as well. I'm doing this on Linux. It seems that when linking with the most-recently built clang, the unit tests are taking a while to complete. It's notably not using more than 1 thread, and if using `lld` I would have expected the linker to still be running in parallel. I'm doing this on a debug build, so that might help narrow it
2015 Jul 08
2
[LLVMdev] [cfe-dev] Building clang + libc++ + libc++abi
...S="-stdlib=libc++" > -DCMAKE_CXX_LINK_FLAGS="-stdlib=libc++ -lc++abi > -DPYTHON_EXECUTABLE=/opt/python/2.7.9/bin/python2.7 > -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/clang/dev > -DLLVM_APPEND_VC_REV=ON -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_ASSERTIONS=ON > -DLLVM_PARALLEL_COMPILE_JOBS=32 -DLLVM_PARALLEL_LINK_JOBS=32 > -DLLVM_BUILD_DOCS=ON -DCLANG_INCLUDE_DOCS=ON -DLIBCXX_CXX_ABI=libcxxabi > -DLIBCXX_CXX_ABI_INCLUDE_PATHS="/path/to/llvm/projects/libcxxabi/include" > /path/to/llvm > > This gets me a bit further but I am stuck here: > > Linking CXX sh...
2017 Apr 20
2
Possible stack corruption during call to JITSymbol::getAddress()
...it checkout release_40 >>>> cd llvm >>>> mkdir build >>>> cd build >>>> cmake .. -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON >>>> -DLLVM_ENABLE_RTTI:BOOL=ON -DLLVM_ENABLE_EH:BOOL=ON >>>> -DLLVM_USE_SANITIZER:STRING=Address -DLLVM_PARALLEL_COMPILE_JOBS:STRING=8 >>>> -DLLVM_ENABLE_ASSERTIONS:BOOL=ON >>>> cmake --build . -- -j 8 >>>> sudo cmake --build . --target install >>>> >>>> Command used to build test case executable: >>>> >>>> clang test.cpp -std=...
2017 May 01
1
Possible stack corruption during call to JITSymbol::getAddress()
...cd llvm >>>>>> mkdir build >>>>>> cd build >>>>>> cmake .. -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON >>>>>> -DLLVM_ENABLE_RTTI:BOOL=ON -DLLVM_ENABLE_EH:BOOL=ON >>>>>> -DLLVM_USE_SANITIZER:STRING=Address -DLLVM_PARALLEL_COMPILE_JOBS:STRING=8 >>>>>> -DLLVM_ENABLE_ASSERTIONS:BOOL=ON >>>>>> cmake --build . -- -j 8 >>>>>> sudo cmake --build . --target install >>>>>> >>>>>> Command used to build test case executable: >>>>&g...
2018 May 07
0
[clang] Running a single testcase
> On 7 May 2018, at 11:01, Sedat Dilek via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > On Mon, May 7, 2018 at 5:52 AM, Brian Cain <brian.cain at gmail.com <mailto:brian.cain at gmail.com>> wrote: >> The simplest way to run a clang test case that I know of is to clone both >> llvm and clang repos, run all the tests, then run an individual test. >>
2018 May 07
2
[clang] Running a single testcase
...in/clang"? I have no symlink to /usr/bin/clang. Thanks. Regards, - Sedat - P.S.: New build-script [build_clang-with-ninja.sh ] #!/bin/sh export LANG=C export LC_ALL=C cd build CMAKE="cmake" CMAKE_OPTS="-G Ninja -DCMAKE_C_COMPILER=clang-7 -DCMAKE_CXX_COMPILER=clang++-7 -DLLVM_PARALLEL_COMPILE_JOBS=2 -DLLVM_PARALLEL_LINK_JOBS=1 -DCMAKE_BUILD_TYPE=RELEASE -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_TARGETS_TO_BUILD=X86" $CMAKE ../llvm $CMAKE_OPTS ninja check-clang - EOF -
2017 Aug 02
2
llvm-trunk errors with gcc-5.3.0 on SuSE Linux
...roject/compiler-rt/trunk compiler-rt svn co http://llvm.org/svn/llvm-project/openmp/trunk openmp svn co https://github.com/clang-ykt/openmp libomptarget rm -r build mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/llvm-trunk \ -DCMAKE_BUILD_TYPE:STRING="Release" \ -DLLVM_PARALLEL_COMPILE_JOBS:STRING="4" \ -DLLVM_PARALLEL_LINK_JOBS:STRING="4" \ -DLLVM_TARGETS_TO_BUILD:STRING="NVPTX;X86" \ -DLLVM_ENABLE_SPHINX=true \ -DSPHINX_OUTPUT_MAN=true \ -DCMAKE_C_COMPILER:STRING="/usr/local/gcc-5.3.0/bin/gcc" \ -DCMAKE_C_FLAGS:STRING="-...
2018 May 07
2
[clang] Running a single testcase
On Mon, May 7, 2018 at 5:52 AM, Brian Cain <brian.cain at gmail.com> wrote: > The simplest way to run a clang test case that I know of is to clone both > llvm and clang repos, run all the tests, then run an individual test. > > IIRC like so: > > git clone llvm ...... > cd llvm/tools > git clone clang ..... > cd ../../ > mkdir build > cd build > cmake