Displaying 1 result from an estimated 1 matches for "build_llvm_directory".
2018 Jul 23
2
Requesting for help.
...d some help in this.
I use the following command to cross compile for ARM Cortex A72 (ARM v8-a),
64 bit architecture:
*cmake -v CC='clang' CXX='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=../myOwn...