Hello @wny,
Could you explain in more details how could I cross-compile Glow for aarch64 with -target option?
I have added it in CMakeLists.txt as:
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -target=aarch64")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -target=aarch64")

But it seems to fail during command: cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ../glow with the following error:
-- Cannot find glog automatically. Using legacy find.
-- Found glog (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
-- Using 64b tensor dimensions.
-- Libjit option 'fast-math' enabled.
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.10/Modules/FindThreads.cmake:205 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  thirdparty/folly/CMakeLists.txt:101 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/osboxes/Desktop/glow_Release/CMakeFiles/CMakeOutput.log".
See also "/home/osboxes/Desktop/glow_Release/CMakeFiles/CMakeError.log".

Thank you in advance!