SvyatoslavScherbina
cd4f116f78
Support inline classes ( #1840 )
2018-08-10 09:57:15 +03:00
Vasily Levchenko
34fe09c59c
[kotlin compiler][update] 1.2.70-dev-616
2018-07-26 11:39:08 +03:00
Vasily Levchenko
f376d9da37
[backend] friend module support
2018-07-11 09:49:14 +03:00
Vasily Levchenko
f4e29c88c5
[kotlin compiler][update] 1.2.70-dev-198 ( #1784 )
...
* [kotlin compiler][update] 1.2.70-dev-198
2018-07-09 17:12:44 +03:00
Nikolay Igotti
e2b051e2d5
Documentation tweaks.
2018-06-28 15:52:00 +03:00
Ilya Matveev
301af84358
[libraries] Move SearchPathResolver into shared
2018-05-11 16:08:47 +07:00
Vasily Levchenko
be8984ef81
[kotlin compiler][update] 1.2.50-dev-1148
2018-05-10 11:34:20 +03:00
Nikolay Igotti
55c6090a08
Revert "Revert unified versioning."
...
This reverts commit fe28b13e4f .
2018-04-20 09:43:21 +03:00
Vasily Levchenko
fe28b13e4f
Revert unified versioning.
...
Revert "[build][version] generate KonanVersion using data from gradle.properties." 07ae3144de .
Revert "[gradle][test] disable version test" 86ec80a6a7 .
Revert "[build][version][doc] update" 94ba9d61a9 .
2018-04-20 06:49:06 +03:00
ilmat192
3572c98a8b
Allow running compiler only for libraries ( #1508 )
2018-04-19 12:12:01 +07:00
Vasily Levchenko
07ae3144de
[build][version] generate KonanVersion using data from gradle.properties.
...
- uses konanMetaVersion for meta version field
- uses dep.Kotlin_KotlinNative_Master_KotlinNativeCheckout.build.counter as build counter
- shared/compiler/gradle plugin uses the same version.
2018-04-18 08:01:28 +02:00
Sergey Bogolepov
1be56f1e51
Do not save temporary files by default
2018-02-27 12:13:32 +03:00
Alexander Gorshenev
9789420ed3
A configurable zephyr board support.
2018-02-12 16:00:58 +03:00
Pavel Punegov
d5fcf23629
Add version and output kind
2017-12-22 18:07:45 +03:00
Pavel Punegov
6b2257792c
Show message in case of compilation error caused by exception
2017-12-22 18:07:45 +03:00
Vasily Levchenko
3e949b4047
[cli] make -version more usable
2017-12-21 06:22:13 +03:00
Vasily Levchenko
846e091a5b
[compiler] accepts options from file prefixed with '@'
2017-12-12 14:21:05 +03:00
Svyatoslav Scherbina
8b6d3c0a69
Add dynamic and framework to -produce CLI description
2017-12-07 18:56:26 +03:00
Svyatoslav Scherbina
9829605a95
Implement --purge_user_libs konanc and cinterop flag
2017-11-03 18:07:05 +03:00
Alexander Gorshenev
42cbf8428b
Collect dependent libraries in the manifest.
...
Link dependencies recursively.
2017-10-02 17:13:49 +03:00
Alexander Gorshenev
27f7e4263b
Auto link everything found in dist/klib.
...
Disable such behavior with -nodefaultlibs.
Omit libraries from the link stage if their packages have not been referenced.
2017-09-25 12:49:22 +03:00
Vasily Levchenko
f26e5b5f02
unit-tests: Create a simple test runner implementation
2017-09-25 11:31:22 +03:00
Alexander Gorshenev
e9720b7e13
Allow including external binaries within klibs with -includeBinary flag.
...
Link such binaries in case they are javascripts on wasm32.
Otherwise don't do anything useful yet.
2017-09-13 12:23:49 +03:00
Ilya Matveev
f68380c2d2
CLI: Add --check_dependencies flag
2017-09-01 11:38:25 +07:00
Ilya Matveev
7116801dc6
dependencies: Track downloading in a separate thread
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
Nikolay Igotti
87f2bed5c8
Move Kotlin version to 1.1.4, fix some warnings. ( #802 )
2017-08-22 14:50:05 +03:00
Vasily Levchenko
a24c5232cd
[kotlin compiler][update] 1.1-20170809.024631-765
2017-08-10 06:19:51 +03:00
Vasily Levchenko
d0ec24a5f2
[kotlin compiler][update] 1.1-20170729.003925-731
2017-07-31 12:56:29 +03:00
Alexander Gorshenev
cd9d0ab768
Warn on duplicate library inclusion.
2017-07-12 14:45:29 +03:00
Alexander Gorshenev
5effdcb1d2
Pass linkerOpts from .def to klib manifest.
2017-07-04 17:58:30 +03:00
Alexander Gorshenev
edde21827c
A little bit more of utils abstracting us from java api.
2017-07-04 17:58:30 +03:00
Alexander Gorshenev
fb20eb9a37
Produce a message and a non-zero exit code if no source argumens have been provided.
2017-06-20 20:00:08 +03:00
alexander-gorshenev
d3c24bb387
Different extensions (and KonanTarget communalization). ( #665 )
2017-06-19 12:45:57 +03:00
vvlevchenko
00dc4524ca
[Kotlin compiler][update] 1.1.4-dev-600 ( #639 )
2017-06-06 21:56:31 +03:00
Alexander Gorshenev
5192bd1313
Entry point selection.
...
$ kotlinc -entry foo.bar.qux ...
selects `qux(args: Array<String>):Unit` in the package `foo.bar` as an entry point.
The short flag is `-e`.
2017-06-05 20:56:10 +03:00
Alexander Gorshenev
f9d0d6d563
Converted K2NativeCompilerArguments from Java to Kotlin.
2017-06-01 23:37:22 +03:00
Nikolay Igotti
79588716d6
Fix build
2017-05-29 15:42:11 +03:00
Nikolay Igotti
ff8bce79d5
Uniform compiler/linker options treatment ( #614 )
2017-05-29 15:37:15 +03:00
Alexander Gorshenev
c9ce175224
A bit simple file name suffix management.
2017-05-29 15:01:42 +03:00
Alexander Gorshenev
1970af042f
Introduce '-p' as a short name for '-produce'.
...
-p program // The default.
-p library
-p bitcode
2017-05-29 15:01:42 +03:00
Alexander Gorshenev
380010d1ee
-produce program|library|bitcode
...
'program' makes a kexe.
'library' makes a klib.
'bitcode' makes just a bare bitcode file.
The default is 'program'.
2017-05-29 15:01:42 +03:00
Alexander Gorshenev
34491cfb01
Lexically sort compiler option definitions.
2017-05-29 15:01:42 +03:00
Nikolay Igotti
42197a2bec
Android NDK support and build system refactoring ( #585 )
2017-05-24 00:20:19 +03:00
Alexander Gorshenev
48742b7f3f
Library search path resolution.
2017-05-23 16:40:48 +03:00
Alexander Gorshenev
3b5ce031f8
Initial checkin of klib support.
...
The libraries exist in two incarnations:
packed foo.klib and unpacked foo/ .
The compiler when given '-library foo' expects to find either
a foo.klib file and unpack it, or an already unpacked foo/ directory.
The stdlib is always unpacked in dist/klib .
The semantics of -o has changed slightly.
It now accepts '-o foo' and the compiler
either produces foo.kexe or foo.klib .
2017-05-18 04:13:35 +03:00
Igor Chevdar
8f53018653
Disabled warning that coroutines are experimental
2017-05-11 12:51:05 +03:00
Ilya Matveev
adb6e17b60
backend: Implement executableScriptFileName method in K2Native
2017-05-03 22:06:26 +07:00
Vasily Levchenko
92964e1eae
kotlin-compiler:1.1-20170424.172927-491
2017-04-24 22:35:39 +03:00
Vasily Levchenko
7e9a01b6ba
DRIVER: added '-g' key to enable emitting debug information
2017-04-19 09:52:05 +03:00