https://kotlinlang.org logo
Title
r

rjhdby

06/26/2018, 9:54 AM
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

gildor

06/26/2018, 9:57 AM
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

rjhdby

06/26/2018, 10:00 AM
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

gildor

06/26/2018, 10:01 AM
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

svyatoslav.scherbina

06/26/2018, 10:25 AM
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

rjhdby

06/26/2018, 10:28 AM
Thank. Downloading... Really large archives...