search for: llvm_build

Displaying 20 results from an estimated 38 matches for "llvm_build".

2018 Sep 19
2
CMake build of LLVM/clang with -DCMAKE_BUILD_TYPE=Release does not create release versions?
...vironment: Win7 x64 VStudio 2017 Community Edition 15.8.4 (latest) CMake 3.12.1 (x86) git 2.19.0 (latest, x64) Python 2.7.2 (x86) directory structure test   llvm <-- git clone https://github.com/llvm-mirror/llvm     tools       clang <-- git clone https://github.com/llvm-mirror/clang   llvm_build Debug build: clean build, llvm_build is deleted before llvm_build> cmake -Thost=x64 -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Debug -DLLVM_TARGETS_TO_BUILD=host -DLLVM_BUILD_EXAMPLES=1 -DCLANG_BUILD_EXAMPLES=1 -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_DOCS=OFF ..\llvm bui...
2016 Oct 21
4
llvm build failed on Fedora 24
.../bin/c++ -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -DCLANG_TOOL_EXTRA_BUILD -DGTEST_HAS_RTTI=0 -D_CINDEX_LIB_ -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/tools/libclang -I/home/aghadge/build/llvm/llvm_build.4.0/llvm/tools/clang/tools/libclang -I/home/aghadge/build/llvm/llvm_build.4.0/llvm/tools/clang/include -Itools/clang/include -Iinclude -I/home/aghadge/build/llvm/llvm_build.4.0/llvm/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-fie...
2018 Sep 19
4
CMake build of LLVM/clang with -DCMAKE_BUILD_TYPE=Release does not create release versions?
...4 (latest) > CMake 3.12.1 (x86) > git 2.19.0 (latest, x64) > Python 2.7.2 (x86) > > directory structure > > test > llvm <-- git clone https://github.com/llvm-mirror/llvm > tools > clang <-- git clone https://github.com/llvm-mirror/clang > llvm_build > > Debug build: clean build, llvm_build is deleted before > > llvm_build> cmake -Thost=x64 -G "Visual Studio 15 2017 Win64" > -DCMAKE_BUILD_TYPE=Debug -DLLVM_TARGETS_TO_BUILD=host > -DLLVM_BUILD_EXAMPLES=1 -DCLANG_BUILD_EXAMPLES=1 > -DLLVM_INCLUDE_TESTS=OFF -DLLVM...
2018 Sep 19
2
CMake build of LLVM/clang with -DCMAKE_BUILD_TYPE=Release does not create release versions?
....2 (x86) > > > > > > directory structure > > > > > > test > > > llvm <-- git clone https://github.com/llvm-mirror/llvm > > > tools > > > clang <-- git clone https://github.com/llvm-mirror/clang > > > llvm_build > > > > > > Debug build: clean build, llvm_build is deleted before > > > > > > llvm_build> cmake -Thost=x64 -G "Visual Studio 15 2017 Win64" > > > -DCMAKE_BUILD_TYPE=Debug -DLLVM_TARGETS_TO_BUILD=host > > > -DLLVM_BUILD_EXAMPLES=1 -...
2017 Aug 08
2
Safety of changing values of variables by editing CMakeCache.txt Vs supplying them through the command line
Hello, I'm working on a project involving LLVM and keep shifting between the Debug and Release build by assigning different values to CMAKE_BUILD_TYPE in <llvm_build>/CMakeCache.txt and then building it. I wanted to know if this was a safe alternative to re-configuring the build after removing <llvm_build>/CMakeFiles/ and <llvm_build>/CMakeCache.txt. Thanks, Sanjay -------------- next part -------------- An HTML attachment was scrubbed... URL:...
2018 Sep 20
6
CMake build of LLVM/clang with -DCMAKE_BUILD_TYPE=Release does not create release versions?
...structure >>> > > >>> > > test >>> > > llvm <-- git clone https://github.com/llvm-mirror/llvm >>> > > tools >>> > > clang <-- git clone https://github.com/llvm-mirror/clang >>> > > llvm_build >>> > > >>> > > Debug build: clean build, llvm_build is deleted before >>> > > >>> > > llvm_build> cmake -Thost=x64 -G "Visual Studio 15 2017 Win64" >>> > > -DCMAKE_BUILD_TYPE=Debug -DLLVM_TARGETS_TO_BUILD=host...
2012 Jan 16
2
[LLVMdev] Opt pass 'Canonicalize Induction Variables' not working
...t at 1 instead of 0 for (i = 1; i<10; i++) b[i] = 3; I have the latest LLVM build installed on Mac OSX 10.6.8. A script with (among others) the following lines is used: ----------------------------------------------------------------------------------------------------- POLLY_DLIB=/Developer/llvm_build/tools/polly/Debug+Asserts/lib/LLVMPolly.dylib alias opt="/Developer/llvm_build/Debug+Asserts/bin/opt -load ${POLLY_DLIB}" alias llvm-as="/Developer/llvm_build/Debug+Asserts/bin/llvm-as" # Set input filename FILE="indvar" # Run clang to generate LLVM-IR clang -S -emit...
2013 Jul 14
5
[LLVMdev] Analysis of polly-detect overhead in oggenc
...llvm::AssemblyAnnotationWriter*) () #4 0x08f79d1a in llvm::Value::print(llvm::raw_ostream&, llvm::AssemblyAnnotationWriter*) const () #5 0xb7c1d044 in polly::ScopDetection::isValidInstruction(llvm::Instruction&, polly::ScopDetection::DetectionContext&) const () from /home/star/llvm/llvm_build/tools/polly/Release+Asserts/lib/LLVMPolly.so #6 0xb7c1ea75 in polly::ScopDetection::allBlocksValid(polly::ScopDetection::DetectionContext&) const () from /home/star/llvm/llvm_build/tools/polly/Release+Asserts/lib/LLVMPolly.so #7 0xb7c1f4aa in polly::ScopDetection::isValidRegion(polly::Scop...
2016 Jun 23
4
[cfe-dev] clang++ build from source is not able to find C++ headers
Hi Vivek, you can also include these lines below to your ~/.bash_profile: LLVM_BUILD="/Developer/llvm/build" # Path to your build directory alias new-clang="$LLVM_BUILD/bin/clang -Wno-expansion-to-defined -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include" alias new-clang++="$LLVM_BUILD/bin/cla...
2013 Jul 14
0
[LLVMdev] Analysis of polly-detect overhead in oggenc
...> #4 0x08f79d1a in llvm::Value::print(llvm::raw_ostream&, > llvm::AssemblyAnnotationWriter*) const () > #5 0xb7c1d044 in > polly::ScopDetection::isValidInstruction(llvm::Instruction&, > polly::ScopDetection::DetectionContext&) const () > from > /home/star/llvm/llvm_build/tools/polly/Release+Asserts/lib/LLVMPolly.so > #6 0xb7c1ea75 in > polly::ScopDetection::allBlocksValid(polly::ScopDetection::DetectionContext&) > const () > from > /home/star/llvm/llvm_build/tools/polly/Release+Asserts/lib/LLVMPolly.so > #7 0xb7c1f4aa in > polly::ScopD...
2012 Jan 16
0
[LLVMdev] Opt pass 'Canonicalize Induction Variables' not working
...;10; i++) > b[i] = 3; > > I have the latest LLVM build installed on Mac OSX 10.6.8. > > A script with (among others) the following lines is used: > > ----------------------------------------------------------------------------------------------------- > POLLY_DLIB=/Developer/llvm_build/tools/polly/Debug+Asserts/lib/LLVMPolly.dylib > alias opt="/Developer/llvm_build/Debug+Asserts/bin/opt -load ${POLLY_DLIB}" > alias llvm-as="/Developer/llvm_build/Debug+Asserts/bin/llvm-as" > > # Set input filename > FILE="indvar" > > # Run clang t...
2017 Feb 27
2
Compiling LLVM with locally built clang | Errors
Hello, I issued the following command to point the build to use clang and clang++, from a local llvm build directory included in PATH, instead of /usr/bin/{cc,c++}, cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ../llvm_src The configuration failed with the error stating the compiler didn't recognize '-std=c++11' flag, whereas clang compiled a dummy c++ file with
2008 Jan 21
2
[LLVMdev] LLVM build freezes in scratchbox, ARM target
...build llvm-2.1, the build freezes with the following output.. /scratchbox/compilers/arm-softfloat-linux-gcc-3.4.4-cs-2005q3-2-glibc-2.3.6/bin/sbox-arm-softfloat-linux-gnu-nm: 'libgcc/./_dvmd_lnx_s.o': No such file mv -f libgcc/./_dvmd_lnx.visT libgcc/./_dvmd_lnx.vis /home/arvind/tools/llvm/llvm_build/./gcc/xgcc -B/home/arvind/tools/llvm/llvm_build/./gcc/ -B/opt/llvm//arm-unknown-linux-gnu/bin/ -B/opt/llvm//arm-unknown-linux-gnu/lib/ -isystem /opt/llvm//arm-unknown-linux-gnu/include -isystem /opt/llvm//arm-unknown-linux-gnu/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstri...
2013 Jul 14
0
[LLVMdev] Analysis of polly-detect overhead in oggenc
...m::AssemblyAnnotationWriter*) () #4 0x08f79d1a in llvm::Value::print(llvm::raw_ostream&, llvm::AssemblyAnnotationWriter*) const () #5 0xb7c1d044 in polly::ScopDetection::isValidInstruction(llvm::Instruction&, polly::ScopDetection::DetectionContex! t&) const () from /home/star/llvm/llvm_build/tools/polly/Rel ease+Asserts/lib/LLVMPolly.so #6 0xb7c1ea75 in polly::ScopDetection::allBlocksValid(polly::ScopDetection::DetectionContext&) const () from /home/star/llvm/llvm_build/tools/polly/Release+Asserts/lib/LLVMPolly.so #7 0xb7c1f4aa in polly::ScopDetection::isValidRegion(polly::Sco...
2013 Jul 14
2
[LLVMdev] Analysis of polly-detect overhead in oggenc
...llvm::Value::print(llvm::raw_ostream&, >> llvm::AssemblyAnnotationWriter*) const () >> #5 0xb7c1d044 in >> polly::ScopDetection::isValidInstruction(llvm::Instruction&, >> polly::ScopDetection::DetectionContext&) const () >> from >> /home/star/llvm/llvm_build/tools/polly/Release+Asserts/lib/LLVMPolly.so >> #6 0xb7c1ea75 in >> polly::ScopDetection::allBlocksValid(polly::ScopDetection::DetectionContext&) >> const () >> from >> /home/star/llvm/llvm_build/tools/polly/Release+Asserts/lib/LLVMPolly.so >> #7 0xb7c1f...
2009 Jun 19
1
[LLVMdev] Compiler error when building LLVM-GCC
...common -DHAVE_CONFIG_H -Wno-unused -DTARGET_NAME=\"i686-pc-linux-gnu\" -I. -I. -I../../../llvm-gcc/gcc -I../../../llvm-gcc/gcc/. -I../../../llvm-gcc/gcc/../include -I../../../llvm-gcc/gcc/../libcpp/include -I../../../llvm-gcc/gcc/../libdecnumber -I../libdecnumber -I/home/mcuelenaere/llvm_build/build_llvm-gcc/obj/../../build_llvm//include -I//include -DENABLE_LLVM -I/home/mcuelenaere/llvm_build/build_llvm/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I. -I. -I../../../llvm-gcc/gcc -I../../../llvm-gcc/gcc/. -I../../../llvm-gcc/gcc/../include -I../../../llv...
2016 Jun 23
2
[cfe-dev] clang++ build from source is not able to find C++ headers
On Thu, Jun 23, 2016 at 7:36 PM, Tim Northover <t.p.northover at gmail.com> wrote: > On 23 June 2016 at 06:31, vivek pandya via cfe-dev > <cfe-dev at lists.llvm.org> wrote: > > I am running OS X, when I build clang++ from source and use it to compile > > .cpp files it fails as it is not able to find C++ header. I am not > building > > libc++ along with llvm
2012 May 31
3
[LLVMdev] Using LLVM code in projects/compiler-rt
...eaders in source files inside projects/compiler-rt? As a local workaround, I modify configuration for ASan/TSan runtimes as follows: CFLAGS.asan-x86_64 := $(CFLAGS) -I$(PathToLLVMInclude) -I$(PathToLLVMBuildInclude) Note that I need both "/path/to/llvm_checkout/include" and "/path/to/llvm_build/include", because some LLVM headers are generated when LLVM is built (e.g. "llvm/Support/DataTypes.h"). This looks very broken, as paths are hardcoded, and LLVM headers are not included in dependencies for ASan/TSan runtime. 2) How can I use LLVM libraries when building compiler-rt?...
2012 Jan 16
2
[LLVMdev] Opt pass 'Canonicalize Induction Variables' not working
...Failures : 29 Unexpected Failures: 3 make: *** [polly-test] Error 1 When I try your command 'clang -Xclang -load ${POLLY_DLIB} ${FILE}.c -o ${FILE}.ll -S -emit-llvm -mllvm -polly -O0' if fails with the following errors: -------------------------------------- clang: warning: /Developer/llvm_build/tools/polly/Debug+Asserts/lib/LLVMPolly.dylib: 'linker' input unused when '-S' is present clang: warning: argument unused during compilation: '-mllvm' clang: warning: argument unused during compilation: '-polly' Error opening '-o': dlopen(-o, 9): image not fo...
2012 Apr 18
2
[LLVMdev] how to get path profile information ?
...http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-January/012315.html and http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-February/012466.html After getting rid of some error messages, I was able to run the following commands: 1) opt -insert-path-profiling matmul.bc -o matmul.pp.bc 2) lli -load ../llvm_build/Debug+Asserts/lib/libprofile_rt.so matmul.pp.bc (generates llvmprof.out file) and as a last command: 3) opt -path-profile-loader -profile-info-file=llvmprof.out matmul.pp.bc -analyze which provides the following output: Printing analysis 'Load path profile information from file': Pass::p...