search for: dllvm_target_arch

Displaying 20 results from an estimated 26 matches for "dllvm_target_arch".

2013 Oct 29
2
[LLVMdev] [compiler-rt] lit tests without x86
...the exact line you use to configure build tree, and the output you see? cmake ../.. \ -G Ninja \ -DCMAKE_INSTALL_PREFIX=ship \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_ENABLE_ASSERTIONS=ON \ -DLLVM_TARGETS_TO_BUILD=ARM \ -DLLVM_DEFAULT_TARGET_TRIPLE=arm-none-linux-gnueabi \ -DLLVM_TARGET_ARCH=arm-none-linux-gnueabi \ -DLLVM_LIT_ARGS=-v ninja check-all Lot's of different errors, but this one stands out (from 'check-tsan'): cannot find "bin/../lib/clang/3.4/lib/linux/libclang_rt.tsan-arm.a" No surprise that library is missing - the ARM Linux runtime doesn...
2013 Oct 25
2
[LLVMdev] [compiler-rt] lit tests without x86
Are there any sanitizer lit tests in non-X86 configurations? For example: $ cmake -DLLVM_TARGETS_TO_BUILD=ARM \ -DLLVM_DEFAULT_TARGET_TRIPLE=arm-none-linux-gnueabi \ -DLLVM_TARGET_ARCH=arm-none-linux-gnueabi All ASan tests were removed from the build and all the other sanitizers have tests but they all fail. Should they all be disabled too? Or can we add a REQUIRES tag to get lit to mark them as 'unsupported'? Thanks, Greg
2013 Oct 29
0
[LLVMdev] [compiler-rt] lit tests without x86
...nd the output > you see? > > cmake ../.. \ > -G Ninja \ > -DCMAKE_INSTALL_PREFIX=ship \ > -DCMAKE_BUILD_TYPE=Release \ > -DLLVM_ENABLE_ASSERTIONS=ON \ > -DLLVM_TARGETS_TO_BUILD=ARM \ > -DLLVM_DEFAULT_TARGET_TRIPLE=arm-none-linux-gnueabi \ > -DLLVM_TARGET_ARCH=arm-none-linux-gnueabi \ > -DLLVM_LIT_ARGS=-v > > ninja check-all > > > Lot's of different errors, but this one stands out (from 'check-tsan'): > > cannot find "bin/../lib/clang/3.4/lib/linux/libclang_rt.tsan-arm.a" > > No surprise that lib...
2013 Oct 29
0
[LLVMdev] [compiler-rt] lit tests without x86
...t you see? On Fri, Oct 25, 2013 at 2:45 PM, Greg Fitzgerald <garious at gmail.com> wrote: > Are there any sanitizer lit tests in non-X86 configurations? For example: > > $ cmake -DLLVM_TARGETS_TO_BUILD=ARM \ > -DLLVM_DEFAULT_TARGET_TRIPLE=arm-none-linux-gnueabi \ > -DLLVM_TARGET_ARCH=arm-none-linux-gnueabi > > All ASan tests were removed from the build and all the other > sanitizers have tests but they all fail. Should they all be disabled > too? Or can we add a REQUIRES tag to get lit to mark them as > 'unsupported'? > > Thanks, > Greg > __...
2017 Aug 01
2
ubsan no longer compiles when libc++ is the default
...-DENABLE_LINKER_BUILD_ID=ON \ -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 re...
2018 Jul 23
2
Requesting for help.
...directory_llvm/bin/clang -DCMAKE_CXX_COMPILER=../build_directory_llvm/bin/clang++ -DLLVM_TABLEGEN=../build_llvm_directory/bin/llvm-tblgen -DCLANG_TABLEGEN=../build_llvm_directory/bin/clang-tblgen -DCROSSCOMPILING=True -DCMAKE_INSTALL_PREFIX=../tmp_two -DLLVM_DEFAULT_TARGET_TRIPLE=aarch64-linux-gnu -DLLVM_TARGET_ARCH=AARCH64 -DLLVM_TARGETS_TO_BUILD=ARM -DCMAKE_CXX_FLAGS='-target aarch64-linux-gnu --sysroot=../myOwnToolChainTwo/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/libc --gcc-toolchain=../myOwnToolChainTwo/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/ -mcpu=cortex-a72'...
2016 May 05
2
LLVM cross compilation for arm target
...C='clang' CXX='clang++' cmake -G Ninja /home/iiita/llvm-exp/llvm -DCMAKE_CROSSCOMPILING=True -DCMAKE_INSTALL_PREFIX=/home/iiita/llvm-exp/llvm/build -DLLVM_TABLEGEN=/usr/bin/host/llvm-tblgen -DCLANG_TABLEGEN=/usr/bin/host/clang-tblgen -DLLVM_DEFAULT_TARGET_TRIPLE=arm-linux-gnueabihf -DLLVM_TARGET_ARCH=ARM -DLLVM_TARGETS_TO_BUILD=ARM -DCMAKE_CXX_FLAGS='-target armv7a-linux-gnueabihf -mcpu=cortex-a9 -I/usr/arm-linux-gnueabihf/include/c++/4.7.1/arm-linux-gnueabihf/ -I/usr/arm-linux-gnueabihf/include/ -mfloat-abi=hard -ccc-gcc-name arm-linux-gnueabihf-gcc' *error :* CMake Error at cmake/m...
2017 Aug 02
2
ubsan no longer compiles when libc++ is the default
...D=ON \ >> -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...
2020 Jun 09
2
Cross compile x64 to AArch64 issues
...th the aarch64-linux-gnu package (and associated binutils, headers, and glibc packages). My cmake command is cmake -DCMAKE_CROSSCOMPILING=True -DCMAKE_INSTALL_PREFIX=`realpath install` -DLLVM_TABLEGEN=`realpath ../build-10.x/install/bin/llvm-tblgen` -DLLVM_DEFAULT_TARGET_TRIPLE=aarch64-linux-gnu -DLLVM_TARGET_ARCH=AArch64 -DLLVM_TARGETS_TO_BUILD=AArch64 -DCMAKE_CXX_FLAGS="-target aarch64-linux-gnu --sysroot=/usr/aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/10.1.0" -DCMAKE_C_COMPILER=`realpath ../build-10.x/install/bin/clang` -DCMAKE_CXX_COMPILER=`realpath ../build-10.x/install/bin/clang++` -D...
2013 Oct 29
2
[LLVMdev] [compiler-rt] lit tests without x86
...>> cmake ../.. \ >> -G Ninja \ >> -DCMAKE_INSTALL_PREFIX=ship \ >> -DCMAKE_BUILD_TYPE=Release \ >> -DLLVM_ENABLE_ASSERTIONS=ON \ >> -DLLVM_TARGETS_TO_BUILD=ARM \ >> -DLLVM_DEFAULT_TARGET_TRIPLE=arm-none-linux-gnueabi \ >> -DLLVM_TARGET_ARCH=arm-none-linux-gnueabi \ >> -DLLVM_LIT_ARGS=-v >> >> ninja check-all >> >> >> Lot's of different errors, but this one stands out (from 'check-tsan'): >> >> cannot find "bin/../lib/clang/3.4/lib/linux/libclang_rt.tsan-arm.a&quot...
2019 Nov 13
2
Compiling libc++ using GNU Arm Embedded Toolchain for arm-cortex-m4
...MMON_FLAGS_BASE $C_AND_CXX_COMMON_FLAGS_MORE" cmake \ -DCMAKE_CROSS_COMPILING:BOOL=ON \ -DLLVM_ENABLE_PROJECTS='libcxxabi;libcxx' \ -DCMAKE_INSTALL_PREFIX='${HOME}/ClangLibcxx' \ -DCMAKE_BUILD_TYPE='Release' \ -DLLVM_ENABLE_ASSERTIONS:BOOL=ON \ -DLLVM_TARGET_ARCH='ARM' \ -DLLVM_TARGETS_TO_BUILD='ARM' \ -DLIBCXX_BUILD_32_BITS:BOOL=ON \ -DLLVM_BUILD_32_BITS:BOOL=ON \ -DLLVM_ENABLE_STATIC:BOOL=ON \ -DLLVM_ENABLE_SHARED:BOOL=OFF \ -DLLVM_DISABLE_PIC:BOOL=OFF \ -D_LIBCPP_HAS_NO_STDOUT:BOOL=ON \ -D_LIBCPP_HAS_NO_STD...
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
2016 May 06
3
build issue in llvm-clang cross tool chain for arm target
...ome/iiita/crossbuild/llvm -DLLVM_ENABLE_LIBCXX=ON -DCMAKE_CROSSCOMPILING=True -DCMAKE_INSTALL_PREFIX=/home/iiita/crossbuild/build -DLLVM_TABLEGEN=/home/iiita/llvm-3.8/build/bin/llvm-tblgen -DCLANG_TABLEGEN=/home/iiita/llvm-3.8/build/bin/clang-tblgen -DLLVM_DEFAULT_TARGET_TRIPLE=arm-linux-gnueabihf -DLLVM_TARGET_ARCH=ARM -DLLVM_TARGETS_TO_BUILD=ARM -DCMAKE_CXX_FLAGS='-target armv7a-linux-gnueabihf -mcpu=cortex-a9 -I/usr/arm-linux-gnueabihf/include/c++/4.7.3/arm-linux-gnueabihf/ -I/usr/arm-linux-gnueabihf/include/ -mfloat-abi=hard -ccc-gcc-name arm-linux-gnueabihf-gcc' *Error message:* CMake Error at cm...
2016 Apr 25
2
bug: cross-compile Clang/LLVM for ARM using Clang/LLVM
...e >> -DCMAKE_CROSSCOMPILING=True >> -DCMAKE_INSTALL_PREFIX=./llvm >> -DLLVM_TABLEGEN=/home/lab/workspace/llvm/build4x86/bin/llvm-tblgen >> -DCLANG_TABLEGEN=/home/lab/workspace/llvm/build4x86/bin/clang-tblgen >> -DLLVM_DEFAULT_TARGET_TRIPLE=arm-linux-gnueabihf >> -DLLVM_TARGET_ARCH=ARM >> -DLLVM_TARGETS_TO_BUILD=ARM >> -DCMAKE_CXX_FLAGS='-target armv7a-linux-gnueabihf -mcpu=cortex-a9 >> -I/usr/arm-linux-gnueabihf/include/c++/4.7.3/arm-linux-gnueabihf/ >> -I/usr/arm-linux-gnueabihf/include/ >> -I/home/lab/workspace/llvm/llvm-source-code/lib4ar...
2013 Sep 17
0
[LLVMdev] LLVM Error
...rogram used external function '_GLOBAL_OFFSET_TABLE_' which could not be resolved! -- Any idea how I can go about debugging this? My configuration is: /opt/cmake-2.8.11.2/bin/cmake ../llvm/ -DCMAKE_BUILD_TYPE:STRING='Release' -DCMAKE_INSTALL_PREFIX:PATH=/opt/clang+llvm-svncmake -DLLVM_TARGET_ARCH:STRING=i386-redhat-linux-gnu -DCMAKE_C_COMPILER=/opt/clang+llvm-3.3/bin/i386-redhat-linux-gnu-clang -DCMAKE_CXX_COMPILER=/opt/clang+llvm-3.3/bin/i386-redhat-linux-gnu-clang++ This message is intended only for the addressee and may contain information that is company confidential or privileged. Any...
2013 Dec 17
2
[LLVMdev] compiler-rt for ARM-Linux with CMake?
...a clang build directory), this build succeeds: $ mkdir -p release-rt $ cd release-rt $ cmake ../llvm -G Ninja \ -DCMAKE_INSTALL_PREFIX=ship \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_ENABLE_ASSERTIONS=ON \ -DLLVM_TARGETS_TO_BUILD=ARM \ -DLLVM_DEFAULT_TARGET_TRIPLE=arm-none-linux-gnueabi \ -DLLVM_TARGET_ARCH=arm-none-linux-gnueabi \ -DCMAKE_C_COMPILER=`which arm-none-linux-gnueabi-gcc` \ -DCMAKE_CXX_COMPILER=`which arm-none-linux-gnueabi-g++` \ -DLLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR=../compiler-rt \ -DCMAKE_CROSSCOMPILING=True \ -DLLVM_TABLEGEN=`pwd`/../release/ship/bin/llvm-tblgen $ ninja in...
2016 Apr 25
2
bug: cross-compile Clang/LLVM for ARM using Clang/LLVM
Hi James, renato, So how do I download the missing ARM libraries on Ubuntu14.04? I cannot find any available libraries. Best, Liyang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160425/04dfc553/attachment.html>
2017 Oct 31
3
Cross compiling for Baremetal ARM without using GCC
...-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=${HOME}/clang/toInstall \ -DLLVM_TABLEGEN=${MYHOSTBIN}/llvm-tblgen \ -DCLANG_TABLEGEN=${MYHOSTBIN}/clang-tblgen \ -DLLVM_DEFAULT_TARGET_TRIPLE=arm-none-eabi \ -DLLVM_TARGET_ARCH=ARM \ -DLLVM_TARGETS_TO_BUILD=ARM \ -DLLVM_ENABLE_LTO=Full \ -DCMAKE_C_FLAGS="${MYCFLAGS}" \ -DCMAKE_CXX_FLAGS="${MYCFLAGS}" \ -DCMAKE_SYSROOT=${MYGNUARM_ROOT} \ -DCMAKE_TOOLCHAIN_FILE=../t...
2014 Apr 22
2
[LLVMdev] SCEV and induction variable identification
Hi Fellows, The goal is to find the induction variable for a loop, where the induction variable increments with the multiplication, division or shift operations, like this one: sz = 8; do { ... ... sz = sz / 2; } while (sz) Is SCEV capable of detecting the induction variable 'sz' in this case? The code snippet I am using to solve the problem is for each basic-block in a
2020 Feb 18
4
Moving the AVR backend out of experimental
> > Should we just make it a normal target? > My only remaining reservation here - the generic DebugInfo tests, which presumably due to an unimplemented 16-bit branch somewhere deep in the llvm-objdump callstack. The AVR backend passes virtually all of the LLVM test suite but these when avr-unknown-unknown is set as the default target. It feels like the inclusion of ~80 XFAILs for these