Displaying 8 results from an estimated 8 matches for "cmake_system_processor".
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 problem is that native tools like llvm-config, llvm-tblgen and
clang-tblgen, which must be built by the native compiler, are also
created by the target compiler.
What cmake / &q...
2013 Jul 13
0
[LLVMdev] Multiple failures on PowerPC64
...-shift.ll
>
> Any ideas?
Those tests are for the old JIT, and shouldn't be run at all on
PowerPC. The host_arch field in your lit.site.cfg (somewhere in the
build directory) is probably being set incorrectly.
I've seen this when LLVM is cross-compiled with CMake before. I had to
set CMAKE_SYSTEM_PROCESSOR in my toolchain file (in your case to
"PowerPC"). But your situation could be completely different, of
course.
So are you using autotools or CMake? And with what options?
Cheers.
Tim.
2013 Jul 13
2
[LLVMdev] Multiple failures on PowerPC64
Hi,
I got multiple failures on PowerPC64, crashes are the same:
[ 1346s] 0 lli 0x00000000107bca00
[ 1346s] 1 lli 0x00000000107bcd14
[ 1346s] 2 lli 0x00000000107bcfb8
[ 1346s] 3 linux-vdso64.so.1 0x00000fff850f0418 __kernel_sigtramp_rt64 + 0
[ 1346s] 4 lli 0x00000000100bdc98
[ 1346s] 5 lli 0x00000000102f40d0
[ 1346s] 6
2016 May 03
4
Linux/ARM: Segfault issue when we build clang sources including __thread variable using -O2 flag
...3 +1,22 @@
SET (CMAKE_C_FLAGS_INIT "-Wall -std=c11")
SET (CMAKE_C_FLAGS_DEBUG_INIT "-g -O0")
SET (CLR_C_FLAGS_CHECKED_INIT "-g -O2")
-SET (CMAKE_C_FLAGS_RELEASE_INIT "-g -O3")
+if(CMAKE_SYSTEM_NAME STREQUAL Linux AND CMAKE_SYSTEM_PROCESSOR STREQUAL armv7l)
+ SET (CMAKE_C_FLAGS_RELEASE_INIT "-g0 -O1")
+else()
+ SET (CMAKE_C_FLAGS_RELEASE_INIT "-g0 -O3")
+ message(FATAL_ERROR "RELEASE... c flag no-arm")
+endif()
SET (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-g -O2")
SET (CMAKE...
2020 Apr 10
2
Opus CMake build support for Apple frameworks
...Can you clarify what your patch does?
//Marcus
cmake-toolchains(7) — CMake 3.14.7 Documentation<https://cmake.org/cmake/help/v3.14/manual/cmake-toolchains.7.html#cross-compiling-for-ios-tvos-or-watchos>
The CMAKE_SYSTEM_NAME is the CMake-identifier of the target platform to build for.. The CMAKE_SYSTEM_PROCESSOR is the CMake-identifier of the target architecture to build for.. The CMAKE_SYSROOT is optional, and may be specified if a sysroot is available.. The CMAKE_STAGING_PREFIX is also optional. It may be used to specify a path on the host to install to. The CMAKE_INSTALL_PREFIX is always ...
cmake.org...
2020 Apr 14
1
Opus CMake build support for Apple frameworks
...s-or-watchos&data=02%7C01%7C%7C31d2ce47ca2441fc84a108d7e053f83f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637224523564096059&sdata=s85t4wULfxV5mLOcheTvhV%2Bel%2BQd1uZlr5kF0z9WyCw%3D&reserved=0>
The CMAKE_SYSTEM_NAME is the CMake-identifier of the target platform to build for.. The CMAKE_SYSTEM_PROCESSOR is the CMake-identifier of the target architecture to build for.. The CMAKE_SYSROOT is optional, and may be specified if a sysroot is available.. The CMAKE_STAGING_PREFIX is also optional. It may be used to specify a path on the host to install to. The CMAKE_INSTALL_PREFIX is always ...
cmake.org&l...
2020 Apr 14
0
Opus CMake build support for Apple frameworks
...tch does?
>
> //Marcus
> cmake-toolchains(7) — CMake 3.14.7 Documentation
> <https://cmake.org/cmake/help/v3.14/manual/cmake-toolchains.7.html#cross-compiling-for-ios-tvos-or-watchos>
> The CMAKE_SYSTEM_NAME is the CMake-identifier of the target platform to
> build for.. The CMAKE_SYSTEM_PROCESSOR is the CMake-identifier of the
> target architecture to build for.. The CMAKE_SYSROOT is optional, and may
> be specified if a sysroot is available.. The CMAKE_STAGING_PREFIX is also
> optional. It may be used to specify a path on the host to install to. The
> CMAKE_INSTALL_PREFIX is al...
2017 May 29
0
[PATCH] Add CMake build script
...of the API that are using floats" OFF)
+option(DISABLE_VBR "Disable VBR and VAD from the codec" OFF)
+cmake_dependent_option(ENABLE_VORBIS_PSY "Enable the Vorbis psy model" OFF "NOT ENABLE_FIXED_POINT;VAR_ARRAYS" OFF)
+set(VORBIS_PSYCHO ${ENABLE_VORBIS_PSY})
+
+if(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)")
+ set(CPU_IS_X86 TRUE)
+else()
+ set(CPU_IS_X86 FALSE)
+endif()
+if(CPU_IS_X86)
+ check_include_file(xmmintrin.h HAVE_XMMINTRIN_H)
+endif()
+cmake_dependent_option(ENABLE_SSE "Enable SSE support" ON "CPU_IS_X86;HAVE_XMMINTRIN_H;E...