Commit Graph

37 Commits

Author SHA1 Message Date
Ilya Matveev 3329f74c27 Samples: Enable experimental standard library API 2019-06-05 15:01:14 +07:00
Ilya Matveev 90decbf517 Samples: Get rid of KotlinNativeTarget and KonanTarget imports 2019-06-05 15:01:14 +07:00
Dmitriy Dolovov e95be11ade Samples: Drop MPPTools + migrate to KTS 2019-06-05 15:01:14 +07:00
Sergey Bogolepov e89fefca8c Safer access to runTask in samples. 2019-06-05 15:01:14 +07:00
LepilkinaElena 16a8fdcf4e Rewrite samples using new API (#3021) 2019-06-05 15:01:14 +07:00
Dmitriy Dolovov 4f0633412d Samples: Don't call MPPTools from 'kotlin {}' block. #2277 (#2280) 2018-10-30 15:03:53 +07:00
Dmitriy Dolovov daf1a5fb8c Kotlin/Native samples ported to MPP Gradle DSL (#2261) 2018-10-26 12:16:13 +07:00
Ilya Matveev 7f00e581b5 [gradle-plugin] Depend on Kotlin 0.9.0-native (#1993)
* [gradle-plugin] Depend on Kotlin 0.9.0-native

* [gradle-plugin] Use test artifacts from eap repo
2018-09-10 16:42:19 +07:00
Ilya Matveev 6750ef59bb Reference EAP Kotlin repo in readme and samples 2018-08-31 18:07:36 +07:00
SvyatoslavScherbina 8f1b94f38b Use unsigned types in interop (#1913) 2018-08-24 18:30:56 +03:00
Vasily Levchenko c78d070455 [compiler][update] 1.3-M2-eap-33 / build: 1.3-M1-eap-77 2018-08-21 18:44:55 +03:00
Ilya Matveev 317ca076ac Disable torch and tensorflow samples 2018-08-20 18:19:14 +07:00
Ilya Matveev 7aa92eaa25 [gradle-plugin] Re-add an aggregate task to run all executables 2018-05-25 18:38:41 +07:00
Ilya Matveev d2670b4921 [gradle-plugin] Create a separate run task for each executable 2018-05-25 18:38:41 +07:00
Ilya Matveev a0fc9ae0eb [samples] Allow using KONAN_DATA_DIR in samples 2018-04-17 16:35:19 +07:00
Ilya Matveev fc5057868b samples: Refactor setting KONAN_HOME variable 2017-11-16 13:50:37 +07:00
Ilya Matveev 9937833a53 samples: Support custom path to konanc in build.sh 2017-11-16 13:50:37 +07:00
Ilya Matveev 752006a8e2 Fix tensorflow sample for windows 2017-11-02 14:39:47 +03:00
Mike Sinkovsky 07917dce2a mingw samples: specify konan.targets for samples not working on windows 2017-11-02 14:39:47 +03:00
Ilya Matveev eea0eb7e9f samples: Use reworked DSL in gradle builds 2017-10-20 17:09:23 +03:00
Ilya Matveev 016893991a gradle-plugin: Use cinterop to compile stubs
The gradle plugin performed interop processing in two steps:
 1. generate stubs using cinterop tool
 2. compile the stubs generated using konanc.

This led to code duplication since the cinterop tool also
can do the same things. This patch removes two tasks used
different tools and replaces them with one task which uses
citerop tool for both stub generation and compilation
2017-09-13 12:45:38 +03:00
Alexander Gorshenev 33993236de Moved some linkerOpts from build.sh and build.gradle to .def,
where it does not involve any complex intelligence.
2017-07-04 17:58:30 +03:00
Ilya Matveev a1e87d93ca samples: Add build step for tensorflow downloading 2017-06-26 16:44:12 +07:00
Nikolay Igotti 8aaad6413b Minor build script tweaks 2017-06-22 11:03:50 +03:00
Nikolay Igotti 0c66db0720 Add exec bit on external library download script 2017-06-19 12:47:06 +03:00
alexander-gorshenev d3c24bb387 Different extensions (and KonanTarget communalization). (#665) 2017-06-19 12:45:57 +03:00
Alexander Podkhalyuzin bc941269f0 Fixed samples for the latest changes in Gradle plugin.
- Smaller gradle scripts.
- More structure in sample projects.
- Simplified build/run.
- Added gradle to the rest two samples.
- Almost removed all sh scripts.
- Gradle now works only inside of build directory.
- Fixed READMEs according to the new changes.
2017-06-08 17:21:04 +03:00
Nikolay Igotti ff8bce79d5 Uniform compiler/linker options treatment (#614) 2017-05-29 15:37:15 +03:00
Alexander Gorshenev 1d3a5e6585 Don't use explicit file namesuffixes in build.sh scripts. 2017-05-29 15:01:42 +03:00
igotti-google fe3ae96079 Revert "Improved Gradle plugin. Fixed samples according to these changes. (#594)"
This reverts commit 8b18c7c8cb.
2017-05-27 11:27:00 +03:00
igotti-google 9760e0f21c Revert "Fix build"
This reverts commit bd7c24745a.
2017-05-27 11:26:59 +03:00
Nikolay Igotti bd7c24745a Fix build 2017-05-26 16:17:39 +03:00
Alexander Podkhalyuzin 8b18c7c8cb Improved Gradle plugin. Fixed samples according to these changes. (#594) 2017-05-26 15:43:16 +03:00
Ilya Matveev 12847428fa samples: Install Tensorflow in HOME directory 2017-05-15 18:31:30 +07:00
Julius Kunze c3074db2d0 Improved build script for tensorflow example, fixed readme (#553) 2017-05-06 09:44:19 +03:00
Nikolay Igotti d95f419a53 v0.2 preparations (#547)
* v0.2 preparations

* Fix Tensorflow sample.
2017-05-04 17:28:59 +03:00
Julius Kunze 7afa5e395a Added TensorFlow sample (#541)
* Added TensorFlow sample

* Added graph to TensorFlow sample

* Added session to TensorFlow sample

* added description to readme, cleaned up tensorflow.def, used lambda for deallocator, call Status.delete on error
2017-05-03 13:03:18 +03:00