Commit Graph

109 Commits

Author SHA1 Message Date
sebastian.sellmair eecc63594c benchmarksAnalyzer: Remove workaround for KT-50847 2022-01-25 16:59:27 +00:00
Elena Lepilkina b8af589137 [K/N][perf] Added workaround to build benchmarks analyzer artifacts 2022-01-18 17:08:10 +03:00
Igor Chevdar f724b5c29d [K/N][gradle][interop] Workaround for loading readonly native libs 2022-01-14 10:29:12 +05:00
Igor Chevdar 7a4ef76527 [K/N][gradle] Automatic cleaning of the class loaders map 2022-01-14 10:29:11 +05:00
Igor Chevdar bd6ea71ead [K/N][gradle][interop] Refactored ToolConfig
Added possibility to create different strategies for loading libclang
2022-01-14 10:29:10 +05:00
Igor Chevdar 0211509795 [K/N][build] Refactored K/N tool runner 2022-01-14 10:29:07 +05:00
Elena Lepilkina d907c0ac4f [K/N][perf] Update npm packages versions 2022-01-10 12:36:57 +00:00
Elena Lepilkina 745c5e2b05 [K/N][perf] Update pattern for release branches 2022-01-10 12:36:57 +00:00
Nikolay Krasko 85521f01f8 Update shadow plugin 6.1.0 -> 7.1.1
Version 7.1.1 is absent in jcenter, so additional repository was added
in some modules.

Leave old version in NewMultiplatformIT.kt because of
`This version of Shadow supports Gradle 7.0+ only. Please upgrade.` error.

^KTI-733 Fixed
2021-12-20 21:39:00 +03:00
Vyacheslav Gerasimov bc2f0936bd Build: Rename commonDep -> commonDependency 2021-12-16 21:48:19 +03:00
Sergey Bogolepov 9b06df48e4 [K/N] Update Xcode version to 13.1 2021-12-01 08:49:50 +00:00
Alexander Udalov 8a7d86c4e5 Build: remove obsolete argument -Xskip-runtime-version-check
It was removed in KT-41664.
2021-11-30 17:13:10 +01:00
dependabot[bot] f578d37947 Bump aws-sdk in /kotlin-native/tools/performance-server (#4662)
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.670.0 to 2.814.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.670.0...v2.814.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 09:43:20 +03:00
Igor Chevdar fed76a87af Revert "[K/N][build] Refactored K/N tool runner"
This reverts commit fa587a61fd.
2021-11-26 14:04:06 +05:00
Igor Chevdar 4b53a8e3c7 Revert "[K/N][gradle][interop] Refactored ToolConfig"
This reverts commit d9c1b1f6f7.
2021-11-26 14:01:40 +05:00
Igor Chevdar 031d92e21f Revert "[K/N][gradle] Automatic cleaning of the class loaders map"
This reverts commit 874b442a13.
2021-11-26 14:00:30 +05:00
Igor Chevdar 874b442a13 [K/N][gradle] Automatic cleaning of the class loaders map 2021-11-25 23:42:10 +05:00
Igor Chevdar d9c1b1f6f7 [K/N][gradle][interop] Refactored ToolConfig
Added possibility to create different strategies for loading libclang
2021-11-25 23:42:10 +05:00
Igor Chevdar fa587a61fd [K/N][build] Refactored K/N tool runner 2021-11-25 23:42:09 +05:00
Nikolay Krasko af8faadca5 Update internal project junit dependency 4.12 -> 4.13.2 2021-11-24 19:35:31 +03:00
Pavel Punegov c5a02902a7 [K/N][build] Add artifacts depending on input in library task
Depending on noPack option compiler produces file or directory.
Artifact field that contains .klib file can't use @OutputDirectory
annotation. The same applies for @OutputFile with directory.
To workaround make an artifact field internal and use two optional
fields that return either file or directory depending on noPack option.
2021-11-19 11:29:53 +00:00
Pavel Punegov e3ac2b661a [K/N][build] Remove artifact overriding in library task
Depending on noPack option compiler produces file or directory.
Artifact field that contains .klib file can't use @OutputDirectory
annotation. The same applies for @OutputFile with directory.
2021-11-19 11:29:53 +00:00
Pavel Punegov cc7768e38f [K/N] Konan: override artifact property to use with OutputDirectory 2021-11-19 11:29:52 +00:00
Pavel Punegov f7e2572ccc [K/N][build] Add noPack option to Konan plugin
Make plugin aware of -nopack compiler option to correctly set outputs
without .klib suffix.
2021-11-19 11:29:52 +00:00
Pavel Punegov 83d31526cc [K/N][build] Fix args in klib runner task 2021-11-11 12:16:27 +00:00
Pavel Punegov 197d55e045 [K/N][build] Add common sources setting to Konan plugin
Used for stdlib build
2021-11-11 12:16:26 +00:00
Pavel Punegov e07fa31784 [K/N][build] Move KLibInstall to Konan gradle plugin 2021-11-11 12:16:26 +00:00
Pavel Punegov e9b1f7cca1 [K/N][build] Move stdlib build to runtime project
Build stdlib with konan plugin in runtime project
2021-11-11 12:16:21 +00:00
Ilya Matveev 8ff1d66ec9 [K/N][build] Fix up-do-date checks for cache tasks
A name of a cache directory produced by the compiler for a library is
based on the unique name of this library. The cache task, when
declaring its outputs, assumes that this unique name is equal to the
name of the library file/directory. If this is not the case, the
up-to-date check works inconsistently and Gradle doesn't rerun
the task.

This patch fixes this issue by obtaining the real unique name of
the library.
2021-11-08 11:51:42 +07:00
David Saff c67a1ee2e5 Add a dry-run arg to show what _would_ be run, without actually running (#4630) 2021-10-29 11:38:56 +07:00
Pavel Punegov 56d34bfd53 [K/N][build] KonanCacheTask: get rid of lateinit in input directory 2021-10-22 09:29:22 +00:00
Pavel Punegov a003d804d2 [K/N][build] Use Map for cached libraries 2021-10-22 09:29:21 +00:00
Pavel Punegov 567dac0719 [K/N][build] Small fixes to KonanCacheTask 2021-10-22 09:29:21 +00:00
Pavel Punegov ac5e818c26 [K/N][build] Put get to input annotations 2021-10-22 09:29:20 +00:00
Pavel Punegov 42aa8b1337 [K/N][build] the field was protected but why 2021-10-22 09:29:19 +00:00
Pavel Punegov bc89921fdd [K/N][build] Fix cache location 2021-10-22 09:29:19 +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
Elena Lepilkina 9ad62eb1fd [K/N][perf] Added more buildSrc files in excluding list in performance infrastructure 2021-10-12 11:35:00 +00:00
Ilya Matveev b07f78cc8b [K/N][perf] Workaround broken buildSrc compilation
benchmarksAnalyzer/buildSrc includes sources from K/N's 'build-tools'
subproject. But now these sources depend on the old Kotlin/Native
Gradle plugin (aka tools/kotlin-native-gradle-plugin) causing
compilation errors when building benchmarksAnalyzer/buildSrc.

This patch works around this problem by ignoring the file that
brings this dependency.
2021-10-07 10:19:33 +00:00
Svyatoslav Scherbina 7493914a52 kotlin-native/tools/degrade: fix support for cocoapods plugin
Don't trigger early task configuration.
Also make the code cleaner and more thread-safe.
2021-10-07 06:35:59 +00:00
Svyatoslav Scherbina bc01676489 Add kotlin-native/tools/degrade -- a helper for K/N Gradle builds
Intended to be helpful in minimizing reproducers or investigating
Kotlin/Native-related problems.

It analyses kotlin-multiplatform Gradle plugin events,
and creates shell scripts that run executed Kotlin/Native tools
(compiler, cinterop) without Gradle.
2021-10-06 09:48:16 +00:00
Sergey Bogolepov b692705092 [K/N] Add LLVM utils into developer LLVM distribution.
Including FileCheck utility.
2021-10-01 14:18:01 +00:00
Sergey Bogolepov 5c1a4f79c4 [K/N] Minor LLVM builder fixes 2021-10-01 14:18:00 +00:00
Vyacheslav Gerasimov af541dc6d3 Build: Fix usages of deprecated ConfigureUtil in kotlin-native
Required for Gradle 7+ #KTI-559
2021-09-26 23:36:40 +03:00
Abduqodiri Qurbonzoda 9a5a3bfdfb Advance kotlin.browser and kotlin.dom packages deprecation level to ERROR #KT-39330 2021-09-20 12:28:07 +00:00
Mikhail Glukhikh 3febabe977 Use OPT_IN instead of EXPERIMENTAL in diagnostic names 2021-09-10 16:29:13 +03:00
Elena Lepilkina 8924730320 [K/N][perf] Added option to analyze benchmarks without DB connection 2021-09-08 18:53:18 +00:00
Mikhail Glukhikh ed035d99ab Migrate -Xopt-in to -opt-in in Gradle Kotlin scripts 2021-09-03 15:40:47 +03:00
Pavel Punegov 39b07d23f4 [Native][Tools] Add input directory in the bundles repack script 2021-09-03 10:25:36 +00:00
Dmitriy Novozhilov d46e2dd749 Fix OVERRIDE_DEPRECATION warnings in project code 2021-09-02 15:04:07 +03:00