Add documentation for KONAN_DATA_DIR variable

This commit is contained in:
Sergey Mashkov
2018-04-03 13:00:29 +03:00
committed by ilmat192
parent 74da4eb09b
commit 98a48be0e5
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -20,6 +20,9 @@ There are several gradle flags one can use for Konan build.
./gradlew -Pprefix=external_codegen_box_cast run_external
## Compiler environment variables
* **KONAN_DATA_DIR** changes `.konan` local data directory location (`$HOME/.konan` by default). Works both with cli compiler and gradle plugin
## Testing
+1 -1
View File
@@ -103,7 +103,7 @@ When given `-library foo` flag, the compiler searches the `foo` library in the
* All repositories specified with `-repo` flag.
* Libraries installed in the default repository (For now the default is `~/.konan` ).
* Libraries installed in the default repository (For now the default is `~/.konan`, however it could be changed by setting **KONAN_DATA_DIR** environment variable).
* Libraries installed in `$installation/klib` directory.