Vladimir Sukharev
45de88abae
[K/N][KT-39120] Build platform libraries with -fmodules
...
Merge-request: KT-MR-8175
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-01-13 07:33:42 +00:00
Sergey Bogolepov
c465d8248c
[K/N] Update macOS SDK to Xcode 14.1
2022-11-17 17:37:13 +00:00
Sergey Bogolepov
719bc025f1
[K/N] Fix platform libs for macOS 14.1 SDK.
...
Apply the same CFCGTypes.def hack as we did for other platforms.
2022-11-17 17:37:12 +00:00
Vladimir Sukharev
f099c190f7
Parallelize platformLibs build on macos_arm64
2022-11-01 15:07:07 +00:00
Sergey Bogolepov
357983389c
[K/N] KT-54164
...
Extract CFBase.h and CFAvailability.h to CoreFoundationBase on macOS
for the sake of unification with *OS. Also, it fixes commonizer.
2022-09-26 14:35:30 +00:00
Nikolay Krasko
1630386712
Move to JDK_X_Y variables
2022-09-21 22:53:19 +00:00
Sergey Bogolepov
0b4a4ca42b
[K/N] AArch64 watchOS target
2022-09-18 08:58:21 +00:00
Sergey Bogolepov
ad9de1f8c4
[K/N]Split CoreFoundationBase and CFCGTypes from CoreFoundation
...
Ugly hack to keep Kotlin ABI of CGPoint and its friends.
In *OS (except macOS) SDKs Apple moved CGPoint and some other
fundamental types from CoreGraphics to CoreFoundation in a way
which breaks ABI for K/N platform libraries. To mitigate this
problem we split CoreFoundation platform library into several
smaller ones.
2022-09-17 07:51:36 +03:00
Sergey Bogolepov
ff526e6c28
[K/N] Move ptrauth.h from CoreFoundation to a more proper namespace
2022-09-17 07:51:36 +03:00
Sergey Bogolepov
9ec8576c5e
[K/N] update iOS platform libs for Xcode 14
2022-09-17 07:51:35 +03:00
Sergey Bogolepov
df48b24631
[K/N] Update watchOS platform libs for Xcode 14
2022-09-17 07:51:35 +03:00
Sergey Bogolepov
176f9335eb
[K/N] Update tvOS platform libs for Xcode 14
2022-09-17 07:51:35 +03:00
Sergey Bogolepov
7f78f806d4
[K/N] update macOS platform libs for Xcode 14
2022-09-17 07:51:35 +03:00
Sergey Bogolepov
5152966aa0
[K/N] KT-39747
...
Add a WinHTTP platform library.
2022-08-19 08:27:26 +00:00
Svyatoslav Scherbina
7470aaf06c
Native build: don't read klib files in KonanCacheTask.cacheFile
...
It is `@OutputDirectory`, so Gradle can invoke it early, even before the
klib itself is built.
Instead of reading `uniqName` from klib files, require specifying it
explicitly.
2022-03-06 12:16:17 +00:00
Sergey Bogolepov
1dd76fa637
[K/N] Re-enable Hypervisor framework
...
^KT-50045
2021-12-24 12:44:36 +00:00
Sergey Bogolepov
2f6b367e25
[K/N] Enable Kernel framework
...
Export only minimal set of headers that is required for Hypervisor.
2021-12-24 12:44:36 +00:00
Sergey Bogolepov
26994817d1
[K/N] Update watchOS platform libraries for Xcode 13.1
2021-12-03 12:46:35 +00:00
Sergey Bogolepov
4bd4ef6fee
[K/N] Update tvOS platform libraries for Xcode 13.1
2021-12-03 12:46:34 +00:00
Sergey Bogolepov
c6574d9d80
[K/N] Update iOS platform libraries for Xcode 13.1
2021-12-03 12:46:34 +00:00
Sergey Bogolepov
5cd3043628
[K/N] Update macOS platform libraries for Xcode 13.1
2021-12-03 12:46:34 +00:00
Sergey Bogolepov
da5c86cc1e
[K/N] Add missing watchos_simulator_arm64 to watchOS set_depends.sh
2021-11-30 13:02:01 +00:00
Pavel Punegov
2bb5a554a8
[K/N][build] Small fix to platformLibs build script
2021-11-11 12:16:27 +00:00
Pavel Punegov
e07fa31784
[K/N][build] Move KLibInstall to Konan gradle plugin
2021-11-11 12:16:26 +00:00
Pavel Punegov
547501865c
[K/N][build] PlatformLibs project small refactorings
2021-11-11 12:16:25 +00:00
Pavel Punegov
0c47ac3cd0
[K/N][build] Rewrite platforms libs to kts
2021-11-11 12:16:24 +00:00
Pavel Punegov
67eedbe03e
[K/N][build] Move stdlib caching to runtime project
2021-11-11 12:16:22 +00:00
Pavel Punegov
634812f96f
[K/N][build] Split stdlib and endorsed libraries build and caching
...
Due to the usage of dist as an input and output at the same time by
different tasks Gradle issued warning about Execution optimizations
turning off. The fix is to split inputs and outputs in the build and
cache tasks of stdlib and endorsed libs.
2021-10-22 09:29:19 +00:00
Sergey Bogolepov
dc29618857
[K/N] Fix KT-48523
2021-08-31 11:54:45 +00:00
Pavel Punegov
2656c94535
[Native] Use common toolchain configuration
2021-08-03 10:15:08 +00:00
Pavel Punegov
ba5bd0b069
[Native] Add java plugin dependency to Konan plugin
...
Change required version of Gradle to 6.7
2021-08-03 10:15:07 +00:00
Pavel Punegov
5338705402
[Native] Enable parallel platform libs generation on parameter
...
Use kotlin.native.platformLibs.parallel to control parallel generation.
Disable parallel execution of platform libs on MacOS aarch64
2021-08-03 10:15:06 +00:00
Sergey Bogolepov
1ae8e01b32
[Native][MIPS] Add stddef.h to platform.posix on linux
...
For some reason, ptrdiff_t is missing in platform.posix on MIPS,
yet referenced from platform.linux.__morecore. Fixed by adding parent
header.
This fix is ABI for MIPS targets breaking because some declarations move
from platform.linux to platform.posix package.
^KT-46957 Fixed
2021-06-08 09:02:49 +00:00
Svyatoslav Scherbina
9f77c68f17
Remove bintray repositories from kotlin-native build
2021-03-03 09:38:45 +00:00
Vasily Levchenko
bdc87edfd0
[build] cache repository fix
2021-02-26 12:51:51 +01:00
Vasily Levchenko
83fc59b0ff
[klib][platform][osx] 10.11
2021-02-24 11:07:15 +01:00
Vasily Levchenko
840c1e612c
[build] joint (step 2)
...
- dist:
- compiler
- tools(cinterop,klib)
- stdlib
- cache
2021-02-24 11:07:13 +01:00
Vasily Levchenko
c85c3ac123
[build] joint (step 1)
...
(cherry picked from commit 7d0775f7e69ab900200bcf1fa78b94d68e6bd4f6)
2021-02-24 11:04:59 +01:00
Sergey Bogolepov
f6f050ff68
Fix KT-44295
...
builtins "header" is included in both builtin and posix platform libraries, but only posix has declarations for builtin structs (e.g. __va_list_tag). Library resolver by default has no guarantee on order of resolved libraries which causes KT-44295.
To make results of `KotlinLibraryResolver` stable we pass TopologicalLibraryOrder to `getFullList` and specify a dependency of builtin on posix
2021-02-15 10:16:10 +01:00
Sergey Bogolepov
3796a6a94c
Platform libs for macos_arm64
...
(cherry picked from commit abaa99d6cc993ec30b4b8342078b69cf9e4ee6ef)
2021-02-09 09:00:48 +01:00
Pavel Punegov
8a48609823
Lazy task creation in konan plugin using Gradle Providers API.
...
Removes obsolete CMake task and IDE model.
Use Provider API for klib files. Replace findAll with matching to make tasks configure lazily
Make some test tasks use lazy configuration
Fix adding tasks to lists. Add it. to all fields to improve IDEA navigation
Remove obsolete IDE model from the task
Remove tooling model tests
Fix aggregate task dependency
Fix run tasks. Cleanup
Review fixes
2021-02-01 16:54:14 +01:00
Svyatoslav Scherbina
639029f47e
Fix macOS Hypervisor platform lib for Xcode 12.2
2020-12-14 15:25:37 +01:00
Svyatoslav Scherbina
26e861867d
Revert "Disable Hypervisor platform lib to workaround the problem with Xcode 12.2"
...
This reverts commit 44d64b5aa73a665d2eb9d5c77808cef173149d19.
2020-12-14 15:25:37 +01:00
Sergey Bogolepov
1c9d759abd
[Xcode 12.2] Updated macos frameworks
2020-12-14 15:25:36 +01:00
Sergey Bogolepov
660f0d83cb
[Xcode 12.2] Updated watchos frameworks
2020-12-14 15:25:36 +01:00
Sergey Bogolepov
b012966d33
[Xcode 12.2] Updated tvos frameworks
2020-12-14 15:25:36 +01:00
Svyatoslav Scherbina
f9810d86dd
Disable Hypervisor platform lib to workaround the problem with Xcode 12.2
...
To be enabled after updating to Xcode 12.2
2020-11-28 21:11:22 +01:00
Svyatoslav Scherbina
62ce813a05
Workaround bug in IOBluetoothUI headers from macOS 11.0 SDK (Xcode 12.2)
...
Co-authored-by: Sergey Bogolepov <1580082+sbogolepov@users.noreply.github.com >
2020-11-28 21:07:21 +01:00
Sergey Bogolepov
20931eebe1
[KT-43276] Add watchos_x64 target
2020-11-28 21:07:20 +01:00
Ilya Matveev
77740209a5
[Platform libs] Add dwmapi to linker opts for windows.def
...
GitHub issue: #3135
2020-11-28 20:58:16 +01:00