forked from JetBrains/kotlin-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduced HACKING.md to document some tools.
- Loading branch information
1 parent
9179a96
commit 42b644b
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
There are several gradle flags one can use for Konan build. | ||
|
||
* **-Pkonanc_flags** passes flags to the compiler used to build stdlib | ||
|
||
./gradlew -Pkonanc_flags="-disable lower_inline -print_ir" stdlib | ||
|
||
* **-Pshims** compiles LLVM interface with tracing "shims". Allowing one | ||
to trace the LLVM calls from the compiler. | ||
Make sure to rebuild the project. | ||
|
||
./gradlew -Pshims=true dist | ||
|
||
* **-Pfilter** allows one to choose test files to run. | ||
|
||
./gradlew -Pfilter=overflowLong.kt run_external | ||
|