search for: dcmake_toolchain_fil

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

Did you mean: dcmake_toolchain_file
2016 Feb 10
4
Guidance on cross compiling LLVM with mingw-w64 and cmake
I need to build libLLVM (individual static libraries are fine at the moment) using mingw-w64 cross compilers, i686-w64-mingw32-gcc and (separately) x86_64-w64-mingw32-gcc. I'd like this to work from both Linux and Cygwin build environments. With autotools, this worked fine: ../configure --host=i686-w64-mingw32 and that's it (with mingw32-gcc-c++ installed on Fedora 23, also works fine on
2020 Sep 17
3
llvm cross compilation issue
I am trying to compile llvm using a toolchain file where I have specified the target system and compilers as suggested at https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compilation-tool chain: set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR arm) set(CMAKE_C_COMPILER arm-unknown-linux-gnueabi-gcc) set(CMAKE_CXX_COMPILER arm-unknown-linux-gnueabi-g++) But the
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
> Android runtime is special, we build it in a separate build tree configured with > -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake This worked great, thanks! Would you mind tweaking Android.cmake so that I can override the location of the C compiler? The current version forces me to use the just-built-clang and that the new build directory be in a sibling directory. But as you...
2013 May 28
4
[LLVMdev] compiler-rt tests in cmake?
...d lastly, are there build instructions to build the Android shared >> object? >> > Is there any way to build an android static lib? How about for >> arm-linux? >> >> Android runtime is special, we build it in a separate build tree >> configured with >> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake >> See buildbot_cmake.sh for details. >> >> > >> > Thanks, >> > Greg >> > >> > >> > diff --git a/lib/interception/interception.h >> > b/lib/interception/interception.h >> &...
2013 May 25
2
[LLVMdev] compiler-rt tests in cmake?
...t publicly visible, we hope to change that soon. > > And lastly, are there build instructions to build the Android shared object? > Is there any way to build an android static lib? How about for arm-linux? Android runtime is special, we build it in a separate build tree configured with -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake See buildbot_cmake.sh for details. > > Thanks, > Greg > > > diff --git a/lib/interception/interception.h > b/lib/interception/interception.h > index d50af35..1771d4e 100644 > --- a/lib/interception/interception.h > +++ b/l...
2017 Oct 18
2
LLVM cross-compilation cmake issues
I'm an idiot and sent to llvm-commits instead of llvm-dev. Fixing. On 10/17/17, 5:09 PM, "llvm-commits on behalf of Shoaib Meenai via llvm-commits" <llvm-commits-bounces at lists.llvm.org on behalf of llvm-commits at lists.llvm.org> wrote: Hi all (CC beanz for cmake advice), I'm running into a cmake problem when I try to cross-compile a
2017 Oct 31
3
Cross compiling for Baremetal ARM without using GCC
...-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=../toolchain.txt \ -DCMAKE_C_COMPILER=${MYGNUARM_ROOT}/bin/arm-none-eabi-gcc \ -DCMAKE_CXX_COMPILER=${MYGNUARM_ROOT}/bin/arm-none-eabi-g++ \ -DCMAKE_ASM_COMPILER=${MYGNUARM_ROOT}/bin/arm-none-eabi-as \ ../llvm ... -- Looking for __atomic_...
2015 Jun 05
2
[LLVMdev] [RFC] Ideas on improving Compiler-RT CMake
Sorry for the late response. You should check out CMAKE_TOOLCHAIN_FILE logic for Android platform - IIRC build rules for Android are much simpler than for Darwin/Linux, and assume that build tree will be properly configured to build a single compiler-rt runtime for a specific triple. Probably this is the approach you want to eventually use for another platforms. Also check out
2015 Feb 26
3
[RFC PATCH v2] Encode optimize using libNe10
Viswanath Puttagunta wrote: > Can we please have review on RFCv2? We have quite a few optimizations > (Eg: ifft/mdct_backwards, fixed point fft/ifft mdct_forward/backward > etc) that are in my pipeline that depend on this patch series being > accepted. So, trying to make progress on this... On an armv7l board running Ubuntu, you've broken the build with just --enable-intrinsics
2013 May 27
0
[LLVMdev] compiler-rt tests in cmake?
...> > > > > And lastly, are there build instructions to build the Android shared > object? > > Is there any way to build an android static lib? How about for > arm-linux? > > Android runtime is special, we build it in a separate build tree > configured with > -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake > See buildbot_cmake.sh for details. > > > > > Thanks, > > Greg > > > > > > diff --git a/lib/interception/interception.h > > b/lib/interception/interception.h > > index d50af35..1771d4e 100644 > &...
2015 Feb 04
0
opus Digest, Vol 72, Issue 17
...ld commit (660c6787). You can see my working NE10 code at https://git.linaro.org/people/viswanath.puttagunta/Ne10.git (branch: rfcv2_ne10_fft) My compile instructions: git clone https://github.com/projectNe10/Ne10.git cd Ne10 && mkdir build && cd build cmake -DNE10_BUILD_SHARED=ON -DCMAKE_TOOLCHAIN_FILE=../GNUlinux_config.cmake .. make -j6 Timothy/All. Having scaling capability for non-power-of-2 will work for non-custom modes(nfft = 60, 120, 240 and 480). What should we do for power-of-2? I really want to avoid putting runtime checks if nfft is power of 2 in opus_fft_float_neon. > > As...
2015 Feb 26
0
[RFC PATCH v2] Encode optimize using libNe10
...10 in doc/BuildingNe10.txt are also > incorrect. I don't know if -DGNULINUX_PLATFORM=ON does anything, but I > needed to specify -DNE10_LINUX_TARGET_ARCH=armv7 to avoid cmake failing with > a 'syntax error' at line 83. I use the following commands cmake -DNE10_BUILD_SHARED=ON -DCMAKE_TOOLCHAIN_FILE=../ GNUlinux_config.cmake .. The GNUlinux_config.cmake sets up any other variables. I will update this in libNE10. > > > In short, this needs some work. Yep, Will get back to you by end of this week at the latest.
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
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
...structions to build the Android shared >>> object? >>> > Is there any way to build an android static lib? How about for >>> arm-linux? >>> >>> Android runtime is special, we build it in a separate build tree >>> configured with >>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake >>> See buildbot_cmake.sh for details. >>> >>> > >>> > Thanks, >>> > Greg >>> > >>> > >>> > diff --git a/lib/interception/interception.h >>> > b/lib/in...
2013 May 29
2
[LLVMdev] compiler-rt tests in cmake?
...ly, are there build instructions to build the Android shared object? >>>> > Is there any way to build an android static lib? How about for arm-linux? >>>> >>>> Android runtime is special, we build it in a separate build tree configured with >>>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake >>>> See buildbot_cmake.sh for details. >>>> >>>> > >>>> > Thanks, >>>> > Greg >>>> > >>>> > >>>> > diff --git a/lib/interception/intercep...
2013 May 29
4
[LLVMdev] compiler-rt tests in cmake?
...gt; object? >>>>> > Is there any way to build an android static lib? How about for >>>>> arm-linux? >>>>> >>>>> Android runtime is special, we build it in a separate build tree >>>>> configured with >>>>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake >>>>> See buildbot_cmake.sh for details. >>>>> >>>>> > >>>>> > Thanks, >>>>> > Greg >>>>> > >>>>> > >>>>> > diff --...
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
...oid shared >>>> object? >>>> > Is there any way to build an android static lib? How about for >>>> arm-linux? >>>> >>>> Android runtime is special, we build it in a separate build tree >>>> configured with >>>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake >>>> See buildbot_cmake.sh for details. >>>> >>>> > >>>> > Thanks, >>>> > Greg >>>> > >>>> > >>>> > diff --git a/lib/interception/intercept...
2015 Feb 03
2
opus Digest, Vol 72, Issue 17
Hi all, I have already added support for scaled forward non-power-of-2 floating-point FFT: https://github.com/projectNe10/Ne10/commit/79c3d787302f8d74b9bcfe6545d487cdf1b101d9 Two flags are added to cfg structure: is_forward_scaled and is_backward_scaled. By setting is_forward_scaled to anything but zero, ne10_fft_c2c_1d_float32_neon will scale the output. So we can remove need for one buffer on
2013 May 30
0
[LLVMdev] compiler-rt tests in cmake?
...>>> > Is there any way to build an android static lib? How about for >>>>>> arm-linux? >>>>>> >>>>>> Android runtime is special, we build it in a separate build tree >>>>>> configured with >>>>>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake >>>>>> See buildbot_cmake.sh for details. >>>>>> >>>>>> > >>>>>> > Thanks, >>>>>> > Greg >>>>>> > >>>>>> > >&...
2013 May 25
0
[LLVMdev] compiler-rt tests in cmake?
When I build compiler-rt with clang 3.2, all lsan tests pass. The only failing tests I see are in ubsan: Failing Tests (6): UndefinedBehaviorSanitizer :: Float/cast-overflow.cpp UndefinedBehaviorSanitizer :: Integer/add-overflow.cpp UndefinedBehaviorSanitizer :: Integer/div-zero.cpp UndefinedBehaviorSanitizer :: Integer/sub-overflow.cpp UndefinedBehaviorSanitizer ::