search for: dllvm_build_llvm_dylib

Displaying 20 results from an estimated 36 matches for "dllvm_build_llvm_dylib".

Did you mean: llvm_build_llvm_dylib
2017 Jun 09
5
Cannot build Clang/LLVM on Windows with LLVM_BUILD_LLVM_DYLIB
I am trying to build Clang/LLVM with -DLLVM_BUILD_LLVM_DYLIB=ON and -DLLVM_LINK_LLVM_DYLIB=ON to reduce the size of toolchain. I am getting LINK error 1181 about `lib\LLVM.lib` not found. After investigating, `lib\LLVM.lib` is supposed to be produced along with `bin\LLVM.dll`. `bin\LLVM.dll` is indeed produced, but it does not contain any exported symbols (...
2017 Aug 19
1
Which is the best compiler to build LLVM 5.0.0 rc2?
...fail with errors such as this in building libcxxabi as follows: Command: /opt/cmake/bin/cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/home/fletcher/LLVM/llvm-5.0.rc2/local_71 -DCMAKE_C_COMPILER=/opt/gcc-7.1/bin/gcc CMAKE_CXX_COMPILER=/opt/gcc-7.1/bin/g++ -DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_TARGETS_TO_BUILD="host" -DCMAKE_CXX_FLAGS="-std=c++11 -I/opt/gcc-7.1/include/c++/7.1.0" -DCMAKE_EXE_LINKER_FLAGS="-Xlinker -R/opt/gcc-7.1/lib64 -L/opt/gcc-7.1/lib64" ../llvm First Error: Building CXX object projects/libcxxabi/src/CMakeFiles/cxxabi_objects.d...
2016 Jan 15
2
Building SVN head with CMake - shared libraries?
...that you are using it? Generally having LLVM split among that many >> dynamically loaded libraries results in significant performance regressions. > > When we first switched to cmake it was the only option to produce > shared libraries, hence we went with it. I am testing with > -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON atm, and will let > you know if any problem arises. And one immediate "problem" shows up. I ended up with libLLVM-3.9svn.so and libclang.so libclang.so.3.9 LLVM's shared lib naming looks wrong.
2016 Jan 14
3
Building SVN head with CMake - shared libraries?
> On Jan 14, 2016, at 11:43 AM, Ismail Donmez <ismail at i10z.com> wrote: > > On Thu, Jan 14, 2016 at 9:31 PM, Chris Bieneman via llvm-dev > <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: >> >> On Jan 14, 2016, at 11:22 AM, Mehdi Amini <mehdi.amini at apple.com> wrote: >> >> >> On Jan 14, 2016, at 9:38
2016 Jan 19
2
Problem with the way BUILD_SHARED_LIBS=ON handled in llvm 3.8
...rsioned libLLVMFooBar.so.3.7 and not against the unversioned library. This way when we ship the new libLLVM 3.8 old application will have to be recompiled to correctly link against the new LLVM LLVM 3.7 and before did this correctly and 3.8 should not break this. As I said in another mail I tried -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON but it's not currently usable as it is. Thanks, ismail
2016 Jan 16
3
Building SVN head with CMake - shared libraries?
...VM source tree) > which uses ``LLVM_LINK_LLVM_DYLIB`` (and a few other variables) to > decide whether to link against LLVM's static component libraries or > the monolithic shared library. I could be wrong on this though but it > should > be pretty quick to check. I already use -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON > Out of curiosity though if you're building packages on openSUSE why do > you need a standalone build? I thought the normal way to do this was > to build everything and then generate split packages? Nice question. Since Mesa depends on llvm and Mesa is...
2016 Feb 15
2
CommandLineParser problems with llvm trunk?
...& "Duplicate option categories"' failed. [1] 25383 abort (core dumped) lld λ lldb-server : CommandLine Error: Option 'debug' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options llvm is built with: cmake -G "Ninja" \ -DLLVM_BUILD_LLVM_DYLIB=ON \ -DLLVM_LINK_LLVM_DYLIB=ON \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLLVM_LIBDIR_SUFFIX=64 \ -DCMAKE_C_FLAGS="-fuse-ld=gold -fPIC" \ -DCMAKE_CXX_FLAGS="-fuse-ld=gold -fPIC" \ -DLLVM_REQUIRES_RTTI=ON \ -DLLVM_ENABLE_...
2019 Nov 18
2
HowToUseLLJIT crashes in debug build
Using llvm 9, visual studio, HowToUseLLJIT.cpp It works fine in a release build. In a debug build It aborts due to an assert failure on Core.cpp (383) because the lhs flags are (Exported | Callable) and the rhs flags are (Callable). What mods should be made to fix this issue? Side note: The comments at the top reference HowToUseJIT.cpp rather than HotToUseLLJIT.cpp Thanks, Rob Conde
2014 Dec 23
3
[LLVMdev] [RFC] Stripping unusable intrinsics
...s different. >> >> For my analysis I built LLVM and Clang using a clang built with my patches. The same clang was used for the baseline and the stripped build. I used the following CMake command: >> >> cmake -G "Sublime Text 2 - Ninja" -DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_LLVM_DYLIB=Yes -DLLVM_DISABLE_LLVM_DYLIB_ATEXIT=On -DCMAKE_INSTALL_PREFIX=/Users/cbieneman/dev/llvm-install/ -DLLVM_TARGETS_TO_BUILD="AArch64;ARM;X86" ../llvm >> >> and built using Ninja. >> >> Created a fresh build directory and built once as a baseline from the following...
2016 Jan 16
2
Building SVN head with CMake - shared libraries?
...that you are using it? Generally having LLVM split among that many >> dynamically loaded libraries results in significant performance regressions. > > When we first switched to cmake it was the only option to produce > shared libraries, hence we went with it. I am testing with > -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON atm, and will let > you know if any problem arises. I am trying to enable this on openSUSE but it seems to break standalone lldb (note that we don't ship static libs): cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS=-stdlib=libc++...
2014 Dec 22
2
[LLVMdev] [RFC] Stripping unusable intrinsics
...s. Here are the highlights of what is different. For my analysis I built LLVM and Clang using a clang built with my patches. The same clang was used for the baseline and the stripped build. I used the following CMake command: cmake -G "Sublime Text 2 - Ninja" -DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_LLVM_DYLIB=Yes -DLLVM_DISABLE_LLVM_DYLIB_ATEXIT=On -DCMAKE_INSTALL_PREFIX=/Users/cbieneman/dev/llvm-install/ -DLLVM_TARGETS_TO_BUILD="AArch64;ARM;X86" ../llvm and built using Ninja. Created a fresh build directory and built once as a baseline from the following revisions: LLVM - ba05946 lld - 33b...
2016 Jan 14
2
Building SVN head with CMake - shared libraries?
Now that autoconf is going away soon, I figured I'd try building using CMake. I checked out llvm, cfe and lldb from the SVN server, and followed the basic build instructions. cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=/tools/llvm/svn_head -DLLVM_TARGETS_TO_BUILD="X86;CppBackend" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON ../llvm Everything worked well, and in
2016 Jan 14
4
Building SVN head with CMake - shared libraries?
...; Is this a bug in the make scripts for lldb-server? >> How can I get libLLVM.so in addition to liblldb.so? >> > > -DBUILD_SHARED_LIBS=ON will give you shared libraries for each component > (libLLVMSupport.so instead of libLLVMSupport.a, etc.) > > What you want to set is -DLLVM_BUILD_LLVM_DYLIB=ON. For this to work, you > must *not* set -DBUILD_SHARED_LIBS=ON. > > If you also want all the tools (clang, llvm-*, etc.) to link against > libLLVM.so, you'll want to set -DLLVM_LINK_LLVM_DYLIB=ON, otherwise you'll > have libLLVM.so but the tools will be linked against the...
2018 Sep 17
2
build llvm fails under win7 x64/VS2017
my build environment: 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) my build steps: 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
2016 Jan 18
2
Problem with the way BUILD_SHARED_LIBS=ON handled in llvm 3.8
Hi, For lllvm 3.7 and before BUILD_SHARED_LIBS=ON would produce versioned shared libs like libLLVMLTO.so (symlink) libLLVMLTO.so.3.7 (symlink) libLLVMLTO.so.3.7.0 (real file) now it just builds an unversioned libLLVMLTO.so file which I believe is a problem because when a program links to llvm it generates a runtime dependency on libLLVMLTO.so instead of libLLVMLTO.so.3.7.0 which will break
2018 Mar 17
0
Building issue at configure step on ARM host (AddLLVM.cmake)
...cmake -G "Unix Makefiles" .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="-march=armv7-a -mcpu=cortex-a9" -DCMAKE_C_COMPILER_TARGET=arm-linux-gnueabi -DPYTHON_EXECUTABLE=/usr/bin/python2.7 -DLLVM_ENABLE_LIBCXX=OFF -DLLVM_BUILD_TESTS=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_ASSERTIONS=True -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON -DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF And I got the following error : -- Performing...
2016 Jan 17
3
Building SVN head with CMake - shared libraries?
...DYLIB`` (and a few other variables) to >>> decide whether to link against LLVM's static component libraries or >>> the monolithic shared library. I could be wrong on this though but it >>> should >>> be pretty quick to check. >> >> I already use -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON > > That'll teach me to suggest something without actually trying it. Then > I might have actually noticed you're already using that flag! > > Let me see if I can reproduce this. Are you building on LLVM trunk on > the 3.8 release branch? Try...
2018 Sep 10
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...f9160d4628cb9b6186559837c2c8668 3. The build option of LLVM 8 (bootstrap with LLVM 3.9.1): cmake .. -DCMAKE_BUILD_TYPE=Release \     -DCMAKE_C_COMPILER=clang \     -DCMAKE_CXX_COMPILER=clang++ \     -DCMAKE_C_FLAGS="-fPIC" \     -DCMAKE_CXX_FLAGS="-std=c++11 -fPIC" \     -DLLVM_BUILD_LLVM_DYLIB=ON \     -DLLVM_LINK_LLVM_DYLIB=ON \     -DLLVM_INSTALL_UTILS=ON \     -DLLVM_ENABLE_RTTI=ON \     -DLLVM_ENABLE_FFI=ON \     -DLLVM_ENABLE_EH=ON \     -DLLVM_BUILD_TESTS=ON \     -DLLVM_BUILD_DOCS=OFF \     -DLLVM_ENABLE_SPHINX=OFF \     -DLLVM_ENABLE_DOXYGEN=OFF \     -DLLDB_DISABLE_LIB...
2017 Apr 09
2
Possible stack corruption during call to JITSymbol::getAddress()
...same) clang set to default compiler by setting the following environment variables: CC=/usr/bin/clang CXX=/usr/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.c...
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