Commit Graph

244 Commits

Author SHA1 Message Date
Vasily Levchenko 76c91c589f [build][collision] added META-INF/kotlin-native-utils.kotlin_module 2020-04-02 09:29:38 +02:00
Dmitriy Dolovov d3c175a152 Don't include kotlin-native-utils.jar into fat kotlin-native.jar
(cherry picked from commit c23811b602a5889afa673728eadec570a1ff7566)
2020-04-02 09:29:38 +02:00
Alexander Udalov 8f9c34c646 Add new compiler modules to detectJarCollision exclusion
(cherry picked from commit de9d43770aa4868e32be9a9c901f66aad319c393)
2020-03-30 16:06:39 +02:00
Nikolay Krasko d9fa01d3b7 Fix collision error after raw-fir:common -> raw-fir:fir-common rename 2020-03-28 20:42:55 +07:00
Pavel Punegov 712d6d90fb Add common and light-tree2fir modules to collision detector ignore 2020-03-28 20:42:55 +07:00
Dmitriy Dolovov 88a65e3205 Drop extracted/konan.serializer module 2020-03-27 12:44:09 +07:00
Dmitriy Dolovov bbc979fce0 Drop extracted/konan.metadata module 2020-03-27 12:44:09 +07:00
Ilya Matveev 3334b9b3ad [Platform libs] Store def files in distribution on per-target basis 2020-03-26 17:00:47 +07:00
Pavel Punegov c3a4867eeb Add checkers to class collision ignores
(cherry picked from commit 23dc77402427c2e38247ee25ade406f722d3942d)
2020-03-23 13:44:12 +01:00
Vyacheslav Gerasimov bbfde042e9 Add compiler.version to libraries with ignored class collisions (#3945)
(cherry picked from commit ad8aa9b1b116584fd4b85438a52527d50443acd9)
2020-03-12 13:42:05 +01:00
Elena Lepilkina 3546ad5e72 Added one more resolving rules for composite build
(cherry picked from commit 9664abc05c1b7c2480935527a7c1e2c740d12028)
2020-03-12 13:42:05 +01:00
Ilya Matveev be8622053e build: Build stdlib cache as a part of dist/cross_dist 2020-03-06 13:24:20 +07:00
Ilya Matveev 764be2f461 Add prebuilt distribution type
Since platform libraries can now be generated at the use side,
we need to:

a) remove them from a default distribution
b) drop the restricted distribution

But we still need a distribution with prebuilt libraries to be
able to workaround problems with platform libraries generator.

This patch removes libraries from a default distribution and
adds a distribution type with pretuilt libraries.
2020-03-06 13:24:20 +07:00
Ilya Matveev 3af8564bf6 Platform libs: Improve library generator
- Support concurrent execution
- Provide default values for parameter
- Skip existing libraries/caches
- Improve logging
2020-03-06 13:24:20 +07:00
Vasily Levchenko a3fdca0ea3 Revert "[stdlib][common][coroutines][experimental] support of extracted old experimental coroutines code"
This reverts commit 0ffcfa4ef1.
2020-02-07 07:07:30 +01:00
Vasily Levchenko acfc759b89 [build][colision detection] another bunch of conflicts 2020-02-05 14:30:36 +01:00
Vasily Levchenko 0ffcfa4ef1 [stdlib][common][coroutines][experimental] support of extracted old experimental coroutines code
see b5a0daabc3
2020-02-05 14:30:36 +01:00
Pavel Punegov 59e71018da Remove defaultTasks to fix IDEA-231214 issue that make these tasks be build during project import 2020-01-29 19:37:27 +03:00
Alexander Gorshenev 19e706b1a3 Properly construct stdlib with components.
(cherry picked from commit 49ac790fcf1fc4dd590f79d1b591e7599f3c0ca3)
2020-01-28 20:11:28 +01:00
Alexander Gorshenev b4882103bc Initial implementation of klib components.
(cherry picked from commit e1db35b825dabc5eb8f48a24fe6a46b0a0e87714)
2020-01-28 20:11:28 +01:00
Dmitriy Dolovov b05ddd4b4a Keep Kotlin/Native version in konan/konan.properties file 2020-01-23 15:55:40 +07:00
Ilya Matveev 86643c7396 Exclude Xcode license from the restricted build
Also fix excluding cache files.
2020-01-18 12:17:27 +07:00
Ilya Gorbunov 3363c95c23 Do not use zipTree in CollisionDetector task
This avoids unpacking all the dependency jars and significantly speeds up the task.
2020-01-09 23:48:20 +03:00
LepilkinaElena 9ab9716a2f Composite build. One more jar added in the latest changes in Kotlin (#3736) 2019-12-30 12:21:35 +03:00
Ilya Matveev 653fb865c2 Build: Don't generate caches for iOS devices 2019-12-26 18:02:41 +07:00
Ilya Matveev b78c7b5f4e Don't include platform lib caches into the restricted distribution 2019-12-21 18:11:31 +03:00
Ilya Matveev 33774cbf77 Platform libs: Generate static cache
The following targets are supported:
macos_x64
ios_x64
ios_arm64
ios_arm32
2019-12-20 18:27:02 +03:00
Sergey Bogolepov 2e22d5a389 [Interop] Add dependency on kotlinx-metadata-klib 2019-12-03 17:23:39 +07:00
Pavel Punegov f36a066f4d Exclude lightTree from collision detection
(cherry picked from commit a9fb40dcd5774ba5d26d98cb0680d0f76ba51b15)
2019-12-02 15:23:00 +01:00
Alexander Gorshenev fcba683e72 A native counterpart for plubing metadata and ir versions to klib manifest
(cherry picked from commit 06a515393df6c1c071a551353a2a82fd2252a24c)
2019-12-02 15:23:00 +01:00
Georgy Bronnikov 40715826ad Adapt to change in ExternalDependenciesGenerator 2019-11-28 10:24:15 +03:00
Ilya Matveev 750b62b112 Update Gradle: 6.0.1 2019-11-28 12:20:29 +07:00
Nikolay Igotti 296d4e72e8 Restricted build fixes. 2019-11-12 01:17:19 +03:00
Nikolay Igotti 9011151186 Typo in restricted exclude. 2019-11-08 22:26:43 +03:00
Nikolay Igotti d138ad1a0d Properly ignore targets in restricted build. (#3559) 2019-11-08 19:37:26 +03:00
Nikolay Igotti ff05a7d85a https://github.com/JetBrains/kotlin-native/pull/3538 followup. (#3547) 2019-11-07 10:13:11 +03:00
Ilya Matveev 7e52c96f2f build: Add Xcode version check (#3543) 2019-11-07 12:19:40 +07:00
Nikolay Igotti e9a2319f13 User-side library generator. (#3538) 2019-11-04 15:13:27 +03:00
Nikolay Krasko 9afc58b57e Reconfigure kotlin native override pusher to internal teamcity 2019-11-01 17:25:26 +01:00
Nikolay Krasko caa6ed0d53 More parameters for KotlinBuildPusher 2019-11-01 17:25:26 +01:00
LepilkinaElena e21ab4f1e7 Creating fat jar with shadow plugin and collisions detector (#3466) 2019-10-21 12:32:06 +03:00
LepilkinaElena ee391191ed Fix bundle build (#3455) 2019-10-11 13:25:41 +03:00
LepilkinaElena 5072cb63d3 Merge all jars with compiler dependencies in one (#3448) 2019-10-10 12:44:39 +03:00
Sergey Bogolepov 912a889b68 [coverage] Initial infrastructure for testing -Xcoverage flag (#3429) 2019-10-08 23:03:35 +03:00
Alexander Gorshenev 445eedd378 Changed KonanProtoBuf to KlibMetadataProtoBuf 2019-10-02 12:39:07 +03:00
LepilkinaElena d201beaf27 Zipping sources of endorsed libraries for IDE (#3408) 2019-10-02 12:22:00 +03:00
LepilkinaElena 8e0e346492 CLI library rework (#3215) 2019-09-06 17:49:12 +03:00
Vasily Levchenko bc1b67678e [REVERTME] filtering out ANDROID_X64, WATCHOS_{X64,ARM64}, TVOS_{X64,ARM64} from enabled platform till their full support 2019-08-27 11:18:44 +03:00
LepilkinaElena 3c2a5b0392 New CLI tool (#3085) 2019-07-22 15:55:38 +03:00
Ilya Matveev 6d4e3c3f76 Update Gradle: 5.5 2019-07-10 15:29:45 +07:00