search for: cmake_opt

Displaying 20 results from an estimated 21 matches for "cmake_opt".

Did you mean: cmake_opts
2011 Dec 16
0
[LLVMdev] llvm/clang test failures on powerpc-darwin8
...ldbot, but not for darwin8.) Knowing what I've learned so far, the > effort would be similar, perhaps even duplicate to just trying to fix > things directly with g++-4.0.1. Time will tell, I suppose. > > Fang > David, I suspect you might be running into problem with... CMAKE_OPTIONS="-DLLVM_BUILD_32_BITS:BOOL=ON -DLLVM_TARGETS_TO_BUILD=PowerPC" not working properly in the llvm 2.9 release for building with cmake. http://llvm.org/bugs/show_bug.cgi?id=9957 If you can tolerate the complete build by changing this to... CMAKE_OPTIONS="-DLLVM_BUILD_32_BITS:BOO...
2016 Feb 25
0
Building with LLVM_PARALLEL_XXX_JOBS
...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...
2016 Feb 25
4
Building with LLVM_PARALLEL_XXX_JOBS
...gt;> >> 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 compila...
2011 Dec 16
3
[LLVMdev] llvm/clang test failures on powerpc-darwin8
>> These results have far fewer failures than svn-trunk, and are also >> comparable to bootstrapping with gcc-4.6.2, summarized here: >> http://paste.lisp.org/display/126363 >> (Unfortunately, I no longer have the whole build/test log for the gcc46 bootstrap.) >> This consistency between different bootstraps of the release gives me >> some hope that g++-4.0.1 is
2016 Mar 12
4
Building with LLVM_PARALLEL_XXX_JOBS
...NOTE #1: CMake Version 2.8.8 is the minimum required(Ubuntu/precise ships v2.8.7 officially) # NOTE #2: For fast builds use recommended CMake >= v3.2 (used: v3.4.3) and Ninja (used: v1.6.0) # NOTE #3: How to check available cmake-options? # EXAMPLE #3: cd $BUILD_DIR ; cmake ../llvm -LA | egrep $CMAKE_OPTS # # CMake binary CMAKE="cmake" # CMake compiler options COMPILERS_CMAKE_OPTS="-DCMAKE_C_COMPILER=$COMPILER_CC -DCMAKE_CXX_COMPILER=$COMPILER_CXX" # NOTE-1: cmake/ninja: Use LLVM_PARALLEL_COMPILE_JOBS and LLVM_PARALLEL_LINK_JOBS options # NOTE-2: For fast builds use available (o...
2016 Feb 25
1
Building with LLVM_PARALLEL_XXX_JOBS
...e" 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 >>>> >>...
2016 Feb 25
0
Building with LLVM_PARALLEL_XXX_JOBS
...m.org> wrote: > > 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. > > ***...
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
...can I force to use a different clang than "/home/sdi/src/llvm-toolchain/build/bin/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 -
2014 Oct 20
2
[LLVMdev] Lib C++ buildbot problem
> > But on the Libc++AndAbiBuilder, there's no way to set the CMake > argument (or is there?): No, there isn't. Should be simple enough to add though. I'd add it as a dict param. On Mon, Oct 20, 2014 at 8:11 AM, Jonathan Roelofs <jonathan at codesourcery.com > wrote: > +Dan Albert > > On 10/20/14 4:53 AM, Renato Golin wrote: > > Folks, > > >
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 m...
2012 Nov 02
0
[LLVMdev] linker warnings in Linking CXX executable Debug/AsanTest
Hi, Jack! On Fri, Nov 2, 2012 at 6:18 PM, Jack Howarth <howarth at bromo.med.uc.edu>wrote: > Nick, > Have you noticed that llvm/clang svn produces the following linker > warnings on > 'make check-all'? > > Linking CXX executable Debug/AsanTest > ld: warning: direct access in > llvm::convertible_fwd_ostream::~convertible_fwd_ostream() to global weak >
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
2012 Nov 02
4
[LLVMdev] linker warnings in Linking CXX executable Debug/AsanTest
Nick, Have you noticed that llvm/clang svn produces the following linker warnings on 'make check-all'? Linking CXX executable Debug/AsanTest ld: warning: direct access in llvm::convertible_fwd_ostream::~convertible_fwd_ostream() to global weak symbol vtable for llvm::convertible_fwd_ostream means the weak symbol cannot be overridden at runtime. This was likely caused by different
2011 Oct 25
0
[LLVMdev] [LLVMDev] Clang stopped compiling?
On Oct 25, 2011, at 6:09 AM, Marcello Maggioni wrote: > Hi, I'm trying to compile the latest clang/llvm SVN versions and I get > this error on multiple systems : Linking, not compiling, but still. I am getting a similar error when building this morning. > Undefined symbols for architecture x86_64: > "clang::Sema::checkPseudoObjectRValue(clang::Expr*)", referenced
2016 Mar 03
3
Building with LLVM_PARALLEL_XXX_JOBS
I had only a quick view on the blog-texts. It might be that a CLANG generated with LTO/PGO speeds up the build. Can you confirm this? Can you confirm binutils-gold speed up the build? Has LLVM an own linker? Can be used? Speedup the build? Yesterday night I loooked through available CMAKE/LLVM variables... ### GOLD # CMAKE_LINKER:FILEPATH=/usr/bin/ld #
2011 Oct 25
2
[LLVMdev] [LLVMDev] Clang stopped compiling?
Hi, I'm trying to compile the latest clang/llvm SVN versions and I get this error on multiple systems : (Compiling with gcc): llvm[4]: Compiling cc1_main.cpp for Debug+Asserts build llvm[4]: Compiling cc1as_main.cpp for Debug+Asserts build llvm[4]: Compiling driver.cpp for Debug+Asserts build llvm[4]: Linking Debug+Asserts executable clang
2013 Nov 11
2
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...issue... > > cd llvm-3.4 > mv ../clang-3.4 tools/clang > mv ../compiler-rt-3.4 projects/compiler-rt > mv ../test-suite-3.4 projects/test-suite > mkdir build > pushd build > /sw/src/fink.build/llvm34-3.4-0/llvm-3.4/build /sw/src/fink.build/llvm34-3.4-0/llvm-3.4 > cmake $CMAKE_OPTIONS -DCMAKE_INSTALL_PREFIX=/sw/opt/llvm-3.4 -DLLVM_ENABLE_ASSERTIONS=OFF -DCMAKE_BUILD_TYPE=Release .. > -- The C compiler identification is Clang 5.0.0 > -- The CXX compiler identification is Clang 5.0.0 > -- Check for working C compiler: /sw/var/lib/fink/path-prefix-clang/cc > -- Chec...
2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...uilding llvm svn as follows for years without issue... cd llvm-3.4 mv ../clang-3.4 tools/clang mv ../compiler-rt-3.4 projects/compiler-rt mv ../test-suite-3.4 projects/test-suite mkdir build pushd build /sw/src/fink.build/llvm34-3.4-0/llvm-3.4/build /sw/src/fink.build/llvm34-3.4-0/llvm-3.4 cmake $CMAKE_OPTIONS -DCMAKE_INSTALL_PREFIX=/sw/opt/llvm-3.4 -DLLVM_ENABLE_ASSERTIONS=OFF -DCMAKE_BUILD_TYPE=Release .. -- The C compiler identification is Clang 5.0.0 -- The CXX compiler identification is Clang 5.0.0 -- Check for working C compiler: /sw/var/lib/fink/path-prefix-clang/cc -- Check for working C comp...
2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...../clang-3.4 tools/clang > > mv ../compiler-rt-3.4 projects/compiler-rt > > mv ../test-suite-3.4 projects/test-suite > > mkdir build > > pushd build > > /sw/src/fink.build/llvm34-3.4-0/llvm-3.4/build > /sw/src/fink.build/llvm34-3.4-0/llvm-3.4 > > cmake $CMAKE_OPTIONS -DCMAKE_INSTALL_PREFIX=/sw/opt/llvm-3.4 > -DLLVM_ENABLE_ASSERTIONS=OFF -DCMAKE_BUILD_TYPE=Release .. > > -- The C compiler identification is Clang 5.0.0 > > -- The CXX compiler identification is Clang 5.0.0 > > -- Check for working C compiler: /sw/var/lib/fink/path-prefix-c...