I cannot get this to make a stand alone toolchain for the life of me. If I follow the readme.txt, no matter what I get "make_standalone_toolchain_snapdragon_llvm.py: command not found"? If I use "python make_standalone_toolchain_snapdragon_llvm.py --arch arm64 --api 28" I got a couple missing file errors. After fixing that, and placing files correctly, I get:
dukhawk@laptop:~/android-ndk-r18b/snapdragon-llvm-8.0.6-linux64/build/tools$ python make_standalone_toolchain_snapdragon_llvm.py --arch arm64 --api 28
Traceback (most recent call last):
File "make_standalone_toolchain_snapdragon_llvm.py", line 545, in <module>
main()
File "make_standalone_toolchain_snapdragon_llvm.py", line 529, in main
sysroot_path, host_tag)
File "make_standalone_toolchain_snapdragon_llvm.py", line 390, in create_toolchain
copy_directory_contents(prebuilt_path, install_path)
File "make_standalone_toolchain_snapdragon_llvm.py", line 175, in copy_directory_contents
os.symlink(linkto, dst_file)
OSError: [Errno 17] File exists
Lost.