Vasily Levchenko
6457e97364
[kotlin compiler][update] 1.1-20171004.235336-906
...
kotlin-script-runtime: 1.1-20171004.235353-597
kotlin-stdlib: 1.1-20171004.235357-905
kotlin-reflect: 1.1-20171004.235348-905
kotlin-stlib-jdk8: 1.1-20171004.235402-815
kotlin-gradle-plugin: 1.1-20171004.235345-884
2017-10-12 15:16:30 +03:00
Ilya Matveev
5eed839f91
samples: Blacklist some xcode environment variables
...
This patch unsets some Xcode environment variables in gradle
plugin and command line runner.
2017-10-10 11:38:06 +03:00
Ilya Matveev
9667749b4e
[SQUASHME] Fix run_konan.bat
2017-08-23 19:42:06 +07:00
Ilya Matveev
60ed6f6871
dependencies: Move dependency downloader into shared project
2017-08-23 19:42:06 +07:00
Ilya Matveev
fb15992546
build: Distribute 'shared' as a separate jar
2017-08-23 19:42:06 +07:00
Alexander Gorshenev
ba2ae4c76b
Check in klib.bat
2017-06-15 17:34:31 +03:00
Alexander Gorshenev
83d96f7d97
Windows scripts commoned.
2017-06-15 17:34:31 +03:00
Alexander Gorshenev
bd0a1a9ce1
A simple time prepend.
2017-06-15 17:34:31 +03:00
Alexander Gorshenev
646117a60b
Initial klib tool check in.
2017-06-08 03:28:18 +03:00
Alexander Gorshenev
fe5945aebe
Using a single shell script for both 'cinterop' and 'konanc'.
2017-06-08 03:28:18 +03:00
SvyatoslavScherbina
94add3cc20
Add compiler scripts for Windows ( #625 )
2017-06-02 13:50:27 +03:00
Alexander Gorshenev
977ae063f8
A little more defensive shell programming.
2017-06-01 23:38:14 +03:00
Nikolay Igotti
74ffc479bb
Add Windows i18n support ( #617 )
2017-05-31 10:01:49 +03:00
Alexander Gorshenev
c93bddbba1
Get rid of -nolink flag uses.
2017-05-29 15:01:42 +03:00
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