Commit Graph

100 Commits

Author SHA1 Message Date
Ilya Matveev fbb9163abf build: Use Gradle 4.2 2017-10-04 14:40:08 +03:00
Vasily Levchenko 6511340eb3 [build][performance] fix exeSuffix after recent refactoring 2017-10-02 09:54:37 +03:00
Vasily Levchenko 910e79a482 [build][platform libs] order build of libraries in topological order 2017-09-28 06:14:18 +03:00
Alexander Gorshenev 97936093dc Build platform libs within the bundle top level target. 2017-09-26 13:25:47 +03:00
Ilya Matveev 4c3016d21b unit-tests: Minor fixes before review 2017-09-25 11:31:22 +03:00
Vasily Levchenko f26e5b5f02 unit-tests: Create a simple test runner implementation 2017-09-25 11:31:22 +03:00
Aleksey Kladov 298778cc09 [build] fix conflict between bulid and jars tasks
The file `backend.native/build/libs/backend.native.jar` was produced
by two different tasks `:backend.native:jar` (default task of Java
Plugin) and `backend.native:jars` (our custom task). This caused the
`:dist: task to never be UP-TO-DATE.
2017-09-19 18:18:17 +03:00
Vasily Levchenko dd7ddbcc24 [build][platform] adoption recent changes in konan interop plugin 2017-09-14 19:14:01 +03:00
Alexander Gorshenev b367a0d255 HTML5 canvas drawing demo. 2017-09-13 19:04:59 +03:00
Vasily Levchenko ce3ed52705 [build]: platform lib build added
distPlatformLibs - command build and install klibs in dist
2017-09-13 17:23:08 +03:00
Vasily Levchenko 165f0ae93c [build][performance] fix Windows run 2017-09-13 16:46:11 +03:00
Vasily Levchenko 403c774688 [performance] compilation and execution with kotlin native and jvm, comparing results 2017-08-29 16:48:38 +03:00
Ilya Matveev 60ed6f6871 dependencies: Move dependency downloader into shared project 2017-08-23 19:42:06 +07:00
Ilya Matveev fb15992546 build: Distribute 'shared' as a separate jar 2017-08-23 19:42:06 +07:00
Vasily Levchenko de8cc297f2 [dist] include in dist helper lldb sctipt 2017-08-22 21:12:34 +03:00
Ilya Matveev 4931b2f05b build: Refactor dependencies updating 2017-08-17 10:27:40 +07:00
Ilya Matveev cdd235d53a build: Run performance tests from root project 2017-08-16 10:33:58 +07:00
Ilya Matveev 73b172f32d perf: Move benchmarks to separate gradle build
This patch separates the benchmark Gradle build from the root one.
It allows us to use the latest (built from sources) Gradle
plugin to compile the benchmarks instead of the released one.
2017-08-10 11:42:01 +07:00
Alexander Gorshenev b4660d03a1 Initial .wasm file generation for the wasm32 target.
Some basic launcher.js and runtime.
2017-08-03 17:51:48 +03:00
Konstantin Anisimov b3fe93cc18 Enable performance testsuite 2017-08-03 18:21:49 +07:00
Nikolay Igotti 06e31939dd WebAssembly effort (#721) 2017-07-14 16:44:46 +03:00
Alexander Gorshenev 55c4966203 Moved clang flags out of the root build.gardle.
Collected clang args in ClangArgs.kt
Switched dependencies/build.gradle to KonanTarget.
Introduced KonanProperties to take care of target specific properties.
2017-07-12 18:31:09 +03:00
Ilya Matveev 501a40501e build: Use .zip for windows bundle 2017-06-20 21:44:12 +07:00
Ilya Matveev 9747704c8b samples: Minor fixes for bundle
1. Rearrange tasks for C++ and Kotlin compilation in concurrent
sample. It allows the build to download all dependencies before
the compilation.

2. Don't copy *.kt.bc-build directories in the distribution archive.
2017-06-20 18:13:35 +07:00
Vasily Levchenko 7ef5cbb52a [stage][link][debug] always produce code with debug info. 2017-06-15 10:53:22 -07:00
Igor Chevdar 3a55c123d7 Sample: textured dodecahedron rotated by fingers 2017-06-15 19:04:58 +03:00
Igor Chevdar 2151e55576 Added separate launcher for android 2017-06-15 19:04:58 +03:00
Nikolay Igotti 0e8a1292a7 v0.3 preparations (#648) 2017-06-14 16:14:47 +03:00
Alexander Gorshenev 114010bbcd Make klib info report targets available. 2017-06-08 03:28:18 +03:00
Alexander Gorshenev 646117a60b Initial klib tool check in. 2017-06-08 03:28:18 +03:00
Alexander Gorshenev fe5945aebe Using a single shell script for both 'cinterop' and 'konanc'. 2017-06-08 03:28:18 +03:00
Nikolay Igotti dd81d529ee Support for Android ARM64 on Mac (#627) 2017-06-02 15:05:15 +03:00
SvyatoslavScherbina 94add3cc20 Add compiler scripts for Windows (#625) 2017-06-02 13:50:27 +03:00
SvyatoslavScherbina f2f82ab843 Support stack traces on Windows (#624)
Use GCC's unwind and load COFF symbols on mingw target.
2017-06-01 17:06:11 +03:00
Nikolay Igotti 74ffc479bb Add Windows i18n support (#617) 2017-05-31 10:01:49 +03:00
Ilya Matveev 4f9a1e9a33 build: Make gradle plugin depending on dist task 2017-05-31 10:17:14 +07:00
Ilya Matveev 8acd02dfee samples: Use built from sources gradle plugin by default. 2017-05-31 10:17:14 +07:00
Svyatoslav Scherbina d6b8b4fb0f Add basic support for Windows with mingw-w64 2017-05-29 19:13:55 +03:00
Alexander Gorshenev 380010d1ee -produce program|library|bitcode
'program' makes a kexe.

    'library' makes a klib.

    'bitcode' makes just a bare bitcode file.

    The default is 'program'.
2017-05-29 15:01:42 +03:00
alexander-gorshenev e44e58a4b8 Remove demo target. (#609) 2017-05-27 15:10:07 +03:00
Ilya Matveev f1256edb02 build: Use konan.properties values for some building constants.
This patch uses values provided by konan.properties to specify
build dependencies (libffi and sysroots) and the "target" parameter
for LLVM.
2017-05-26 15:52:42 +07:00
Nikolay Igotti 070ea929f0 Small backtrace support cleanup. 2017-05-25 22:35:56 +03:00
Nikolay Igotti a4ba0fbb32 Add Linux backtrace support. (#605) 2017-05-25 15:50:18 +03:00
Ilya Matveev 862c68b5c5 Gradle plugin: fix --include-build workflow
By convention, gradle uses project name as artifactId, `project.group`
property for groupId and `project.version` for version.

This commit switches to this convention instead of configuring
publication tasks directly. It allows to easily substitute published
plugin with a plugin build locally by issuing

`./gradlew build --include-build ../kotlin-native`

in the dependent project.
2017-05-25 15:11:50 +07:00
Nikolay Igotti 42197a2bec Android NDK support and build system refactoring (#585) 2017-05-24 00:20:19 +03:00
Miquel Beltran dfc179e2b9 Support armv6 devices (Pi Zero) (#588) 2017-05-21 10:56:40 +03:00
Alexander Gorshenev bca34894d3 A stray println removed. 2017-05-19 12:42:13 +03:00
Alexander Gorshenev 3b5ce031f8 Initial checkin of klib support.
The libraries exist in two incarnations:
    packed foo.klib and unpacked foo/ .
The compiler when given '-library foo' expects to find either
a foo.klib file and unpack it, or an already unpacked foo/ directory.

The stdlib is always unpacked in dist/klib .

The semantics of -o has changed slightly.
It now accepts '-o foo' and the compiler
either produces foo.kexe or foo.klib .
2017-05-18 04:13:35 +03:00
Ilya Matveev 8ee788e6b5 gradle-plugin: Add dist target 2017-05-15 18:31:30 +07:00
Svyatoslav Scherbina 8ebc0bd1ea Do not move libclang out from the clang distribution
Also load libclang using the absolute path to simplify cinterop
2017-04-26 20:07:06 +03:00