Commit Graph

233 Commits

Author SHA1 Message Date
Ilya Matveev 7c3e0bb801 Add Xcode version check 2019-10-24 12:15:04 +03:00
Alexander Gorshenev 6c60951bd8 Soveral additional library resolver tweaks 2019-10-14 17:15:39 +03:00
Alexander Gorshenev c59896b6d1 Moved library resolver with attributes to Kotlin.
Introduced a hierarchy of resolvers.
2019-10-14 17:15:39 +03:00
Sergey Bogolepov 496ebbe2a8 Move KonanLibraryWriter and its friends to the shared package. 2019-10-11 09:52:53 +03:00
Sergey Bogolepov 8cf66bb02e [KT-34182][watchOS] Use dsymutil from Xcode because version from
LLVM distribution doesn't support arm64_32.
2019-10-04 13:59:36 +03:00
Sergey Bogolepov 8622eb3be4 [Coverage]Enable code coverage for linux_x64 and mingw_x64 2019-10-03 17:20:28 +03:00
Alexander Gorshenev 445eedd378 Changed KonanProtoBuf to KlibMetadataProtoBuf 2019-10-02 12:39:07 +03:00
Sergey Bogolepov 592f31a969 [watchOS] Add support of watch_arm64 target. (#3404)
* [watchOS] Add support of watch_arm64 target.
Since there is no support of `arm64_32` in LLVM 8
we compile bitcode that was generated for `watchos_arm32` to `arm64_32-apple-watchos`.
2019-10-01 19:03:45 +03:00
Nikolay Igotti 0123dc955a Update to XCode 11. (#3375) 2019-09-27 14:18:59 +03:00
Mike Sinkovsky 392381c9ff Android linker fix (#3358) 2019-09-18 17:28:46 +03:00
Sergey Bogolepov d2a213ffca [watchOS][tvOS] Add Platform.TVOS and Platform.WATCHOS 2019-09-16 15:06:09 +07:00
Sergey Bogolepov bcaf986e3a [watchOS][targets] Add support for 32bit Apple Watch. 2019-09-16 15:06:09 +07:00
Sergey Bogolepov 237b7ef182 Preliminary tvOS support. 2019-09-07 12:48:45 +07:00
LepilkinaElena 8e0e346492 CLI library rework (#3215) 2019-09-06 17:49:12 +03:00
Nikolay Igotti 58bb4e698b Support Android x86. (#3314) 2019-09-05 11:36:07 +03:00
Vasily Levchenko e44d7706dc [REVERTME] filtering out ANDROID_{X86,ARM32}, WATCHOS_{X86,ARM32} from enabled platform till their full support
see details in bc1b67678e
2019-09-05 10:40:00 +03:00
Roman Artemev d928eabeb1 [IR SERIALIZATION] Support new deserializer scheme
(cherry picked from commit a4f7260ce49ed102be6006cfaf574e2a154875d9)
2019-09-05 10:40:00 +03:00
Nikolay Igotti 66b813a6a2 Refactor Android, android_x64 support. (#3306) 2019-09-04 14:50:14 +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
SvyatoslavScherbina 5cb8d97e2a Support -Xg0 compiler flag (#3154)
Enables generation of partial debug information
(e.g. useful for crash reports symbolication).

Supposed to avoid affecting '-opt' optimization quality.
2019-08-01 12:24:49 +03:00
LepilkinaElena 3c2a5b0392 New CLI tool (#3085) 2019-07-22 15:55:38 +03:00
Ilya Matveev ff7a0e23bf Don't pass current version to library resolvers as a compatible one 2019-06-20 10:28:40 +07:00
SvyatoslavScherbina 7c881e3bef Avoid using internal server DNS-based heuristic by default (#3045) 2019-06-14 15:34:51 +03:00
Alexander Gorshenev da11ab8ce3 Got rid of delegation in library impl hierarchy 2019-06-13 18:09:33 +03:00
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