tools: Add dependecy download helpers

This patch adds 2 helpers to download dependencies for compiler and
stub generator during their execution.

They take list of external dependencies as a parameter and directory
where they must be located. Helpers check if these dependencies exist
in the given directory and download not existing ones.
This commit is contained in:
Ilya Matveev
2017-03-21 15:43:13 +07:00
committed by ilmat192
parent 4a716fbf30
commit fbc14becfc
20 changed files with 342 additions and 21 deletions
+2
View File
@@ -48,6 +48,8 @@ between threads are allowed.
./dist/bin/kotlinc <some_file>.kt <dir_with_kt_files> -o <executable>.kexe
During the first run it will download all external dependencies such as LLVM.
One may use `'-h'` flag to `kotlinc` to see available flags.
For documentation on C interoperability stubs see INTEROP.md.