Commit Graph

48 Commits

Author SHA1 Message Date
Svyatoslav Scherbina 7bf6d64cfb Native: move samples to backend.native/tests/ 2022-08-31 16:10:04 +00:00
Svyatoslav Scherbina b7337d2e64 Native: use samples only as compiler tests
Remove unrelated parts.
2022-08-31 16:10:04 +00:00
Svyatoslav Scherbina 71b8089f33 Native: remove samples that are not used in tests 2022-08-31 16:10:04 +00:00
Pavel Punegov cde46adc08 [K/N][samples] Use mingw preinstalled only in the exact place
Newer versions got be env variable lead to linkage errors
2022-08-25 12:56:15 +00:00
Alexander Shabalin 29f3445721 [K/N] Deprecated freezing ^KT-50541
Starting with 1.7.20 freezing is deprecated. See https://github.com/JetBrains/kotlin/blob/master/kotlin-native/NEW_MM.md#freezing-deprecation for details.

Merge-request: KT-MR-6399
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
2022-06-16 09:04:14 +00:00
Sergey Bogolepov 0b5b07f6e2 [K/N] Update MinGW dependencies
Include fixes for KT-50983 and KT-48558
2022-05-11 18:34:27 +00:00
Pavel Punegov 4b3a5ad875 [K/N][samples] Use compilations for libcurl dependency setting 2022-04-07 10:13:04 +00:00
Pavel Punegov 0fa60ea75f [K/N][samples] Add else branch to make when exhaustive 2022-03-21 13:05:16 +00:00
Sergey Bogolepov 817f9f13b7 [K/N] Drop androidNativeActivity sample
This sample uses custom API that is not supported and documented.
Thus, it creates wrong impression on how to use Kotlin/Native for NDK.
2022-02-23 17:25:47 +00:00
Mikhail Glukhikh 3e00f41a99 Replace useExperimentalAnnotation with optIn in scripts 2022-01-27 11:48:20 +00:00
Pavel Punegov 816acaadc3 [K/N][samples] Properly disable HMPP for ^KT-50547
Properties file inside subproject isn't read. Moved to root
Fixup to 8d0b511e95
2022-01-19 16:10:10 +00:00
Pavel Punegov 8d0b511e95 [K/N][samples] Turn off hmpp and metadata due to ^KT-50547 2022-01-18 15:24:06 +00:00
Pavel Punegov 4e402e1b72 [Native] Samples: update kotlin version and gradle 2021-12-24 16:03:40 +00:00
Svyatoslav Scherbina 7b60c0427e Native: remove calculator and cocoapods samples
Redirect to the up-to-date alternatives.
2021-12-16 09:34:36 +00:00
Svyatoslav Scherbina ce0850be0a Native: fix watchos sample after 5020d5f 2021-11-25 08:09:41 +00:00
Sergey Bogolepov 1381221ef8 [K/N] Use smaller mingw-w64-i686 toolchain as well 2021-08-23 16:01:36 +00:00
Sergey Bogolepov 6953d29922 [K/N] Use smaller mingw-w64-x86_64 toolchain
We don't need LLVM components there anymore because they live in
a separate dependency now.
2021-08-23 16:01:35 +00:00
Sergey Bogolepov 0c35a3b699 [K/N] A bit cleaner reflection of code coverage state in docs. 2021-08-16 09:22:32 +00:00
Sergey Bogolepov 017c8d8211 [K/N] Drop linuxArm32Hfp from tetris sample
Its sysroot doesn't include SDL2 anymore, so it won't compile anyway.
2021-08-03 05:38:07 +00:00
Sergey Bogolepov 0923d13d55 [K/N] Fix gtk sample compilation on MinGW 2021-08-03 05:38:06 +00:00
Elena Lepilkina 9142b03df5 [K/N][Samples] Use unsigned types in videoplayer 2021-07-30 08:05:44 +00:00
Svyatoslav Scherbina b3980f9555 kotlin-native/samples: fix cocoapods after faulty cherry-pick 64129314
Move its source file to where it belongs.
2021-06-28 12:56:09 +00:00
Svyatoslav Scherbina 3412c0bc53 Update kotlin-native/samples to 1.5.10 2021-06-09 12:35:05 +00:00
Alexander Gorshenev 887032667d [Kotlin/Native][Interop] Skia interop plugin for cinterop 2021-04-29 21:43:26 +03:00
Vladimir Ivanov 5f582ad28a [Kotlin/Native][Interop] Provide pure c wrappers over cpp for skia interop 2021-04-29 21:43:25 +03:00
Elena Lepilkina 53c80cf03b [K/N] Replaced usage of minBy/maxBy in samples and benchmarks 2021-04-08 11:57:33 +03:00
Pavel Punegov e23d09beb6 [Native] Return kotlinCompilerRepo parameter back
This parameter is used to specify maven path in case of kotlin_version
rewriting that happens during Nightly test runs.
2021-04-06 09:59:08 +00:00
Elena Lepilkina 393aaac2b9 [Native] Removed old gradle properties for kotlin repo and versions 2021-04-02 05:42:13 +00:00
Svyatoslav Scherbina 1f6f996faf kotlin-native/samples: workaround build for linuxArm32Hfp
libSDL2.so is missing in new sysroot (since 1.5), use one from
the old sysroot as a workaround.
2021-03-16 11:58:56 +00:00
Vladimir Ivanov 64129314fb Fix sample file naming for case-sensitive FS
(cherry picked from commit 72235c31852fba4f2ab330d8178197c2584b1cda)
2021-03-15 15:54:46 +03:00
Sergey Bogolepov eb54689801 Update coverage sample documentation.
We need to invoke `llvm-profdata` tool from
the same toolchain as Clang (on macOS we use the one from Xcode).

(cherry picked from commit 91665b36af68b7fb3a56c0e7ed7ebb7d819adfb2)
2021-03-09 20:19:37 +00:00
Svyatoslav Scherbina 95584f90c3 Remove bintray repositories from kotlin-native/samples 2021-03-03 09:33:04 +00:00
Nikolay Krasko c4178daf48 Remove Bintray kotlin-dev usage from kotlin-native
(cherry picked from commit ec4ac192a822949af55264157cf6f03d0c4f0c20)
2021-02-26 12:51:51 +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
SvyatoslavScherbina 41a1e462f0 Fix samples/androidNativeActivity build
Starting from 1.4.0, Kotlin expects Gradle projects with android and
kotlin-multiplatform plugins to have an android target.

See https://github.com/JetBrains/kotlin/commit/ad9d011ed02bc971a0cf406ff1535c2a67bd3374#diff-685880375690dc3db18f7b39b51c257f7100a11c39791d2b3f9f45cefa485e52R133
2021-02-24 10:53:42 +01:00
Dmitriy Dolovov a3e3e89223 [samples] 1.4.30 2021-02-09 09:00:47 +01:00
Ilya Matveev a5cce930b1 [samples] Correct architecture for CocoaPods sample 2021-02-01 16:54:14 +01:00
Pavel Punegov f22d84c07b Use kotlinCompilerRepo for calculator sample 2020-12-21 16:18:37 +01:00
Dmitriy Dolovov 86bf6bf857 Calculator sample: Fix default colors in iOS 2020-12-14 15:25:37 +01:00
Dmitriy Dolovov 8a83b37673 Videoplayer sample: format, drop unused imports 2020-12-14 15:25:37 +01:00
Dmitriy Dolovov 0e0c8e274d Fix DSL2 samples for Linux x64 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
LepilkinaElena 0c28396106 Removed extra enum in videoplayer sample (#4571) 2020-12-14 15:25:36 +01:00
LepilkinaElena 6552180055 Missed enum in videoplayer sample (#4568) 2020-12-14 15:25:36 +01:00
LepilkinaElena e940a1d6bb Fix usages of ArgType.Choice in benchmarks (#4562) 2020-12-14 15:25:36 +01:00
Ilya Matveev 75d64261f4 Update Gradle: 6.7 2020-11-28 20:57:40 +01:00
Dmitriy Dolovov 6fd872f0be Merge pull request #4470 from JetBrains/master-tensorflow
Fix tensorflow sample compilation
2020-11-28 19:29:28 +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