Commit Graph

2731 Commits

Author SHA1 Message Date
Ilya Matveev 7ec167b5ca gradle-plugin: Allow 'manual' dependency downloading
This patch adds an ability to download native dependencies
(clang, sysroots etc) during execution of the `downloadKonanCompiler`
task. The feature can by enabled by setting the
`downloadDependencies` property of the `downloadKonanCompiler` task
to true. Targets for these dependencies may be specified as a string
list using `targets` property of the `downloadKonanCompiler` task.
2017-09-01 11:38:25 +07:00
Ilya Matveev 68d0c9987b samples, concurrent: Download dependencies before building 2017-09-01 11:38:25 +07:00
Ilya Matveev f68380c2d2 CLI: Add --check_dependencies flag 2017-09-01 11:38:25 +07:00
KonstantinAnisimov 7782195201 Memory statistic (#817) 2017-08-31 18:54:05 +03:00
Igor Chevdar 19461d8143 Removed/cached some reflection calls 2017-08-31 15:34:37 +03:00
Igor Chevdar 2b00850164 Made NativePointed an abstract class instead of interface 2017-08-31 15:34:37 +03:00
Igor Chevdar c4fefcd462 Fixes in escape analysis 2017-08-30 13:55:01 +03:00
Ilya Matveev 98fe7995bb gradle-plugin: Don't use Project.getTasksByName method
Call of Project.getTasksByName in KonanPluing.apply causes subproject
evaluation. So in such a build script the plugin 'foo' will not be
applied to the subprojects:

subprojects {
    apply 'konan'
    apply 'foo'
}

This patch uses methods available via Project.tasks property to
work with tasks without causing subproject evaluation.

Related issue: KT-19916
2017-08-30 15:55:15 +07:00
Alexander Gorshenev 7aa6977ea6 Minor launcher changes to run in the browser. 2017-08-29 18:27:47 +03:00
Vasily Levchenko d488e35219 [upload]: make bintray load several artifacts 2017-08-29 16:48:38 +03:00
Vasily Levchenko 403c774688 [performance] compilation and execution with kotlin native and jvm, comparing results 2017-08-29 16:48:38 +03:00
Igor Chevdar 136c62a62c Added test on workers with invalid transfer attempt 2017-08-29 16:39:49 +03:00
Igor Chevdar 8605c01255 Implemented workers TODO about subrgaph transfer
Implemented check that subgraph of objects can be safely transferred
from one worker to another by running trial deletion on the subgraph.
2017-08-29 16:39:49 +03:00
Nikolay Igotti f74265126e Fix performance bug, review feedback on indexer changes (#818) 2017-08-29 16:12:44 +03:00
Nikolay Igotti 2aa077e542 Generate Windows platform headers 2017-08-29 14:07:26 +03:00
Nikolay Igotti 7d72beb27c Improve memory tracing, fix 32-bit platforms (#815) 2017-08-29 10:21:47 +03:00
Igor Chevdar 1d434899cb Fixed bug with globals deinitialization 2017-08-28 14:51:14 +05:00
Vasily Levchenko 9fdf30fc66 [kotlin compiler][update] 1.1-20170826.093556-820 2017-08-28 10:18:28 +03:00
Ilya Matveev f218d36aa9 build: Fix javaArgs in stdlib build 2017-08-28 10:55:53 +07:00
igotti-google 7fadfa5a0c Fix type in conversion to ByteArray 2017-08-26 11:50:10 +03:00
Igor Chevdar 7e666f2d90 Implemented Bacon's algorithm for cycle collection 2017-08-24 19:48:55 +05:00
Igor Chevdar 3522627ce3 Added FrameOverlay struct 2017-08-24 19:48:55 +05:00
igotti-google 5c5365b261 Fix couple typos. 2017-08-24 16:48:15 +03:00
Nikolay Igotti 69bf28cc23 v0.3.1 preparations. (#806) 2017-08-24 15:03:19 +03:00
Ilya Matveev 8957320504 gradle-plugin: Allow compile time measurement 2017-08-24 17:51:41 +07:00
Ilya Matveev d2c8fd18e9 gradle-plugin: Allow passing additional command line options 2017-08-24 17:51:41 +07:00
Nikolay Igotti 87a4fa9380 Platform libs definitions for Android, small interop tweaks. (#804) 2017-08-23 16:47:19 +03:00
Ilya Matveev 9667749b4e [SQUASHME] Fix run_konan.bat 2017-08-23 19:42:06 +07:00
Ilya Matveev ef9ecf6bde dependencies: Check if a server support resuming downloading 2017-08-23 19:42:06 +07:00
Ilya Matveev d2c3e320c6 [SQUASHME] Review fixes 2017-08-23 19:42:06 +07:00
Ilya Matveev 7116801dc6 dependencies: Track downloading in a separate thread 2017-08-23 19:42:06 +07:00
Ilya Matveev 24a87415d7 dependencies: Use HTTPS for bintray repo 2017-08-23 19:42:06 +07:00
Ilya Matveev b6544dbde8 dependencies: Implement resuming downloading 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
Vasily Levchenko de8cc297f2 [dist] include in dist helper lldb sctipt 2017-08-22 21:12:34 +03:00
Vasily Levchenko b1cf02d5e4 [doc][debug] variable inspection intructions 2017-08-22 21:12:34 +03:00
Nikolay Igotti 109f84f9af Immutable data prototype. (#799) 2017-08-22 16:21:10 +03:00
Nikolay Igotti 87f2bed5c8 Move Kotlin version to 1.1.4, fix some warnings. (#802) 2017-08-22 14:50:05 +03:00
Nikolay Igotti 9402a9c6a2 Finalizer queue (#801) 2017-08-21 18:57:46 +03:00
Vasily Levchenko 30c1b4d6d5 [kotlin compiler][update] 1.1-20170818.205557-805 2017-08-21 13:45:28 +03:00
Konstantin Anisimov f2921b0dcc OctoTest benchmark inserted in testsuite 2017-08-21 09:44:36 +07:00
Svyatoslav Scherbina 99dd7227dc Support Boolean in interop varargs and function pointers invocation 2017-08-18 17:45:41 +03:00
Svyatoslav Scherbina 571fe47571 Improve csvparser sample def file:
* Do not use experimental feature `excludeDependentModules`
* Enable `-D_ANSI_SOURCE` cflag to get rid of manual function exclusion
2017-08-18 17:45:41 +03:00
Svyatoslav Scherbina 5586d29764 Add basic support for calling C function pointers
Fix #739
2017-08-18 17:45:41 +03:00
Ilya Matveev c848ee519d gradle-plugin, readme: Use relative links 2017-08-18 17:41:34 +07:00
Ilya Matveev 350ce9a2a6 gradle-plugin: Don't use afterEvaluate to configure tasks
Gradle plugin used afterEvaluate method to configure default
parameters for tasks. This behavior might lead to problems if
user also uses the afterEvaluate hook. This patch moves the
default setting logic into the tasks. The following actions
have been removed from the afterEvaluate hook:
  * Setting default source directories for KonanCompileTask
  * Setting default def-file for KonanInteropTask
2017-08-18 17:41:34 +07:00
Ilya Matveev 4c52639ee7 gradle-plugin: Accept Any instead of Task in ...Config.dependsOn 2017-08-18 17:41:34 +07:00
Ilya Matveev ad0c44d097 gradle-plugin, readme: Add links 2017-08-18 17:41:34 +07:00
Ilya Matveev 80dcd012e4 gradle-plugin, tests: Fix useInterop test for Windows 2017-08-18 17:41:34 +07:00