Commit Graph

23 Commits

Author SHA1 Message Date
Svyatoslav Scherbina 8ebc0bd1ea Do not move libclang out from the clang distribution
Also load libclang using the absolute path to simplify cinterop
2017-04-26 20:07:06 +03:00
alexander-gorshenev c9c9aee7bb No colon cinterop flags (#428)
* Taught cinterop a 'host' target.

* Last minute switch from -foo:bar flags to -foo bar flags in cinterop tool.
2017-03-31 10:20:29 +03:00
Nikolay Igotti a368818863 Fix names, samples (#426) 2017-03-30 19:41:15 +03:00
Nikolay Igotti 61728ab3fd CURL sample, copyright update 2017-03-30 16:25:05 +03:00
Svyatoslav Scherbina ebced0aa2d Make interop tool generate one self-contained .kt.bc 2017-03-30 15:55:39 +03:00
Alexander Gorshenev 89ea6396f6 It should be --time, not -time.
It should be -list_targets, not --list_targets.
The -list should better be -list_phases now that we have several sets to list.
2017-03-29 12:10:41 +03:00
Nikolay Igotti af3b74451d Misc tweaks (#387) 2017-03-25 11:35:56 +03:00
Ilya Matveev fbc14becfc tools: Add dependecy download helpers
This patch adds 2 helpers to download dependencies for compiler and
stub generator during their execution.

They take list of external dependencies as a parameter and directory
where they must be located. Helpers check if these dependencies exist
in the given directory and download not existing ones.
2017-03-24 19:31:23 +07:00
Alexander Gorshenev 3189d1d8bc Two aliases for konanc: kotlinc, kotlinc-native. 2017-03-22 16:15:54 +04:00
Alexander Gorshenev a7677e2a8b Renamed interop 'target' to 'flavour'. 2017-03-16 01:55:36 +04:00
Nikolay Igotti f3794aa206 Improve interop user experience and docs (#342) 2017-03-15 17:25:10 +03:00
Nikolay Igotti 29726e601f Fix interop tool on Linux 2017-03-14 13:04:33 +03:00
Alexander Gorshenev a995fbcb59 This is a simple command line tool for interop.
See INTEROP.md on how to use it.
2017-03-10 17:36:58 +04:00
Igor Chevdar 4911f78200 Inner classes (#207)
* Inner classes lowering

* cmd line fix

* tests

* * reverted adding parameter to inner classes constructors
* variables are identified by their descriptors

* review fixes
2017-01-31 15:36:21 +05:00
Alexander Gorshenev c15fb6833d Profiling machinery. 2016-12-29 16:07:43 +04:00
Alexander Gorshenev 413f47fda5 Removed 'clang' invocations in favour of llvm tools and 'ld'.
Introduced LinkStage in the compiler.

Removed the link stage from 'konanc'.

Removed duplicate :stdlib and :start targets.

Simplified test run task a lot.
2016-12-28 02:13:07 +04:00
Alexander Gorshenev 6a6424f462 A little more konanc. 2016-12-13 17:11:27 +04:00
Nikolay Igotti 240a87d0ac Remve unreachable code for -opt, minor bugfix. (#135) 2016-12-12 16:38:19 +03:00
Alexander Gorshenev b04c52664e Moved link args computation to the root build.gradle.
Pass the link args to konanc.
2016-12-07 17:29:30 +04:00
Alexander Gorshenev 140587641a Introuced "-opt" for "-flto -O3". 2016-12-07 13:47:21 +04:00
Alexander Gorshenev cc2a35408a Provided KONAN_HOME relative -Djava.library.path.
Updated the README.

Allow -output in addition to -o.
2016-12-07 13:47:21 +04:00
Alexander Gorshenev 28f683bf09 Minor changes after code review. 2016-12-06 17:22:34 +04:00
Alexander Gorshenev c84fe7fd85 Collected or scattered means of running the compiler in a shell script.
So one can now

$ ./gradlew dist

$ ./dist/bin/konanc backend.native/tests/runtime/basic/hello0.kt -o hello

$ ./hello

or one can

$ ./gradlew demo

and have a complete dist build,
with a test program compiled and executed automatically after that
2016-12-06 17:22:34 +04:00