Hi! I'm try using konanc in linux inside corporate...
# kotlin-native
r
Hi! I'm try using konanc in linux inside corporate network without any possibility of internet access. Can I install all dependencies manually, without "Downloading native dependencies (LLVM, sysroot etc). This is a one-time action performed only on the first run of the compiler."?
g
Yes, you can. Just put them to ~/.konan Also you can mirror depenendeices repo locally (but require much more disc space) https://dl.bintray.com/jetbrains/kotlin-native-dependencies/
r
I see, for example, "clang+llvm-3.9.0-linux-x86-64.tar.gz". I strictly need to put it inside ~/.konan or I may install it by standard package manager?
g
put inside of ~/.konan/dependencies and unarchive
You probably can override somehow default path for konan dependencies and use system ones, but I’m not sure that it make sense
Just install dependencies on some of machines with internet and than copy ~/.konan to your corporate network
or again, clone dependencies repo to your corporative repo (artifactory for example can do this)
s
put inside of ~/.konan/dependencies and unarchive
Actually, it is not necessary to unarchive. I suppose the best approach is to put
.tar.gz
files to
~/.konan/cache/
.
r
Thank. Downloading... Really large archives...