search for: dllvm_include_tests

Displaying 20 results from an estimated 24 matches for "dllvm_include_tests".

2018 Sep 19
2
CMake build of LLVM/clang with -DCMAKE_BUILD_TYPE=Release does not create release versions?
...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 builds for hours, a few warning, no errors -> llvm_build is ~44GB i can find many working libs/exes(also examples) in llvm_build\Debug\(lib|bin) then i tried to build release versions Release build: clean build, llvm_build is deleted before llvm_build&gt...
2018 Sep 19
4
CMake build of LLVM/clang with -DCMAKE_BUILD_TYPE=Release does not create release versions?
...rror/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 > > builds for hours, a few warning, no errors -> llvm_build is ~44GB > > i can find many working libs/exes(also examples) in > llvm_build\Debug\(lib|bin) > > then i tried to build release versions > > Release build: clean build, llv...
2018 Sep 17
2
build llvm fails under win7 x64/VS2017
...command prompt cd D:\projects\fun\jit_tests mkdir llvm cd llvm git clone https://github.com/llvm-mirror/llvm mkdir llvm-build cd llvm-build cmake -G "Visual Studio 15 2017 Win64" -DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD=host -DLLVM_ENABLE_WARNINGS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_DOCS=OFF ../llvm cmake --build . produces these errors and warnings while building CMake Warning at CMakeLists.txt:29 (message):   Visual Studio generators use the x86 host compiler by default, even for   64-bit targets.  This can result in linker instability and out of memo...
2018 Sep 19
2
CMake build of LLVM/clang with -DCMAKE_BUILD_TYPE=Release does not create release versions?
...ld: 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 > > > > > > builds for hours, a few warning, no errors -> llvm_build is ~44GB > > > > > > i can find many working libs/exes(also examples) in > > > llvm_build\Debug\(lib|bin) > > > > > > then i tri...
2016 Jan 25
3
Building LLVM 3.7.1 on OS X
...t this. I'm trying to build LLVM 3.7.1 on OS X but it fails in the configuration phase. Here are the relevant parts of the output: $ cmake -DCMAKE_INSTALL_PREFIX=/Volumes/HD2/jenkins/workspace/LLVMDev/label/osxbuild/miniconda/envs/_build -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=host -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_UTILS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF .. -- The C compiler identification is AppleClang 4.1.0.4211166 -- The CXX compiler identification is AppleClang 4.1.0.4211166 [...] -- Looking for __atomic_fetch_add_4 in atomic -- Looking for __atomic_fetch_add_4 in...
2012 Mar 28
2
[LLVMdev] Building past few days with Clang++ and Clang produces errors on Cmake for Debian Linux
...DeveloperProjects/LLVMProject/cmake-llvm$ cmake > -DCMAKE_BUILD_TYPE=MinSizeRel > -DCMAKE_CXX_COMPILER=/usr/local/bin/clang++ > -DCMAKE_C_COMPILER=/usr/local/bin/clang -DCMAKE_CXX_FLAGS='-O2' > CMAKE_C_FLAGS='-O2' -DLLVM_BUILD_EXAMPLES=ON -DLLVM_BUILD_TESTS=ON > -DLLVM_INCLUDE_TESTS=ON > -DLLVM_TARGETS_TO_BUILD='ARM;CppBackend;PTX;Hexagon;X86' ../trunk/llvm/ > -- Target triple: x86_64-unknown-linux-gnu > -- Native target architecture is X86 > -- Threads enabled. > -- Building with -fPIC > -- Constructing LLVMBuild project information > -- Targetin...
2017 Jun 09
5
Cannot build Clang/LLVM on Windows with LLVM_BUILD_LLVM_DYLIB
..., it works fine. Windows bot of WebAssembly waterfall is also affected: https://github.com/WebAssembly/waterfall/commit/2051fd4cdb2b4017e66dfcd70203d40f3d0b461d Compiler: Visual Studio 2017 CMake configuration: cmake -GNinja -Bbuild -Hllvm -DCMAKE_BUILD_TYPE=Release -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DCMAKE_INSTALL_PREFIX=d:\a\1\b -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly
2020 Jun 09
2
Cross compile x64 to AArch64 issues
...t aarch64-linux-gnu --sysroot=/usr/aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/10.1.0" -DCMAKE_C_COMPILER=`realpath ../build-10.x/install/bin/clang` -DCMAKE_CXX_COMPILER=`realpath ../build-10.x/install/bin/clang++` -DLLVM_ENABLE_PROJECTS="compiler-rt" -DLLVM_ENABLE_ZLIB=False -DLLVM_INCLUDE_TESTS=False -G Ninja ../llvm Does anyone see any obvious misconfiguration? Cmake fails at the early test for a working CXX compiler: /usr/bin/aarch64-linux-gnu-ld: cannot find crtbegin.o: No such file or directory I have confirmed that crtbegin.o exists in /usr/lib/gcc/aarch64-linux-gnu/10.1.0 If I...
2018 Aug 30
2
Building/Running LLVM Tests with Sanitizers
...I'm using: ==== cmake -GNinja -DCMAKE_C_COMPILER=$HOME/xray/llvm-project-build/bin/clang -DCMAKE_CXX_COMPILER=$HOME/xray/llvm-project-build/bin/clang++ -DCMAKE_BUILD_TYPE=Debug -DLLVM_OPTIMIZED_TABLEGEN=On -DLLVM_ENABLE_ASSERTIONS=On -DLLVM_USE_SANITIZER=MemoryWithOrigins -DLLVM_ENABLE_LLD=On -DLLVM_INCLUDE_TESTS=On -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DCMAKE_LINK_FLAGS=-stdlib=libc++ ../llvm-project/llvm ==== And I'm running the tests like so: ==== ninja check-llvm ==== I'm doing this with the monorepo, if that's relevant. Help? -- Dean
2018 Sep 20
6
CMake build of LLVM/clang with -DCMAKE_BUILD_TYPE=Release does not create release versions?
...efore >>> > > >>> > > 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 >>> > > >>> > > builds for hours, a few warning, no errors -> llvm_build is ~44GB >>> > > >>> > > i can find many working libs/exes(also examples) in >>> > > llvm_build\Debug\(lib|bin)...
2018 Aug 30
2
Building/Running LLVM Tests with Sanitizers
...KE_C_COMPILER=$HOME/xray/llvm-project-build/bin/clang > > -DCMAKE_CXX_COMPILER=$HOME/xray/llvm-project-build/bin/clang++ > > -DCMAKE_BUILD_TYPE=Debug -DLLVM_OPTIMIZED_TABLEGEN=On > > -DLLVM_ENABLE_ASSERTIONS=On -DLLVM_USE_SANITIZER=MemoryWithOrigins > > -DLLVM_ENABLE_LLD=On -DLLVM_INCLUDE_TESTS=On > > -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DCMAKE_LINK_FLAGS=-stdlib=libc++ > > ../llvm-project/llvm > > ==== > > > > And I'm running the tests like so: > > > > ==== > > ninja check-llvm > > ==== > > > > I'm doing this with the...
2018 Aug 31
3
Building/Running LLVM Tests with Sanitizers
...xray/llvm-project-build/bin/clang > > > -DCMAKE_CXX_COMPILER=$HOME/xray/llvm-project-build/bin/clang++ > > > -DCMAKE_BUILD_TYPE=Debug -DLLVM_OPTIMIZED_TABLEGEN=On > > > -DLLVM_ENABLE_ASSERTIONS=On -DLLVM_USE_SANITIZER=MemoryWithOrigins > > > -DLLVM_ENABLE_LLD=On -DLLVM_INCLUDE_TESTS=On > > > -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DCMAKE_LINK_FLAGS=-stdlib=libc++ > > > ../llvm-project/llvm > > > ==== > > > > > > And I'm running the tests like so: > > > > > > ==== > > > ninja check-llvm > > > ==== &g...
2016 Sep 20
4
(Thin)LTO llvm build
The configuration we’re mentioning is a 2-stage bootstrap: You need first to build without LTO your own clang, and then use it for the LTO build. — Mehid > On Sep 20, 2016, at 10:17 AM, Michael Kruse <llvmdev at meinersbur.de> wrote: > > I am the author of Polly's/ISL's platform tests and could reproduce > the problem on my system with this error message: > >
2015 Oct 05
2
[cfe-dev] Orc Windows C++
...ntically the same as when I have that assertion triggered in my own program. Relevant information: - llvm, clang and compiler-rt revision 249038 from trunk - built with the command (where ../llvm is the llvm source root) cmake -G "Visual Studio 12 2013 Win64" -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_USE_CRT_DEBUG=MDd -DLLVM_USE_CRT_RELEASE=MD ../llvm - VS2013 version 12.0.40629.00 Update 5 Running the same code without llvm-rtdyld.exe (i.e. non-JIT) does so without error. Thanks very much for any response! (Sorry for the slow reply, was trying to get somet...
2016 Sep 26
2
(Thin)LTO llvm build
...> -DLLVM_BINUTILS_INCDIR=/usr/include \ > -DCMAKE_INSTALL_PREFIX=$PREFIX \ > -DLLVM_TARGETS_TO_BUILD="X86" \ > -DLLVM_ENABLE_BACKTRACES=OFF \ > -DLLVM_BUILD_EXAMPLES=OFF \ > -DLLVM_INCLUDE_EXAMPLES=OFF \ > -DLLVM_BUILD_TESTS=OFF \ > -DLLVM_INCLUDE_TESTS=OFF \ > -DLLVM_BUILD_DOCS=OFF \ > -DLLVM_INCLUDE_DOCS=OFF \ > -DLLVM_ENABLE_DOXYGEN=OFF \ > -DLLVM_ENABLE_SPHINX=OFF \ > -DLLDB_DISABLE_PYTHON=ON \ > -DCLANG_PLUGIN_SUPPORT=OFF \ > -DLLVM_ENABLE_LTO=Thin \ > -DCMAKE_AR=$PREFIX/bin/llvm-ar \ &g...
2015 Oct 05
2
[cfe-dev] Orc Windows C++
...t assertion triggered in my own program. >> >> Relevant information: >> - llvm, clang and compiler-rt revision 249038 from trunk >> - built with the command (where ../llvm is the llvm source root) cmake -G "Visual Studio 12 2013 Win64" -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_USE_CRT_DEBUG=MDd -DLLVM_USE_CRT_RELEASE=MD ../llvm >> - VS2013 version 12.0.40629.00 Update 5 >> >> Running the same code without llvm-rtdyld.exe (i.e. non-JIT) does so without error. >> >> Thanks very much for any response! >&g...
2016 Sep 27
4
(Thin)LTO llvm build
On Tue, Sep 27, 2016 at 6:53 AM, Mehdi Amini <mehdi.amini at apple.com> wrote: > > > > On Sep 27, 2016, at 2:18 AM, Carsten Mattner <carstenmattner at gmail.com> > wrote: > > > >> On Mon, Sep 26, 2016 at 11:02 PM, Teresa Johnson <tejohnson at google.com> > wrote: > >> I'll either need to get a reproducer from you and/or try to repro
2019 Jun 08
2
Help Building LLVM for Android
Hey Guys, I'm working on a project in Android related to System-level Audio DSP Effects for Tuning Android Audio. I want to leverage Faust ( https://faust.grame.fr/) to allow users to program their own filters. Faust provides a libfaust implementation which includes a JIT Compiler which leverages LLVM and seems to be the best path for me to use. Unfortunately I'm having problems
2018 Sep 21
2
can't build/run after adding lib to Fibonacci example, even reverting the complete llvm tree does not help
...lease_70       tools         clang <-- git clone https://github.com/llvm-mirror/clang, git checkout release_70     llvm_build build steps: cd llvm_build cmake -Thost=x64 -G "Visual Studio 15 2017 Win64" -DLLVM_TARGETS_TO_BUILD=host -DLLVM_BUILD_EXAMPLES=1 -DCLANG_BUILD_EXAMPLES=1 -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_DOCS=OFF ..\llvm cmake --build . --config Debug after building i open llvm-build\LLVM.sln in VS2017 ... loading 273 projects question1: if left click on the solution root and select "build solution" (to check if everyhing is built) two files DummyClangFuzzer.cpp and C...
2015 Oct 14
4
[cfe-dev] Orc Windows C++
...;> >> >> Relevant information: >> >> - llvm, clang and compiler-rt revision 249038 from trunk >> >> - built with the command (where ../llvm is the llvm source root) cmake >> -G "Visual Studio 12 2013 Win64" -DLLVM_INCLUDE_EXAMPLES=OFF >> -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_USE_CRT_DEBUG=MDd >> -DLLVM_USE_CRT_RELEASE=MD ../llvm >> >> - VS2013 version 12.0.40629.00 Update 5 >> >> >> >> Running the same code without llvm-rtdyld.exe (i.e. non-JIT) does so >> without error. >> >&gt...