search for: llvm_create_cross_target_internal

Displaying 3 results from an estimated 3 matches for "llvm_create_cross_target_internal".

2016 Feb 10
4
Guidance on cross compiling LLVM with mingw-w64 and cmake
...p-level settings for CMAKE_C_COMPILER etc from the cross build. Any ideas? I've tried moving my mingw settings from the command line to a toolchain file but that hasn't done anything different so far. I've also tried specifically creating a native toolchain file and tweaking the call to llvm_create_cross_target_internal at the end of CrossCompile.cmake to use it, but that hasn't worked either - keeps giving Could not find toolchain file: "/home/llvm/cmake/platforms/NATIVE.cmake" Is this a configuration anyone else has gotten working with cmake? Thanks, Tony
2017 Oct 18
2
LLVM cross-compilation cmake issues
...d expect. My current workaround is to simply unset these environment variables before running the native configure step: --- a/cmake/modules/CrossCompile.cmake +++ b/cmake/modules/CrossCompile.cmake @@ -45,6 +45,9 @@ function(llvm_create_cross_target_internal target_name toolchain buildtype) # Propagate LLVM_EXTERNAL_CLANG_SOURCE_DIR so that clang-tblgen can be built set(external_clang_dir "-DLLVM_EXTERNAL_CLANG_SOURCE_DIR=${LLVM_EXTERNAL_CLANG_SOURCE_DIR}") endif() + unset(ENV...
2016 Feb 11
2
Guidance on cross compiling LLVM with mingw-w64 and cmake
...R etc from the cross >> build. Any ideas? I've tried moving my mingw settings from the command >> line to a toolchain file but that hasn't done anything different so far. >> I've also tried specifically creating a native toolchain file and >> tweaking the call to llvm_create_cross_target_internal at the end of >> CrossCompile.cmake to use it, but that hasn't worked either - keeps giving >> Could not find toolchain file: "/home/llvm/cmake/platforms/NATIVE.cmake" >> >> Is this a configuration anyone else has gotten working with cmake? >> Thanks, &g...