cmake ../../llvm-project/llvm -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_AR="/usr/local/bin/llvm-ar" -DCMAKE_LINKER="/usr/local/bin/lld" -DCMAKE_NM="/usr/local/bin/llvm-nm" -DCMAKE_OBJDUMP="/usr/local/bin/llvm-objdump" -DCMAKE_RANLIB="/usr/local/bin/llvm-ranlib" -DCMAKE_DLLTOOL="/usr/local/bin/llvm-dlltool" -DLLVM_USE_LINKER=lld -DCMAKE_C_COMPILER_TARGET=x86_64-ubuntu-linux-gnu -DCMAKE_CXX_COMPILER_TARGET=x86_64-ubuntu-linux-gnu -DLLVM_ENABLE_PROJECTS="clang;lld;clang-tools-extra;compiler-rt;libcxx;libcxxabi;libunwind" -DCMAKE_SYSROOT=/home/cqwrteur/cross/x86_64-ubuntu-linux-gnu -Wno-dev -DLLVM_INCLUDE_TESTS=Off -DLLVM_INCLUDE_EXAMPLES=Off -DLLVM_ENABLE_BACKTRACES=Off  -DLLVM_ENABLE_PIC=On -DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-ubuntu-linux-gnu -DLLVM_HOST_TRIPLE=x86_64-ubuntu-linux-gnu -DHAVE_CXX_FLAG_WTHREAD_SAFETY=Off -DLLVM_TABLEGEN=/usr/local/bin/llvm-tblgen -DCLANG_TABLEGEN=/usr/local/bin/clang-tblgen -DCMAKE_CROSSCOMPILING=On -DCMAKE_HOST_SYSTEM_NAME=Linux -DCMAKE_INSTALL_PREFIX=/home/cqwrteur/canadian/llvm/x86_64-ubuntu-linux-gnu -DCMAKE_SYSTEM_NAME=Linux -GNinja -DLLVM_ENABLE_ZLIB=FORCE_ON -DZLIB_LIBRARY=/home/cqwrteur/cross/x86_64-ubuntu-linux-gnu/x86_64-ubuntu-linux-gnu/lib/libz.a -DHAVE_ZLIB=On -DLLVM_OPTIMIZED_TABLEGEN=On -DLLVM_ENABLE_ASSERTIONS=Off -DLLVM_ENABLE_UNWIND_TABLES=Off -DCMAKE_CXX_COMPILER_TARGET=x86_64-ubuntu-linux-gnu -DBUILD_SHARED_LIBS=On -DLLVM_STATIC_LINK_CXX_STDLIB=On -DBUILD_SHARED_LIBS=On