Commit Graph

63 Commits

Author SHA1 Message Date
SvyatoslavScherbina dd161d614a Fix some FP operations on x86 targets under -opt
#KT-37412 Fixed
2020-04-10 12:56:53 +03:00
Svyatoslav Scherbina cc5111b9e8 Update to Xcode 11.4 2020-04-07 10:59:58 +03:00
Sergey Bogolepov 2e09de854a [Configurables] Remove unused entities 2020-04-03 13:31:09 +07:00
Sergey Bogolepov 38380f0686 Add task that makes LLVM dependency smaller
Currently Kotlin/Native uses default LLVM distribution.
While it is useful to have whole LLVM toolchain for development,
it is huge pain for users, because dependency is needlessly big.

The correct solution for this problem is to make own build script for LLVM,
but it is a big task that make take a while.

So for now we repack LLVM dependency without unnecessary files.
2020-03-03 11:28:59 +07:00
Dmitriy Dolovov b05ddd4b4a Keep Kotlin/Native version in konan/konan.properties file 2020-01-23 15:55:40 +07:00
Nikolay Igotti ec6fa2dcd5 Fix C++ ABI libraries on Android. (#3599) 2019-11-21 14:03:10 +03:00
Sergey Bogolepov 767515cdcc [WebAssembly][Zephyr] Update target sysroot with fixes for size_t type on Zephyr. 2019-10-31 16:37:27 +07:00
Sergey Bogolepov eb0e6a8f11 [zephyr] Update zephyr configurables file and fix sample. 2019-10-31 16:37:27 +07:00
Sergey Bogolepov dc14efebdd [WebAssembly] Get rid of legacy compilation pipeline. 2019-10-31 16:37:27 +07:00
Ilya Matveev 7c3e0bb801 Add Xcode version check 2019-10-24 12:15:04 +03:00
SvyatoslavScherbina 45914cf4ec Make relevant SDK versions correspond to Xcode's bundled SDKs (#3406)
May be important when uploading to App Store.
2019-10-02 12:48:36 +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
Kirill Shmakov cf64202c18 Update lldb version 2019-10-01 17:39:26 +03:00
Vladimir Ivanov 44e04f886f Use export-dynamic with wasm-ld (#3394) 2019-09-30 16:20:48 +03:00
Nikolay Igotti 3b36537dc9 Proper Android linker flags. 2019-09-30 14:49:00 +03:00
Sergey Bogolepov aaf17d6679 [LLVM][mingw_x86] LLVM 6.0.1 -> LLVM 8.0.1 2019-09-27 16:45:00 +03:00
Nikolay Igotti 0123dc955a Update to XCode 11. (#3375) 2019-09-27 14:18:59 +03:00
Sergey Bogolepov 5b2cc6f39c [tvos_arm64][ios_arm64][codegen] Use SelectionDAG for -g builds
because fast instruction selector miscompiles sign extensions.
2019-09-19 14:09:35 +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
Sergey Bogolepov 7844dc5228 Add "_main" as alias to "Konan_main" via LLVMAddAlias 2019-09-07 11:30:38 +07:00
Nikolay Igotti 58bb4e698b Support Android x86. (#3314) 2019-09-05 11:36:07 +03:00
Nikolay Igotti 66b813a6a2 Refactor Android, android_x64 support. (#3306) 2019-09-04 14:50:14 +03:00
Sergey Bogolepov 23c1c3c293 [targets] Pick target CPU in LLVM optimization pipeline based on runtime.bc 2019-07-18 15:57:02 +07:00
Kirill Shmakov cb45308af9 Synchronized versioning 2019-07-12 08:33:47 +03:00
Kirill Shmakov 2b3a7ffe7b Remove file extension 2019-07-11 15:21:55 +03:00
Kirill Shmakov f3a382044a Add lldb as dependency 2019-07-11 14:39:38 +03:00
Sergey Bogolepov 970f2a98f9 Use clang codegen for android, linux, mingw. 2019-05-27 12:02:45 +03:00
Sergey Bogolepov f78a54aed8 Fix arm builds 2019-05-21 15:36:19 +03:00
Sergey Bogolepov ce19014903 Update mingw LLVM toolchain version 2019-05-21 15:36:19 +03:00
Sergey Bogolepov 9d207ed7b7 Remove unnecessary macos dependency (#2977) 2019-05-15 15:23:27 +07:00
Sergey Bogolepov 5306d7b427 Use clang instead if llvm-lto for darwin-based targets (#2974)
* Use LLVM C API for optimizations
* Use Clang for bitcode compilation
* Test bitcode embedding
2019-05-15 13:00:43 +07:00
Nikolay Igotti f508ac3a37 Switch to older x86 CPU in Windows x86 codegenerator. 2019-05-13 16:20:47 +02:00
Pavel Punegov 7233df1582 Update sdk version for ios targets (#2935) 2019-05-05 23:04:18 -07:00
Nikolay Igotti fe78fad45d Support linux/arm64 targets. 2019-04-26 18:13:17 +03:00
Nikolay Igotti 248414a1c2 Add platform zlib for Linux arm32. (#2903) 2019-04-22 15:49:32 +03:00
Nikolay Igotti fd4adaaeaf Pass CPU information to codegenerator, to fix mingw_x86 opt. (#2870) 2019-04-16 08:29:51 +03:00
Nikolay Igotti dde8e77161 Enforce CPU so that LLVM can cross-inline Kotlin and clang bitcode (#2856) 2019-04-09 22:00:05 +02:00
Nikolay Igotti 19310d84c6 Update XCode to 10.2. (#2825) 2019-03-28 14:26:29 +03:00
Nikolay Igotti bf7040a119 Support experimental targets. (#2681) 2019-02-19 14:23:00 +03:00
Sergey Bogolepov dddb55d777 Update mingw_x86 toolchain version and add missing macros to mingw/posix.def 2019-02-14 16:48:56 +07:00
Mike Sinkovsky e1d2f783fe mingw_x86 target 2019-02-14 16:48:56 +07:00
Nikolay Igotti fd9321d2bd Support compilation to Android arm32 from Windows hosts. (#2623) 2019-02-05 08:11:38 +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
Nikolay Igotti 50376a0975 Add compiler_rt to linking flags on Apple platforms. (#2557)
* Add compiler_rt to linking flags on Apple platforms.

* Review feedback.
2019-01-20 11:44:06 +03:00
Svyatoslav Scherbina 6ca196399a Implement C stubs generation in compiler
Use it in
* C varargs support (thus dropping libffi from runtime)
* C callbacks support (thus enabling callbacks with structs)
2019-01-18 11:06:23 +03:00
SvyatoslavScherbina 7e55575fbf Use dlopen/dlsym for CoreSymbolication (#2542)
Linking it directly seems to be inconvenient when producing static lib
2019-01-17 11:10:07 +03:00
SvyatoslavScherbina cfd6b80e6a Add line numbers to stacktraces in macos_x64/ios_x64 debug binaries (#2489) 2018-12-24 17:05:27 +03:00
Nikolay Igotti 9c8b85af5d Xcode 10.1 (#2286)
* Update to XCode 10.1.

* Bump ABI version.
2018-11-01 11:54:54 +03:00
Nikolay Igotti 0681c6ce5f Fix ability of building MIPS shared objects after migration to lld. (#2266) 2018-10-27 11:22:06 +03:00