Commit Graph

36 Commits

Author SHA1 Message Date
Ilya Matveev 9937833a53 samples: Support custom path to konanc in build.sh 2017-11-16 13:50:37 +07:00
Ilya Matveev 1c6e836f20 Don't build some samples for raspberrypi 2017-11-03 13:35:02 +03:00
Mike Sinkovsky 07917dce2a mingw samples: specify konan.targets for samples not working on windows 2017-11-02 14:39:47 +03:00
Nikolay Igotti 9bc9003cdd Fix libcurl sampl 2017-10-27 15:12:06 +03:00
Ilya Matveev eea0eb7e9f samples: Use reworked DSL in gradle builds 2017-10-20 17:09:23 +03:00
Alexander Gorshenev a11071d55c Adapted curl sample to platform libs. 2017-10-16 19:06:13 +03:00
Svyatoslav Scherbina 9609a10e09 Improve StableObjPtr
* Rename to StableRef
* Make it more typed
* Provide more idiomatic and convenient methods
* Share more code between JVM and Native
2017-09-26 09:50:42 +03:00
Svyatoslav Scherbina d8ed1f4414 Hide nativeMemUtils and pointerSize 2017-09-26 09:50:42 +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
Nikolay Igotti 8aaad6413b Minor build script tweaks 2017-06-22 11:03:50 +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
Nikolay Igotti 42197a2bec Android NDK support and build system refactoring (#585) 2017-05-24 00:20:19 +03:00
Ilya Matveev d28f8ce7f2 samples: Add scripts for samples building
This pach adds a root gradle project in the samples directory
which allows one to build all gradle samples using `./gradlew build`
command. It also adds a shell script in the samples directory which
can build all samples (excluding tensorflow one) using their build.sh
scripts.
2017-05-15 18:31:30 +07:00
Ilya Matveev c0c971a526 samples: Use latest gradle plugin version 2017-05-05 19:40:21 +07:00
Ilya Matveev 52bbbc1815 gradle-plugin: Specify compiler version in project properties
This patch allows gradle-plugin user to specify a compiler version
via project properties. The default version is 0.2. It also updates
samples to use this new version of gradle plugin.
2017-05-05 19:40:21 +07:00
Svyatoslav Scherbina 8a0b494c2e Apply interop filtering
Also actualize .def files
2017-04-26 20:07:06 +03:00
Svyatoslav Scherbina c0b40ffedb Remove callbacks-related hacks from samples/libcurl 2017-04-20 17:36:22 +03:00
Svyatoslav Scherbina a7cf182716 Simplify libcurl sample by using StableObjPtr 2017-04-03 15:03:26 +03:00
Svyatoslav Scherbina d07295d732 Remove some hacks from libcurl sample 2017-04-03 15:03:26 +03:00
Ilya Matveev 43068b6e59 samples: Mention Gradle build in READMEs 2017-03-31 18:46:25 +07:00
Ilya Matveev ffe022d4c8 samples: Remove symlinks to gradlew 2017-03-31 18:46:25 +07:00
Ilya Matveev 98c440f2d6 gradle-plugin: Rename kotlin.native.home property in konan.home 2017-03-31 18:46:25 +07:00
Ilya Matveev 870a0a01c1 samples: Add gradle wrapper in samples root 2017-03-31 18:46:25 +07:00
Ilya Matveev f51b61a178 gradle-plugin: Upload to bintray maven repository 2017-03-31 18:46:25 +07:00
Ilya Matveev 0b3d3cb138 Create gradle projects for samples 2017-03-31 18:46:25 +07:00
Svyatoslav Scherbina 50c3be3fc2 Simplify working with values in interop
* Access primitive interop array elements and struct fields without `.value`
* Simplify C*Var* interop types names
2017-03-31 11:44:07 +03:00
alexander-gorshenev c9c9aee7bb No colon cinterop flags (#428)
* Taught cinterop a 'host' target.

* Last minute switch from -foo:bar flags to -foo bar flags in cinterop tool.
2017-03-31 10:20:29 +03:00
Nikolay Igotti a368818863 Fix names, samples (#426) 2017-03-30 19:41:15 +03:00
Nikolay Igotti 61728ab3fd CURL sample, copyright update 2017-03-30 16:25:05 +03:00