Commit Graph

24 Commits

Author SHA1 Message Date
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
Stanislav Erokhin f624800b84 Move everything under kotlin-native folder
I was forced to manually do update the following files, because otherwise
they would be ignored according .gitignore settings. Probably they
should be deleted from repo.

Interop/.idea/compiler.xml
Interop/.idea/gradle.xml
Interop/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_runtime_1_0_3.xml
Interop/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_0_3.xml
Interop/.idea/modules.xml
Interop/.idea/modules/Indexer/Indexer.iml
Interop/.idea/modules/Runtime/Runtime.iml
Interop/.idea/modules/StubGenerator/StubGenerator.iml
backend.native/backend.native.iml
backend.native/bc.frontend/bc.frontend.iml
backend.native/cli.bc/cli.bc.iml
backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2Native.kt
backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2NativeCompilerArguments.kt
backend.native/tests/link/lib/foo.kt
backend.native/tests/link/lib/foo2.kt
backend.native/tests/teamcity-test.property
2020-10-27 21:00:28 +03:00