Pavel Punegov
cae95b1ba0
[native] Fix kotlin.native.home properties order.
2021-03-18 14:41:03 +00:00
Nikolay Krasko
aff25b3666
Remove jcenter usages
2021-03-16 22:24:10 +03:00
Alexander Shabalin
391458c355
Fix CompileToBitcode's llvm-link invocation
...
Porting https://github.com/jetbrains/kotlin-native/pull/4536 which got
lost in https://jetbrains.team/p/kt/code/kotlin/revision/c85c3ac1235bea8a469694f887febc6ee4979181
2021-03-12 16:53:47 +00:00
Alexander Udalov
869a153327
Enable -Werror for buildSrc
2021-03-12 11:19:07 +01:00
Vasily Levchenko
f159a424f5
[build][plugin] kotlin native benchmarking plugin adds dependency kotlinx.cli as project dependency
2021-03-09 20:21:24 +00:00
Vasily Levchenko
0858a92b12
[build-tools] util to substitute dependency notation as artifact or project dependency
2021-03-09 20:21:23 +00:00
Vasily Levchenko
72bb1f5b30
[kotlin-native][performance][plugin] clean up
2021-03-09 20:21:22 +00:00
Florian Kistner
bd614aba0b
Retain typed generics in ObjC export stubs ( #4727 )
...
* Add ObjC export test with disabled generics
* Retain typed generics in ObjC export stubs
* Introduce ObjC variance enum to decouple stubs from Kotlin variance
(cherry picked from commit 4d7c78b952a467ca3318c8c49d36b768fdc1ef9c)
2021-03-09 20:19:31 +00:00
Svyatoslav Scherbina
9f77c68f17
Remove bintray repositories from kotlin-native build
2021-03-03 09:38:45 +00:00
Svyatoslav Scherbina
95584f90c3
Remove bintray repositories from kotlin-native/samples
2021-03-03 09:33:04 +00:00
Alexander Udalov
3f16f84d0d
Fix warnings in buildSrc
2021-03-01 19:47:24 +01:00
Vasily Levchenko
c9e0928038
[performance] enable project performance
...
(cherry picked from commit 947c3bd92b2ee8d252619cf987427a7e195191cb)
2021-02-26 12:51:53 +01:00
Nikolay Krasko
29e1390720
Remove Bintray ktor usage from kotlin-native
...
(cherry picked from commit 8a5987d82191da66b31ef10363cebc1a784e31b3)
2021-02-26 12:51:51 +01:00
Vasily Levchenko
bdc87edfd0
[build] cache repository fix
2021-02-26 12:51:51 +01:00
Vasily Levchenko
fe2799273d
[build] drop dead repositories
2021-02-26 12:51:50 +01:00
Vasily Levchenko
65dd798818
[build][native support] intoduced new native support.
2021-02-24 11:07:18 +01:00
Vasily Levchenko
7b73917217
[build][dist] global dist fixed
2021-02-24 11:07:17 +01:00
Vasily Levchenko
8a4b5efa9e
[build][native] don't ever fix dist, take it with API
2021-02-24 11:07:17 +01:00
Vasily Levchenko
46f2182ba6
[build][tests] more utilities functions used
2021-02-24 11:07:16 +01:00
Vasily Levchenko
6234bcb453
[build][test] enable external compiler tests
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
Ilya Matveev
114f5ae890
Remove .git directory when downloading googletest sources
...
Keeping the .git folder in the googletest directory may cause
changing .idea/vcs.xml during IDEA import. .idea/vcs.xml is under
source control, thus changing it litters a current diff.
2021-02-24 10:59:59 +01:00
Igor Chevdar
ca953d3186
[tests] Remove explicit NI switching on in tests
...
It is on by default anyway, but specifying it explicitly turns on specific 'compatibility' mode in FE
which is not needed in K/N
2021-02-24 10:53:42 +01:00
Igor Chevdar
ae32e18634
[tests] Turned on passing test
2021-02-15 10:16:10 +01:00
Sergey Bogolepov
884056b7b4
Check that given anotherDistro path is actually a Kotlin/Native distribution
2021-02-15 10:16:10 +01:00
Sergey Bogolepov
fddf28ac47
Support for macos_arm64 target in backend
...
(cherry picked from commit 82775e93c1389f21f9be97bd0edfd16dd50300ea)
2021-02-09 09:00:48 +01:00
Sergey Bogolepov
5a18a565b7
Support interop libraries in dynamic tests
2021-02-09 09:00:46 +01:00
Vasily Levchenko
8b2f0d644b
[build] kotlin.*Compile: -Xskip-prerelease-check
...
(cherry picked from commit 57172ac6ead928b565fefaf49d8405a07c856e25)
2021-02-01 16:54:15 +01:00
Alexander Gorshenev
ec024cee53
Extracted multi-module compiler runner for external tests to a separate kotlin file.
...
(cherry picked from commit 4fd88e4d33d8f80370b3ba4eee4c64869c1f1734)
2021-02-01 16:54:15 +01:00
Alexander Gorshenev
58ea71cb0e
Made test runner work with binary compatibility tests
...
(cherry picked from commit e0b599a632b94e4b1303fc94275dcd5b6a7dfb6b)
2021-02-01 16:54:15 +01:00
Alexander Shabalin
d84c83d7da
Extract FreezeHooks and make them testable ( #4654 )
2021-02-01 16:54:14 +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
Alexander Shabalin
b06a870011
Trust mimalloc to be thread safe ( #4649 )
2021-01-26 17:38:03 +03:00
Alexander Shabalin
6cc60ad6a2
Support sanitizers in runtime tests ( #4622 )
2021-01-26 17:38:02 +03:00
Alexander Shabalin
a362742a37
Enable C++17 ( #4623 )
2021-01-19 13:37:37 +03:00
Alexander Shabalin
aed23ff098
Use toolchain clang for runtime tests on mac ( #4632 )
2021-01-19 13:37:36 +03:00
Alexander Shabalin
32e3deace1
Enable unused-function warning for runtime ( #4628 )
2021-01-19 13:37:36 +03:00
Vasily Levchenko
828afa28bb
[performance][build] use buildKotlinVersion
2020-12-21 16:18:37 +01:00
Sergey Bogolepov
62e7b67170
Use caches for linux_x64 compile-only benchmarks
2020-12-21 16:18:37 +01:00
Sergey Bogolepov
3c3407b380
Fix running tests on remote Raspberry Pi.
2020-12-21 16:18:37 +01:00
Sergey Bogolepov
a664dbf07f
Use emulator executor for arm-based linux targets
2020-12-14 15:25:37 +01:00
Pavel Punegov
e1d9a36de3
Use maven { setUrl("...") } that works both for .gradle.kts and .gradle files
2020-12-14 15:25:37 +01:00
Pavel Punegov
4638988c2f
Use project's kotlin compiler version and repo for the samples
2020-12-14 15:25:37 +01:00
Pavel Punegov
e8403bc202
Fix CopySamples: make task work for both gradle and gradle.kts files
2020-12-14 15:25:36 +01:00
Sergey Bogolepov
2d30796483
Better checking of ABI compatibility.
...
Split ${target}CheckAbiCompatibility into two:
1) check${targetName}PlatformAbiCompatibility -- check platform libs compatibility of the given target
2) checkStdlibAbiCompatibility -- check only stdlib.
This approach allows to avoid repeated check of stdlib for each target.
2020-12-14 15:25:36 +01:00
Igor Chevdar
606fbe37fc
[IR] Turned off IR validation for everything but our tests
2020-11-28 21:12:17 +01:00
Alexander Shabalin
6cb8b0c18a
Only llvm-link generated files in CompileToBitcode ( #4536 )
2020-11-28 21:11:26 +01:00
Alexander Shabalin
a19bf5c48e
Header dependencies ( #4530 )
2020-11-28 21:07:20 +01:00
Sergey Bogolepov
20931eebe1
[KT-43276] Add watchos_x64 target
2020-11-28 21:07:20 +01:00