search for: dllvm_libdir_suffix

Displaying 20 results from an estimated 25 matches for "dllvm_libdir_suffix".

Did you mean: llvm_libdir_suffix
2019 Apr 13
2
Failed to replace stdlibc++ with libc++, linker phase error
On 04/12/2019 06:31 PM, Tom Stellard via llvm-dev wrote: > On 04/12/2019 04:28 PM, AiChi via llvm-dev wrote: >> Hi, >> >> I'm currently working on one of my team's project to build LLVM full clang toolchain (Clang, libcxx, libcxxabi) on a CentOS machine. >> >> Previously we compiled our codebase with llvm-toolset-7/clang++, which by default takes stdlibc++
2011 Jul 30
2
[LLVMdev] [PATCH] llvm-config: Support LLVM_LIBDIR_SUFFIX on CMake build.
Hi, here is a patch for fixing the libdir suffix issue in llvm-config on CMake builds (if using -DLLVM_LIBDIR_SUFFIX=32/64). It works successfully on my openSUSE i586 (/usr/lib/) and x86_64 (/usr/lib64/) systems. Please CC me on further discussion. Thanks. Johannes -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-llvm-config-Support-LLVM_LIBDIR_SUFFIX-on-CMake-buil.patch...
2011 Jul 30
0
[LLVMdev] [PATCH] llvm-config: Support LLVM_LIBDIR_SUFFIX on CMake build.
...x along with the other variables expanded when going from llvm-config.in to llvm-config. On Sat, Jul 30, 2011 at 1:32 AM, Johannes Obermayr <johannesobermayr at gmx.de>wrote: > Hi, > > here is a patch for fixing the libdir suffix issue in llvm-config on CMake > builds (if using -DLLVM_LIBDIR_SUFFIX=32/64). > > It works successfully on my openSUSE i586 (/usr/lib/) and x86_64 > (/usr/lib64/) systems. > > Please CC me on further discussion. > > Thanks. > Johannes > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc...
2016 May 06
2
Problem on cross-compiling compiler-rt
That's great. For multi targets compilerrt-rts, in old llvm 3.5 configuremakefileconfigure/makefile system, it will build multiple libs for each target on the target list pass to clang building. but since you said compiler-rt now require sysroot for proper headers, then I don't think multi libs can be built together any more. However, according to my knowledge, without compiler-rt, a
2017 Aug 01
2
ubsan no longer compiles when libc++ is the default
...-DLLVM_ENABLE_ASSERTIONS=ON \ -DLLVM_ENABLE_PIC=ON \ -DLLVM_BINUTILS_INCDIR=/usr/include \ -DLLVM_TARGETS_TO_BUILD=host \ -DLLVM_TARGET_ARCH=host \ -DLLVM_LIBDIR_SUFFIX=64 \ -DCLANG_DEFAULT_CXX_STDLIB=libc++ \ -DLLVM_ENABLE_LIBCXX=ON .. results in the following build error: ../projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:233: error: undefined reference to 'typeinfo for std::type_info' ../pr...
2017 May 01
2
Problem with Polly build
...\ > -DCMAKE_C_FLAGS="-m64" \ > -DCMAKE_CXX_COMPILER=${GCCDir}/bin/g++ \ > -DCMAKE_CXX_FLAGS="-m64" \ > -DPYTHON_EXECUTABLE=${PythonDir}/bin/python \ > -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON \ > -DLLVM_LIBDIR_SUFFIX=64 \ > -DLLVM_TARGETS_TO_BUILD="X86" \ > ${LLVMSourceDir} > > I build LLVM, Clang, Clang extra tools, Compiler-RT and Polly together. I tried this configuration (I have lld, lldb, libcxx etc in my source tree as well). Neither "make LLVM...
2016 Jan 16
2
Building SVN head with CMake - shared libraries?
...penSUSE 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++ -DLLVM_BUILD_LLVM_DYLI B=ON -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_LIBDIR_SUFFIX=64 -DLLDB_PA TH_TO_LLVM_BUILD=/usr -DLLDB_PATH_TO_CLANG_BUILD=/usr -DLLVM_RUNTIME_OUTPUT_INTDIR=/home/abuild/rpmbuild/BUILD/lldb-3.8.0/buil d/bin -DLLVM_LIBRARY_OUTPUT_INTDIR=/home/abuild/rpmbuild/BUILD/lldb-3.8.0/build/lib64 -DPYTHON_VERSION_MAJOR=2 -DPYTHON_VERSIO N_MINOR=7 -G Ninja .. [...] CM...
2017 Aug 02
2
ubsan no longer compiles when libc++ is the default
...TIONS=ON \ >> -DLLVM_ENABLE_PIC=ON \ >> -DLLVM_BINUTILS_INCDIR=/usr/include \ >> -DLLVM_TARGETS_TO_BUILD=host \ >> -DLLVM_TARGET_ARCH=host \ >> -DLLVM_LIBDIR_SUFFIX=64 \ >> -DCLANG_DEFAULT_CXX_STDLIB=libc++ \ >> -DLLVM_ENABLE_LIBCXX=ON .. >> >> results in the following build error: >> >> ../projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:233: >> error: undefin...
2016 Jan 16
3
Building SVN head with CMake - shared libraries?
...b (note that we don't ship static libs): >> >> cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ >> -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DLLVM_BUILD_LLVM_DYLI >> B=ON -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_INSTALL_PREFIX=/usr >> -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_LIBDIR_SUFFIX=64 -DLLDB_PA >> TH_TO_LLVM_BUILD=/usr -DLLDB_PATH_TO_CLANG_BUILD=/usr >> -DLLVM_RUNTIME_OUTPUT_INTDIR=/home/abuild/rpmbuild/BUILD/lldb-3.8.0/buil >> d/bin -DLLVM_LIBRARY_OUTPUT_INTDIR=/home/abuild/rpmbuild/BUILD/lldb-3.8.0/build/lib64 >> -DPYTHON_VERSION_MAJOR=2 -DPYTHON_VER...
2017 May 01
2
Problem with Polly build
Hi Eugene, It is strange, I also do a clean build with CMake+make with r301734 and it is ok. Could you provide more details? Thanks Hongbin On Mon, May 1, 2017 at 10:58 AM, Eugene Zelenko via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi, Michael! > > On Sun, Apr 30, 2017 at 2:06 PM, Michael Kruse <llvmdev at meinersbur.de> > wrote: > > 2017-04-29 0:49
2016 Feb 15
2
CommandLineParser problems with llvm trunk?
...n '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_TIMESTAMPS=OFF \ -DLLVM_ENABLE_ASSERTIONS=ON \ -DLLVM_ENABLE_PIC=ON \ -DLLVM_BINUTILS_INCDIR=/usr/include \ -DLLVM_TARGE...
2017 May 04
2
Problem with Polly build
...m64" \ >>> -DCMAKE_CXX_COMPILER=${GCCDir}/bin/g++ \ >>> -DCMAKE_CXX_FLAGS="-m64" \ >>> -DPYTHON_EXECUTABLE=${PythonDir}/bin/python \ >>> -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON \ >>> -DLLVM_LIBDIR_SUFFIX=64 \ >>> -DLLVM_TARGETS_TO_BUILD="X86" \ >>> ${LLVMSourceDir} >>> >>> I build LLVM, Clang, Clang extra tools, Compiler-RT and Polly together. >> >> I tried this configuration (I have lld, lldb, libcxx etc in...
2017 Aug 03
2
fatal error: clang/Basic/Version.inc: No such file or directory
...bin/gcc" \ -DCMAKE_C_FLAGS:STRING="-m64 -I/usr/local/valgrind/include" \ -DCMAKE_CXX_COMPILER:STRING="/usr/local/gcc-5.3.0/bin/g++" \ -DCMAKE_CXX_FLAGS:STRING="-m64 -I/usr/local/valgrind/include" \ -DCMAKE_EXE_LINKER_FLAGS:STRING="-m64" \ -DLLVM_LIBDIR_SUFFIX:STRING="64" \ -DLLVM_POLLY_LINK_INTO_TOOLS:BOOL=ON \ -DLIBOMPTARGET_DEP_LIBELF_INCLUDE_DIR:STRING="/usr/local/elfutils-0.169/include" \ -DLIBOMPTARGET_DEP_LIBELF_LIBRARIES:STRING="/usr/local/elfutils-0.169/lib64/libelf.so" \ -DLIBOMPTARGET_DEP_LIBFFI_INCLUDE...
2018 Sep 10
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...   -DLLVM_ENABLE_DOXYGEN=OFF \     -DLLDB_DISABLE_LIBEDIT=1 \     -DSPHINX_WARNINGS_AS_ERRORS=OFF \     -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \     -DFFI_LIBRARY_DIR:PATH="$(pkg-config --variable=libdir libffi)" \     -DLLVM_BINUTILS_INCDIR=/usr/include \     -DLLVM_LIBDIR_SUFFIX=64 \     -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON \     -DLIBUNWIND_ENABLE_SHARED=ON \     -DLIBCXXABI_USE_LLVM_UNWINDER=ON \     -DLLDB_TEST_C_COMPILER=clang \     -DLLDB_TEST_CXX_COMPILER=clang++ \     -DLLVM_DEFAULT_TARGET_TRIPLE="x86_64-redhat-linux" \     -DCLANG_VENDOR="LLVM...
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
2018 Sep 11
3
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...SABLE_LIBEDIT=1 \ >> -DSPHINX_WARNINGS_AS_ERRORS=OFF \ >> -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \ >> -DFFI_LIBRARY_DIR:PATH="$(pkg-config --variable=libdir libffi)" \ >> -DLLVM_BINUTILS_INCDIR=/usr/include \ >> -DLLVM_LIBDIR_SUFFIX=64 \ >> -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON \ >> -DLIBUNWIND_ENABLE_SHARED=ON \ >> -DLIBCXXABI_USE_LLVM_UNWINDER=ON \ >> -DLLDB_TEST_C_COMPILER=clang \ >> -DLLDB_TEST_CXX_COMPILER=clang++ \ >> -DLLVM_DEFAULT_TARGET_TRIPLE="x86_...
2018 Sep 12
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...-DSPHINX_WARNINGS_AS_ERRORS=OFF \ >>>> -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \ >>>> -DFFI_LIBRARY_DIR:PATH="$(pkg-config --variable=libdir libffi)" \ >>>> -DLLVM_BINUTILS_INCDIR=/usr/include \ >>>> -DLLVM_LIBDIR_SUFFIX=64 \ >>>> -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON \ >>>> -DLIBUNWIND_ENABLE_SHARED=ON \ >>>> -DLIBCXXABI_USE_LLVM_UNWINDER=ON \ >>>> -DLLDB_TEST_C_COMPILER=clang \ >>>> -DLLDB_TEST_CXX_COMPILER=clang++ \ >>>&...
2016 Jun 09
9
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...INSTALL_PREFIX} > > + -DLLVM_CONFIG_PATH=${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-config > > + -DLLVM_LIBRARY_OUTPUT_INTDIR=${LLVM_LIBRARY_OUTPUT_INTDIR} > > + -DLLVM_RUNTIME_OUTPUT_INTDIR=${LLVM_RUNTIME_OUTPUT_INTDIR} > > + -DLLVM_LIBDIR_SUFFIX=${LLVM_LIBDIR_SUFFIX} > > + -DLLVM_ENABLE_WERROR=${LLVM_ENABLE_WERROR} > > + -DPACKAGE_VERSION=${PACKAGE_VERSION} > > + -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} > > + -DCMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM} > >...
2016 Jan 17
3
Building SVN head with CMake - shared libraries?
...bs): >>>> >>>> cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ >>>> -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DLLVM_BUILD_LLVM_DYLI >>>> B=ON -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_INSTALL_PREFIX=/usr >>>> -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_LIBDIR_SUFFIX=64 -DLLDB_PA >>>> TH_TO_LLVM_BUILD=/usr -DLLDB_PATH_TO_CLANG_BUILD=/usr >>>> -DLLVM_RUNTIME_OUTPUT_INTDIR=/home/abuild/rpmbuild/BUILD/lldb-3.8.0/buil >>>> d/bin -DLLVM_LIBRARY_OUTPUT_INTDIR=/home/abuild/rpmbuild/BUILD/lldb-3.8.0/build/lib64 >>>> -DPYT...
2017 Jan 19
2
undefined symbols during linking LLDB 4.0 RC1
...ER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_EXE_LINKER_FLAGS="-lc++abi -lc++" -DCMAKE_EXE_LINKER_FLAGS="-lc++abi -lc++" -DCMAKE_SHARED_LINKER_FLAGS="-lc++abi -lc++" -DCMAKE_MODULE_LINKER_FLAGS="-lc++abi -lc++" -DLLVM_ENABLE_LIBCXX=ON -DLLVM_LIBDIR_SUFFIX=64 -DCMAKE_INSTALL_PREFIX=/usr -DLLDB_DISABLE_PYTHON=1 -DTARGET_TRIPLE="x86_64-pc-linux-gnu" -DLIBCXX_INSTALL_EXPERIMENTAL_LIBRARY=ON -DLLVM_ENABLE_LLD=ON List of undefined symbols and invocation is next: [ 89%] Linking CXX executable ../../../../bin/lldb cd /opt/bamboo-agent-01/xm...