Commit Graph

209 Commits

Author SHA1 Message Date
Alexander Gorshenev df02804be1 Splitted library writer into kotlin and konan parts
Moved to util-io and util-klib for klib code commonization
Moved the common writer to Kotlin workspace
2019-06-04 20:12:19 +03:00
Ilya Matveev fb69d9284f Split shared: Add dependency on kotlin-native-utils
Gradle build can be configured but building dist
requires updating code in accordance with changes
made in the big Kotlin.
2019-05-30 19:48:50 +03:00
Ilya Matveev 1c2e324ad9 Split shared: Use KonanVersion in the generated version 2019-05-30 19:48:50 +03:00
Ilya Matveev a89bfba751 Split shared: Remove code copied to kotlin-native-utils 2019-05-30 19:48:50 +03:00
Ilya Matveev 873b40be80 Split shared: Merge TargetDefFile.kt and DefFile.kt 2019-05-30 19:48:50 +03:00
Ilya Matveev 01b1734177 Split shared: Remove Helper0
Reason: not used.
2019-05-30 19:48:50 +03:00
Ilya Matveev 54f896ed2e Split shared: Remove VisibleNamed
Reason: already included in kotlin-native-utils
2019-05-30 19:48:50 +03:00
Sergey Bogolepov 4b5429c2aa Use clang for android, linux and mingw targets (#13) 2019-05-30 19:48:50 +03:00
Sergey Bogolepov f5cad39065 Fix path to xcode additionalTools (#21) 2019-05-30 19:48:50 +03:00
Alexander Gorshenev c4e7a704be Allow dummy logger to produce messages with just printlns 2019-05-30 19:48:50 +03:00
Alexander Gorshenev 3680ba30d3 Extended logger capabilities 2019-05-30 19:48:50 +03:00
Sergey Bogolepov 7cfdf3d0be Add xcode-addon to the list of internal dependencies. (#16) 2019-05-30 19:48:50 +03:00
Elena Lepilkina 950d677053 Incrementr Konan ABI version 2019-05-30 19:48:50 +03:00
Sergey Bogolepov 2d6f3e9d3f Fix Android configurables (#15) 2019-05-30 19:48:50 +03:00
Alexander Gorshenev 48c570fd5d KonanAbiVersion is 9 now 2019-05-30 19:48:50 +03:00
Sergey Bogolepov c6f06ef51e Make Configurables more flexible (#9)
* Separated CLI tools into interfaces.
* Added `additionalToolsDir ` to `AppleConfigurables`
2019-05-30 19:48:50 +03:00
Dmitriy Dolovov 5503b12a17 Add filtering for standard KLIBs 2019-05-30 19:48:50 +03:00
Nikolay Igotti c3638e48dc Support linux/arm64. 2019-05-30 19:48:50 +03:00
Ilya Matveev e2f6cba307 Add a method to obtain MPP preset name for KonanTarget 2019-05-30 19:48:50 +03:00
Ilya Matveev cca3ad3faa Host manager: Provide API to obtain supported targets by host 2019-05-30 19:48:50 +03:00
Alexander Gorshenev 77b4beb88a .deleteOnExit() only deletes directories if they are empty. So mark the files with .deleteOnExit also. 2019-05-30 19:48:50 +03:00
LepilkinaElena e3d9169d25 Fix reading manifest properties got from def file (#7) 2019-05-30 19:48:50 +03:00
LepilkinaElena a6cb5e408a Rework cinterop linkerOpts/compilerOpts (KT-29970) (#5) 2019-05-30 19:48:50 +03:00
Nikolay Igotti 6b6c5b82d2 Avoid enforcing XCode version is shared code. 2019-05-30 19:48:50 +03:00
Ilya Matveev 6a770bc12c Split shared: Get rid of compiler version in resolvers
Needed to apply patches from the detached shared
2019-05-30 19:48:50 +03:00
Ilya Matveev 5745b31853 Revert "Depend on kotlin-native-shared from a separate repo"
This reverts commit a2370920db.
2019-05-30 19:48:50 +03:00
Ilya Matveev e6cf9f0d1d Add a fake project shared to workaround CI crash
TeamCity runs :shared:clean as a first step of the build process.
But now shared is removed from K/N and CI crashes on this step.
At the same time we need this step to build branches with undetached
shared. This patch adds an empty project to workaround this crash.

TODO: Remove this build step and revert this patch when shared
detaching is merged.
2019-03-14 21:51:46 +07:00
Ilya Matveev a2370920db Depend on kotlin-native-shared from a separate repo
Kotlin-native-shared was copied in a separate repository.
This patch removes this subproject from the K/N repo and
adds a dependency on an artifact built from this separate repo.
2019-03-14 21:51:46 +07:00
Sergey Bogolepov b22404c947 Infrastructure for source-based code coverage 2019-03-12 13:16:17 +07:00
Nikolay Igotti 9ded272398 Add Platform detection support. (#2737) 2019-03-05 22:08:00 +03:00
Ilya Matveev 33976e0172 Remove -nostdinc compiler arg added by Gradle by default 2019-02-22 14:57:10 +03:00
Igor Chevdar 53380aa4dd Bumped ABI version 2019-02-21 09:38:24 +05:00
Igor Chevdar e3efd75e55 Implemented code generation of combined IR of all libraries 2019-02-20 22:58:08 +05:00
Nikolay Igotti 554348ace6 Fix typo. 2019-02-19 16:13:23 +03:00
Nikolay Igotti bf7040a119 Support experimental targets. (#2681) 2019-02-19 14:23:00 +03:00
LanderlYoung 8d8a89700f Delete dependency archive after extraction (#2670)
* Delete dependency archive after extraction.
* Add flag to control deleteArchives behavior.
2019-02-18 11:46:24 +03:00
Pavel Punegov 309ecbb696 Use konan.home as compiler system property, kotlin.native.home as a gradle only property 2019-02-14 19:34:53 +03:00
Mike Sinkovsky e1d2f783fe mingw_x86 target 2019-02-14 16:48:56 +07:00
Pavel Punegov 9c3a1332d5 Replace deprecated konan.home with org.jetbrains.kotlin.native.home 2019-02-13 17:06:10 +03:00
Nikolay Igotti ca405e0344 More targets with unaligned access. 2019-02-13 15:26:03 +03:00
Nikolay Igotti 5c994265cd Fix typed array access for platforms not allowing unaligned access. 2019-02-13 15:26:03 +03:00
Nikolay Igotti 1a43a2a862 Replace atomic 64-bit operations with spinlock protected operations on ios_arm32. (#2647) 2019-02-12 15:49:03 +03:00
SvyatoslavScherbina 9955b2cbf1 Write Kotlin uncaught exception stacktrace to iOS crash log (#2645) 2019-02-12 11:09:28 +03:00
Nikolay Igotti 2d882d1b6c Rework default JVM arguments. (#2633) 2019-02-07 13:08:49 +03:00
Nikolay Igotti fd9321d2bd Support compilation to Android arm32 from Windows hosts. (#2623) 2019-02-05 08:11:38 +03:00
Nikolay Igotti c1fa7f0f79 Combine all IR files to a single mmaped file with an index. (#2620) 2019-02-04 18:30:38 +03:00
Svyatoslav Scherbina 1f60745f4b Support importing modules in cinterop
Modules can be imported by using 'modules =' in .def file
2019-02-04 12:36:47 +03:00
Alexander Gorshenev a9176c736b Bump Abi version for IR based libraries. 2019-01-30 01:32:40 +03:00
Nikolay Igotti 59ae74200f Support Linux x64 and RaspberryPi cross-compilation on Windows and macOS hosts. (#2575) 2019-01-25 19:22:22 +03:00
Alexander Gorshenev 8067ab7034 Allow libraries to have empty ir/ component. 2019-01-25 19:21:30 +03:00