Displaying 11 results from an estimated 11 matches for "dllvm_enable_cxx1y".
2018 May 05
4
Slow IR compilation/JIT, profiling points to LLVM?
...ointing to something I'm doing wrong in my LLVM 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.3...
2019 Jan 08
2
[LLD] [WASM] wasm/function-index.test failing
Are you using static linking, -DBUILD_SHARED_LIBS, or
-DLLVM_LINK_LLVM_DYLIB?
On Tue, Jan 8, 2019 at 7:21 AM David Greene via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Rui Ueyama <ruiu at google.com> writes:
>
> > I cannot reproduce this error, but this could be real.
> >
> > David, is this reproducible every time or is this flaky?
>
> It's
2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
..._NEED_NCURSES=TRUE \
-DFFI_INCLUDE_DIR=$DESTROOT/lib/libffi-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_TABL...
2018 May 05
0
Slow IR compilation/JIT, profiling points to LLVM?
...in my LLVM 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%,...
2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
..._NEED_NCURSES=TRUE \
-DFFI_INCLUDE_DIR=$DESTROOT/lib/libffi-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_TABL...
2018 May 05
0
Slow IR compilation/JIT, profiling points to LLVM?
...anager::findAnalysisPass(void
> const*, bool)'2
> 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...
- An...
2015 Jul 08
2
[LLVMdev] Building clang + libc++ + libc++abi
[Sorry about the crosspost. Since this is a clang build question but
the build is invoked from the top-level LLVM directory I'm not sure
where the question should go.]
I've got a clang build against libstdc++ on Linux but I would really
like one built against libc++/libc++abi. In other words I'd like to
rebuild clang/llvm with clang using libc++ and libc++abi on Linux.
I looked at
2018 May 31
1
Hang generating sanitizer tests
Just to follow-up, I'm now encountering this as well. I'm doing this on Linux.
It seems that when linking with the most-recently built clang, the
unit tests are taking a while to complete. It's notably not using more
than 1 thread, and if using `lld` I would have expected the linker to
still be running in parallel.
I'm doing this on a debug build, so that might help narrow it
2015 Jul 08
2
[LLVMdev] [cfe-dev] Building clang + libc++ + libc++abi
...clang
> -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="-stdlib=libc++"
> -DCMAKE_CXX_LINK_FLAGS="-stdlib=libc++ -lc++abi
> -DPYTHON_EXECUTABLE=/opt/python/2.7.9/bin/python2.7
> -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/clang/dev
> -DLLVM_APPEND_VC_REV=ON -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_ASSERTIONS=ON
> -DLLVM_PARALLEL_COMPILE_JOBS=32 -DLLVM_PARALLEL_LINK_JOBS=32
> -DLLVM_BUILD_DOCS=ON -DCLANG_INCLUDE_DOCS=ON -DLIBCXX_CXX_ABI=libcxxabi
> -DLIBCXX_CXX_ABI_INCLUDE_PATHS="/path/to/llvm/projects/libcxxabi/include"
> /path/to/llvm
>
> This ge...
2019 Apr 08
2
LLVM 8 + Mavericks?
...9;s keen to build LLVM, I ran:
cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_CCACHE_BUILD=ON
-DCMAKE_C_COMPILER=/usr/local/Cellar/llvm/6.0.1-bin-cc/bin/clang
-DCMAKE_CXX_COMPILER=/usr/local/Cellar/llvm/6.0.1-bin-cc/bin/clang++
-DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_CREATE_XCODE_TOOLCHAIN=ON
-DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_CXX1Z=ON
-DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/llvm/8.0.0-bin/ ..
I noticed seeing amidst msgs "Could NOT find Z3 (missing: Z3_LIBRARIES
Z3_INCLUDE_DIR) (Required is at least version "4.7.1")"
and after that:
make -j4
that stopped saying it didn't fi...