search for: dllvm_enable_ffi

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

2018 May 05
4
Slow IR compilation/JIT, profiling points to LLVM?
...VM setup, or is it just slow? I'm reasonably certain I'm compiling LLVM in optimized mode, but for reference, this is my build line:     cmake .. -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_REQUIRES_RTTI=ON -DLLVM_ENABLE_CXX1Y=ON -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_OPTIMIZED_TABLEGEN=ON -DCMAKE_INSTALL_PREFIX="/opt/llvm/install" The overall time split, from valgrind, between shared libraries in my code is:     80.48%, libLLVM-6.0.so     8.83% libc-2.23.so     2.34% libleaf_lang.so (my front-end) -- edA-qa m...
2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
...bffi-3.0.11/include \ -DFFI_LIBRARY_DIR=$DESTROOT/lib \ -DGCC_INSTALL_PREFIX=$GCC_ROOT \ -DLLVM_BINUTILS_INCDIR=${DESTROOT}/include \ -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 \ -...
2015 Jul 28
2
[LLVMdev] Regression testing on MSYS2 host with mingw-w64
...CPPFLAGS}" \ > -DCMAKE_INSTALL_PREFIX=/mingw64 \ > -DCMAKE_BUILD_TYPE=Release \ > -DLLVM_TARGETS_TO_BUILD="ARM;AArch64;CppBackend;X86" \ > -DLLVM_ENABLE_ASSERTIONS=OFF \ > -DLLVM_ENABLE_THREADS=0 \ > -DPYTHON_EXECUTABLE=/mingw64/bin/python2.exe \ > -DLLVM_ENABLE_FFI=ON \ > -DLLVM_ENABLE_SPHINX=ON \ > ../llvm > Is this not supported? We do have a build of libffi in mingw-w64 and it works well with other projects. On Tue, Jul 28, 2015 at 6:49 PM, Yaron Keren <yaron.keren at gmail.com> wrote: > This test results in UNSUPPORTED on my syst...
2018 May 05
0
Slow IR compilation/JIT, profiling points to LLVM?
...> I'm reasonably certain I'm compiling LLVM in optimized mode, but for > reference, this is my build line: > > cmake .. -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_EH=ON > -DLLVM_ENABLE_RTTI=ON -DLLVM_REQUIRES_RTTI=ON -DLLVM_ENABLE_CXX1Y=ON > -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_ENABLE_FFI=ON > -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_OPTIMIZED_TABLEGEN=ON > -DCMAKE_INSTALL_PREFIX="/opt/llvm/install" > > > The overall time split, from valgrind, between shared libraries in my > code is: > > 80.48%, libLLVM-6.0.so > 8.83% libc-2.23.so >...
2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
...bffi-3.0.11/include \ -DFFI_LIBRARY_DIR=$DESTROOT/lib \ -DGCC_INSTALL_PREFIX=$GCC_ROOT \ -DLLVM_BINUTILS_INCDIR=${DESTROOT}/include \ -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 \ -...
2019 Sep 05
3
Building LLVM with LLVM
...v libcxx-${VERSION}.src llvm-${VERSION}.src/projects/libcxx mv libcxxabi-${VERSION}.src llvm-${VERSION}.src/projects/libcxxabi mv lld-${VERSION}.src llvm-${VERSION}.src/projects/lld mv compiler-rt-${VERSION}.src llvm-${VERSION}.src/projects/compiler-rt mkdir build cd build cmake \ -DLLVM_ENABLE_FFI=ON \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_TARGETS_TO_BUILD="host" \ -DBUILD_SHARED_LIBS=ON \ ../llvm-${VERSION}.src cmake --build . cmake -DCMAKE_INSTALL_PREFIX=${DESTDIR}${PREFIX} -P cmake_install.cmake === snap === Any hints? Greetings, Fabiano
2018 Mar 17
0
Building issue at configure step on ARM host (AddLLVM.cmake)
...TALL_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 Test CXX_SUPPORTS_NO_MACRO_REDEFINED - Success -- Symbols (liblldb): export...
2018 May 05
0
Slow IR compilation/JIT, profiling points to LLVM?
...> I'm reasonably certain I'm compiling LLVM in optimized mode, but for > reference, this is my build line: > >     cmake .. -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_EH=ON > -DLLVM_ENABLE_RTTI=ON -DLLVM_REQUIRES_RTTI=ON -DLLVM_ENABLE_CXX1Y=ON > -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_ENABLE_FFI=ON > -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_OPTIMIZED_TABLEGEN=ON > -DCMAKE_INSTALL_PREFIX="/opt/llvm/install" You're building LLVM with assertions enabled (-DLLVM_ENABLE_ASSERTIONS=ON). Some of those are fairly expensive... - Andres
2018 Sep 10
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...e \     -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_LIBEDIT=1 \     -DSPHINX_WARNINGS_AS_ERRORS=OFF \     -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \    ...
2019 Sep 17
2
Building LLVM with LLVM with no dependence on GCC
...d Ubuntu 16.04 LTS: === snip === sudo apt-get install build-essential libffi-dev cmake # see aptget.txt for packages installed sudo mv /usr/local /usr/local.orig git clone https://github.com/llvm/llvm-project.git cd llvm-project; git checkout llvmorg-9.0.0-rc5; cd - mkdir build; cd build cmake \ -DLLVM_ENABLE_FFI=ON \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_TARGETS_TO_BUILD="host" \ -DBUILD_SHARED_LIBS=ON \ -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;compiler-rt;lld" \ ../llvm-project/llvm # configure1.txt cmake --build . cmake -DCMAKE_INSTALL_PREFIX=/t...
2015 Jul 28
0
[LLVMdev] Regression testing on MSYS2 host with mingw-w64
...-DCMAKE_INSTALL_PREFIX=/mingw64 \ >> -DCMAKE_BUILD_TYPE=Release \ >> -DLLVM_TARGETS_TO_BUILD="ARM;AArch64;CppBackend;X86" \ >> -DLLVM_ENABLE_ASSERTIONS=OFF \ >> -DLLVM_ENABLE_THREADS=0 \ >> -DPYTHON_EXECUTABLE=/mingw64/bin/python2.exe \ >> -DLLVM_ENABLE_FFI=ON \ >> -DLLVM_ENABLE_SPHINX=ON \ >> ../llvm >> > > Is this not supported? > We do have a build of libffi in mingw-w64 and it works well with other > projects. > > On Tue, Jul 28, 2015 at 6:49 PM, Yaron Keren <yaron.keren at gmail.com> wrote: > This...
2015 Jul 28
0
[LLVMdev] Regression testing on MSYS2 host with mingw-w64
This test results in UNSUPPORTED on my system, since config.enable_ffi = "OFF". This is the result of LLVM_ENABLE_FFI which is OFF by default. Is it turned ON in your build? 2015-07-28 17:32 GMT+03:00 Martell Malone <martellmalone at gmail.com>: > Hi Yaron, > > I know you sent me some emails before about regression testing on MSYS2 > So you might have some idea about
2020 Jan 03
3
Interpreter crash due to an "Unknown constant pointer type!"
David, sorry for this email but I noticed I made a mistake in the previous one. So I managed to compile llvm Debug with asserts release. I have used the following commands: cmake -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_FFI=ON -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_ASSERTIONS=ON .. cmake --build . -- -j8 && sudo cmake --build . --target install Once lli was installed it was enough to use the .bc /usr/local/bin/lli --debug --force-interpreter pngpixel_crash.bc 0 0 mini.png ... png_ptr->width: 1 max_pixel_d...
2015 Jul 28
2
[LLVMdev] Regression testing on MSYS2 host with mingw-w64
Hi Yaron, I know you sent me some emails before about regression testing on MSYS2 So you might have some idea about this I am getting a regression error on check-llvm. With the llvm/trunk/test/ExecutionEngine/Interpreter/intrinsics.ll FAIL: LLVM :: ExecutionEngine/Interpreter/intrinsics.ll (7635 of 14266) > ******************** TEST 'LLVM :: >
2018 Sep 11
3
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...lang++ \ >> -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_LIBEDIT=1 \ >> -DSPHINX_WARNINGS_AS_ERRORS=OFF \ >>...
2020 Feb 10
2
Interpreter crash due to an "Unknown constant pointer type!"
...: > >> David, >> sorry for this email but I noticed I made a mistake in the previous one. >> So I managed to compile llvm Debug with asserts release. I have used the >> following commands: >> >> cmake -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_RTTI=ON >> -DLLVM_ENABLE_FFI=ON -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_ASSERTIONS=ON .. >> cmake --build . -- -j8 && sudo cmake --build . --target install >> >> Once lli was installed it was enough to use the .bc >> >> /usr/local/bin/lli --debug --force-interpreter pngpixel_crash.bc 0 0 &g...
2018 Sep 12
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...IC" \ >>>> -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_LIBEDIT=1 \ >>&g...
2017 Oct 14
2
darwin bootstrap failure
...:LLVM_FORCE_ENABLE_DUMP:BOOL=OFF CMakeCache.txt.orig:LLVM_FORCE_ENABLE_DUMP:BOOL=OFF include/llvm/Config/llvm-config.h:/* Defined in debug builds and release builds if LLVM_FORCE_ENABLE_DUMP is what I see from a cmake options of... -DLLVM_LINK_LLVM_DYLIB:BOOL=ON -DCOMPILER_RT_ENABLE_IOS:BOOL=OFF -DLLVM_ENABLE_FFI=ON -DFFI_INCLUDE_DIR=/sw/include -DFFI_LIBRARY_DIR=/sw/lib -DLLVM_LIT_ARGS:STRING=-v -DPYTHON_EXECUTABLE:FILEPATH=/sw/bin/python2.7 -DLIBOMP_OSX_ARCHITECTURES=x86_64;i386 -DLLVM_ENABLE_ASSERTIONS:BOOL=OFF -DCMAKE_OSX_SYSROOT:STRING=/ -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING= -DLLVM_TARGETS_TO_BUILD=X86...
2017 Oct 14
2
darwin bootstrap failure
...CE_ENABLE_DUMP:BOOL=OFF >> include/llvm/Config/llvm-config.h:/* Defined in debug builds and release >> builds if LLVM_FORCE_ENABLE_DUMP >> >> is what I see from a cmake options of... >> >> -DLLVM_LINK_LLVM_DYLIB:BOOL=ON -DCOMPILER_RT_ENABLE_IOS:BOOL=OFF >> -DLLVM_ENABLE_FFI=ON -DFFI_INCLUDE_DIR=/sw/include >> -DFFI_LIBRARY_DIR=/sw/lib -DLLVM_LIT_ARGS:STRING=-v >> -DPYTHON_EXECUTABLE:FILEPATH=/sw/bin/python2.7 >> -DLIBOMP_OSX_ARCHITECTURES=x86_64;i386 -DLLVM_ENABLE_ASSERTIONS:BOOL=OFF >> -DCMAKE_OSX_SYSROOT:STRING=/ -DCMAKE_OSX_DEPLOYMENT_TARGET...
2020 Feb 01
0
Interpreter crash due to an "Unknown constant pointer type!"
...gt;>> sorry for this email but I noticed I made a mistake in the previous one. >>> So I managed to compile llvm Debug with asserts release. I have used the >>> following commands: >>> >>> cmake -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_RTTI=ON >>> -DLLVM_ENABLE_FFI=ON -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_ASSERTIONS=ON .. >>> cmake --build . -- -j8 && sudo cmake --build . --target install >>> >>> Once lli was installed it was enough to use the .bc >>> >>> /usr/local/bin/lli --debug --force-interpreter pngp...