search for: dllvm_default_target_triple

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

2013 Oct 29
2
[LLVMdev] [compiler-rt] lit tests without x86
> What is 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...
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, G...
2018 Jul 23
2
Requesting for help.
...='clang++' -DCMAKE_C_COMPILER=../build_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_aarc...
2013 Oct 29
0
[LLVMdev] [compiler-rt] lit tests without x86
...> What is 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/libcla...
2013 Oct 29
0
[LLVMdev] [compiler-rt] lit tests without x86
...is the exact line you use to configure build tree, and the output 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 > '...
2018 Feb 17
2
Configuring LLVM v6.0 RC2 on Windows
...Call Stack (most recent call first): CMakeLists.txt:937 (add_lit_target) Any ideas on what might be causing this? My invocation of CMake is as follows: cmake -Wno-dev -G "Visual Studio 14 2015 Win64" ../llvm \ "-DLLVM_TARGETS_TO_BUILD=SHAVE;X86 " \ -DLLVM_DEFAULT_TARGET_TRIPLE=shave \ -DLIBCLANG_BUILD_STATIC=1 \ -DLLVM_ENABLE_ZLIB=0 \ -DENABLE_SHARED=0 Thanks, MartinO -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180217/95b9ffd1/attachmen...
2014 Jan 10
2
[LLVMdev] Specify the default target when configuring LLVM
...when compiling and the correct code-generator is selected. But I would like to have it default to the triple for our processor when no triple is specified, and while I can get this to work when I configure/build using 'cmake' passing: cmake ... -DLLVM_TARGETS_TO_BUILD=Ours;X86;Sparc -DLLVM_DEFAULT_TARGET_TRIPLE=ours ... I can't seem to get the equivalent to work when I use regular 'configure' and 'make', and it always defaults to the target corresponding to the machine building the cross-compiler (in my case this is X86). Is there a way of configuring for regular 'make' that...
2016 May 05
2
LLVM cross compilation for arm target
...uild tool chain it gives the error message :* #CC='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...
2020 Jun 09
2
Cross compile x64 to AArch64 issues
...ke step. I'm currently running Manjaro, with 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...
2017 Mar 22
2
Building LLVM on Linux, executing on Windows 10 Linux Subsystem
..._INSTALL_PREFIX:STRING=$(CLANG_INSTALL_ROOT)/Debug" \ "-DCMAKE_EXE_EXPORTS_C_FLAG:STRING=" \ "-DCMAKE_EXE_EXPORTS_CXX_FLAG:STRING=" \ "-DCMAKE_EXE_LINKER_FLAGS:STRING=-static-libgcc -static-libstdc++ -static" \ -DLLVM_TARGETS_TO_BUILD="OURTARGET" \ -DLLVM_DEFAULT_TARGET_TRIPLE=ourtarget Only the highlighted options are perhaps unusual as I need to build with statically linked GCC libraries, and the 'DCMAKE_EXE_EXPORTS' flags were required to prevent another problem with dynamic libraries, though I have forgotten what this was now. The resulting compiler w...
2018 Feb 18
0
Configuring LLVM v6.0 RC2 on Windows
...all first): > CMakeLists.txt:937 (add_lit_target) > > Any ideas on what might be causing this? My invocation of CMake is as follows: > > cmake -Wno-dev -G "Visual Studio 14 2015 Win64" ../llvm \ > "-DLLVM_TARGETS_TO_BUILD=SHAVE;X86 " \ > -DLLVM_DEFAULT_TARGET_TRIPLE=shave \ > -DLIBCLANG_BUILD_STATIC=1 \ > -DLLVM_ENABLE_ZLIB=0 \ > -DENABLE_SHARED=0 > > Thanks, > > MartinO > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org <mailto:llvm-d...
2020 Mar 27
3
llvm-objdump cannot recognize mul&mulh RISC-V M Instructions
...G Ninja -DCMAKE_INSTALL_PREFIX=/home/llvm/workspace/llvm/llvm-project/llvm_install -DCMAKE_BUILD_TYPE="Release" -DDEFAULT_SYSROOT="/home/llvm/workspace/riscv/riscv-tc-20200220/bin/riscv32-unknown-elf" -DGCC_INSTALL_PREFIX="/home/llvm/workspace/riscv/riscv-tc-20200220" -DLLVM_DEFAULT_TARGET_TRIPLE="riscv32-unknown-elf" -DLLVM_ENABLE_PROJECTS="clang;lld;libc" -DLLVM_TARGETS_TO_BUILD="RISCV" ../llvm ``` Instructions to compile and dump: ``` RISCV_GCC_OPTS ?= -mcmodel=medany -static -O3 -std=gnu99 -fno-common -fno-builtin -march=rv32im -mabi=ilp32 -DMB_ADDR=0x80F...
2013 Oct 29
2
[LLVMdev] [compiler-rt] lit tests without x86
...onfigure 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 "b...
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
2017 Aug 02
2
Cross compiling C++ program
...s when cross compiling. > You need to either find or build an arm-none-eabi sysroot, and use the > --sysroot= flag. > > > Jon OK, that's a start. I found https://www.llvm.org/docs/HowToCrossCompileLLVM.html. Is it enough for --sysroot? In case it is, what should be the value of -DLLVM_DEFAULT_TARGET_TRIPLE if I want to use FreeBSD as host and Cortex-M4 as sysroot? Thanx! Regards, meka -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/at...
2016 May 06
3
build issue in llvm-clang cross tool chain for arm target
...lang' CXX='clang++' cmake -G Ninja /home/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...
2016 Apr 25
2
bug: cross-compile Clang/LLVM for ARM using Clang/LLVM
...9; CXX='clang++' cmake -G Ninja ../llvm-source-code >> -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...
2013 Nov 13
2
[releng_10 tinderbox] failure on i386/i386
...lvm/tools/clang/include -I/src/lib/clang/libclangfrontend/../../../contrib/llvm/tools/clang/lib/Frontend -I. -I/src/lib/clang/libclangfrontend/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd10.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd10.0\" -DDEFAULT_SYSROOT=\"/obj/i386.i386/src/tmp\" -I/obj/i386.i386/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti -c /src/lib/clang/libclangfrontend/../../../contrib/llvm/tools/clang/lib/Fr...
2012 Jul 10
1
[LLVMdev] cmake and setting target triple
Hi, What is the Cmake equivalent to configures target option [ ./configure --target=avr-atmel-none] ? --John -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120710/5405f54b/attachment.html>
2013 Dec 17
2
[LLVMdev] compiler-rt for ARM-Linux with CMake?
..., 'compiler-rt', and 'release' (which is 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=`p...