Skip to content

Commit

Permalink
Add documentation for KONAN_DATA_DIR variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Mashkov authored and ilmat192 committed Apr 5, 2018
1 parent 74da4eb commit 98a48be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion LIBRARIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 98a48be

Please sign in to comment.