Displaying 19 results from an estimated 19 matches for "dllvm_include_examples".
2010 Oct 18
3
[LLVMdev] building only libs with cmake
Now I have -DLLVM_INCLUDE_EXAMPLES:BOOL=OFF
but Kaleidoscope is still there and selected for build
(-G "Visual Studio 9 2008")
-Jochen
2018 Sep 17
2
build llvm fails under win7 x64/VS2017
...:
open VS2017 x64 developer 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 in...
2016 Jan 25
3
Building LLVM 3.7.1 on OS X
...figuration 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 atomic - not found
CMake Error at cmake/modules/CheckAtomic.cmake:36 (message...
2015 May 23
2
[LLVMdev] Shared libs build failing since yesterday
...undefined reference to `llvm::setFunctionAttributes(llvm::StringRef,
llvm::StringRef, llvm::TargetOptions const&, llvm::Module&, bool)'
collect2: error: ld returned 1 exit status
This is my CMake command line:
cmake -G Ninja $LLVM_SRC -DCMAKE_BUILD_TYPE=Debug
-DLLVM_BUILD_TESTS=False -DLLVM_INCLUDE_EXAMPLES=False
-DLLVM_ENABLE_ASSERTIONS=True -DBUILD_SHARED_LIBS=True
-DLLVM_TARGETS_TO_BUILD="ARM;X86;AArch64"
-DPYTHON_EXECUTABLE=/usr/bin/python2
Static object compilation is unaffected.
Any ideas?
cheers,
--renato
2017 Jun 09
5
Cannot build Clang/LLVM on Windows with LLVM_BUILD_LLVM_DYLIB
...-linked Clang/LLVM (default), 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
2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
...-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_TARGETS_WITH_JIT="X86"
Any suggestions?
Thank you in advance.
-...
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:
>
>
2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
...-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_TARGETS_WITH_JIT="X86"
Any suggestions?
Thank you in advance.
-...
2010 Oct 18
2
[LLVMdev] building only libs with cmake
Hi!
is it possible to build only the libs (and no executables) with cmake?
I already have LLVM_BUILD_TOOLS:BOOL=OFF
and CLANG_BUILD_EXAMPLES:BOOL=OFF but things like Kaledoscope
are still built.
-Jochen
2010 Oct 18
0
[LLVMdev] building only libs with cmake
Jochen Wilhelmy <j.wilhelmy at arcor.de> writes:
> is it possible to build only the libs (and no executables) with cmake?
> I already have LLVM_BUILD_TOOLS:BOOL=OFF
> and CLANG_BUILD_EXAMPLES:BOOL=OFF but things like Kaledoscope
> are still built.
LLVM_BUILD_EXAMPLES=OFF
http://www.llvm.org/docs/CMake.html#llvmvars
2015 Oct 05
2
[cfe-dev] Orc Windows C++
...ck trace of which looks semantically 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...
2016 Sep 26
2
(Thin)LTO llvm build
...> $ cmake \
> -G Ninja \
> -DCMAKE_BUILD_TYPE=Release \
> -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 \
>...
2015 Oct 05
2
[cfe-dev] Orc Windows C++
...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...
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
2015 Oct 14
4
[cfe-dev] Orc Windows C++
...gered 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
>&g...
2016 Dec 20
0
(Thin)LTO llvm build
> On Dec 20, 2016, at 5:49 AM, Carsten Mattner via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi again, Teresa.
>
> Looks like I had forgotten to report back with success
> when finally building 3.9.0 in ThinLTO linker mode
> back in October. Sorry about that and thanks for
> helping me out. I know how important it is to get
> success reports as well, as a
2015 Oct 02
2
[cfe-dev] Orc Windows C++
Thanks for the link!
There’s some code there that looks extremely relevant to say the least.
> On 1 Oct 2015, at 19:00, Hayden Livingston <halivingston at gmail.com> wrote:
>
> Maybe looking at their code might help:
>
> https://github.com/dotnet/llilc/blob/dd12743f9cdb5418f1c39b2cd756da1e8396a922/lib/Jit/LLILCJit.cpp#L299
>
> On Thu, Oct 1, 2015 at 10:45 AM, David
2015 Oct 19
2
[cfe-dev] Orc Windows C++
...tion 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.
>>...