Commit Graph

149 Commits

Author SHA1 Message Date
Nikolay Krasko a4cd485f48 Remove native-platform 0.14 usage from the buildSrc
It looks like net.rubygrapefruit:native-platform:0.14 is not in
plugins.gradle.org repository anymore.

And it's not used anyway.

> Task :buildSrc:generateExternalPluginSpecBuilders FAILED

'''
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':buildSrc:generateExternalPluginSpecBuilders'.
> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
   > Could not find native-platform-0.14.jar (net.rubygrapefruit:native-platform:0.14).
     Searched in the following locations:
         https://cache-redirector.jetbrains.com/plugins.gradle.org/net/rubygrapefruit/native-platform/0.14/native-platform-0.14.jar
'''

Can be reproduced with

```gradle --refresh-dependencies -i tasks -Pkotlin.native.enabled=true```

KTI-986
2022-11-08 21:31:43 +01:00
Vladimir Sukharev 44f638e952 Drop K/N dependency to JCenter 2022-11-03 10:51:56 +00:00
Pavel Punegov c098ba789c [K/N][perf] JS IR Gradle DSL syntax changed to JS
Merge-request: KOTLIN-MR-532
Merged-by: Pavel Punegov <pavel.punegov@jetbrains.com>
2022-10-24 17:58:18 +00:00
Pavel Punegov 259d58c817 [K/N] Rename jsIr preset usage back to js
Merge-request: KT-MR-7467
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com>
2022-10-24 10:44:23 +00:00
Pavel Kunyavskiy b01808ddf5 [K/N] Fix deprecations and warnings in performance infra 2022-10-10 13:14:35 +00:00
Nikolay Krasko 1630386712 Move to JDK_X_Y variables 2022-09-21 22:53:19 +00:00
Sergey Bogolepov 8bf7a17508 [K/N] Update Xcode version to 14-RC 2022-09-17 07:51:34 +03:00
Pavel Kunyavskiy 776b68f2fe [K/N] Move aws address for perf infra from code to environment 2022-08-26 09:52:48 +00:00
Pavel Punegov 1502e6628b [K/N][perf] Workaround KGP bug when dirs are queried instantly 2022-08-18 16:05:29 +00:00
Igor Chevdar 228141aeea [K/N][build] Supported per-file caches in K/N tests 2022-08-06 17:40:25 +00:00
Anton Lakotka 2f5ae70cef [Gradle] Fix kotlin-native-gradle-plugin to be compatible with KonanToolRunner
KonanToolRunner was changed to be compatible with
Gradle Configuration Cache.
2022-08-05 04:25:00 +00:00
Pavel Kunyavskiy d6f235679b [K/N] Get rid of urls in perf infra code 2022-07-25 21:25:23 +00:00
Pavel Kunyavskiy 3f1e06b32e [K/N] Performance infra fixes 2022-07-19 07:53:10 +00:00
Alexander Shabalin 97c542dd76 [K/N] Fix performance project
Merge-request: KT-MR-6567
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
2022-06-30 09:08:23 +00:00
Pavel Kunyavskiy 9ec1143256 [K/N] Show new memory model in debug mode benchmarks 2022-06-17 10:23:45 +02:00
Troels Bjerre Lund 90754d11c1 [K/N] Code cleanup from deprecation warnings
No functionality change; just quieting some warnings
2022-06-14 13:32:24 +00:00
Pavel Kunyavskiy 707d2c42ad [K/N] Fix version parsing in perfomance-server 2022-06-03 12:21:42 +00:00
Pavel Kunyavskiy 2c5d44ccf0 [K/N] downgrade node-fetch in perfomance server to version compatible with kotlin/js 2022-05-16 12:17:01 +00:00
Pavel Kunyavskiy 9b44c73f54 [K/N] fix build for perfomance server & upgrade dependencies 2022-05-13 19:47:36 +00:00
dependabot[bot] 33c122d231 Bump ejs from 2.6.1 to 3.1.7 in /kotlin-native/tools/performance-server
Bumps [ejs](https://github.com/mde/ejs) from 2.6.1 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v2.6.1...v3.1.7)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-13 10:00:06 +03:00
Vyacheslav Gerasimov 7157a54155 Fix unnecessary usages of Locale.getDefault() 2022-05-06 22:08:25 +00:00
Vyacheslav Gerasimov dcd17e41a4 Fix capitalization related deprecation warnings 2022-05-04 19:15:01 +00:00
Pavel Punegov d5b450c8fa [K/N][publish] Fix getting the extracted dir name
Python's rstrip() method with argument removes not the string
but all combinations of specified chars
2022-04-29 17:34:35 +00:00
Sergey Bogolepov 21399b4edd [K/N] Update documentation on building and using LLVM 2022-04-19 14:27:33 +00:00
Pavel Punegov 3b53d8694f [K/N][build] Fix build version property usage 2022-04-12 08:33:31 +00:00
Pavel Punegov d69df1898d [build] Advance kotlin-build-gradle-plugin version to 0.0.38 in the repo
Use build Gradle plugin version property
2022-04-08 14:42:35 +03:00
Elena Lepilkina f401573e5c [K/N][perf] Added chart for execution time of debug binaries on performance server 2022-04-07 20:06:40 +03:00
Elena Lepilkina 087f7e3b31 [K/N] Added possibility to run only base part of benchmarks 2022-04-07 20:06:40 +03:00
Elena Lepilkina cb0acaa469 [K/N][perf] Small fixes for release builds and some type of benchmarks reports 2022-03-31 09:00:46 +00:00
Sergey Bogolepov 9b103b35cd [K/N] Replace destinationDir with destinationDirectory.
Breaking change was introduced in e9498c8.
2022-03-30 12:17:22 +03:00
Vyacheslav Gerasimov 5e09c3176f Build: Set kotlin.build.cache.push to false by default
#KTI-793
2022-03-13 20:29:12 +00:00
dependabot[bot] 872bda01e0 Bump node-fetch in /kotlin-native/tools/performance-server
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 14:30:08 +03:00
Svyatoslav Scherbina 63a396b51d Native: fix classpath in KonanCliRunner
It included "konan/lib/*.jar", which became incorrect after adding
kotlin-native-compiler-embeddable.jar to K/N dist in 2baf344f5f:
after that, the classpath included both kotlin-native.jar and
kotlin-native-compiler-embeddable.jar, so it contained duplicating
classes.

Fix this by choosing particular .jar files from konan/lib, and use
kotlin-native-compiler-embeddable.jar.
2022-03-09 11:09:25 +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
Nikolay Krasko a2cef5c930 Update shadow plugin to 7.1.2
^KTI-728 Fixed
2022-02-22 21:43:27 +03:00
Dmitriy Novozhilov 3d48f9926f [Build] Update version of kotlin-build-gradle-plugin to 0.0.35 2022-02-18 17:44:44 +03:00
Elena Lepilkina 703aea1362 [K/N] Added Mac OS X (Arm64) target support on performance server 2022-02-17 09:43:43 +00:00
Elena Lepilkina bee188dc8b [K/N][perf] Turn on cinterop commonization 2022-02-17 09:43:43 +00:00
Elena Lepilkina 015920257f [K/N][perf] Adopt benchmarks plugins and tools to support both macosX64 and macosArm64 2022-02-17 09:43:42 +00:00
Elena Lepilkina f67656aeba [K/N][perf] Added macosArm64 target to benchmarksAnalyzer 2022-02-17 09:43:42 +00:00
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