Commit Graph

929 Commits

Author SHA1 Message Date
Ilya Matveev f096e272b3 backend.native/tests: Add JSON output to run-external task 2017-01-25 17:24:36 +03:00
Ilya Matveev c04233aebb buildSrc: Save test results to JSON 2017-01-25 17:24:36 +03:00
Ilya Matveev a4c4b1e7af buildSrc: Use SourceSet to define test output directory. 2017-01-25 17:24:36 +03:00
Vasily Levchenko 86e01d3636 BuildSrc: logFileName uses task name 2017-01-25 17:24:36 +03:00
Alexander Gorshenev afaa50ce34 Introduced -target and -list_targets flags.
Use it like

    $ konanc hello.kt -target iphone
2017-01-23 00:17:39 +04:00
Ilya Matveev 48122c8a03 backend/tests: Add test result reporting to run_external task.
+ regenerate external tests.
2017-01-20 14:24:35 +03:00
Ilya Matveev 6efe2b6d31 backend/tests: Add compilation logging 2017-01-20 14:24:35 +03:00
Ilya Matveev 89a74c0591 backend/tests: Use IGNORE_BACKEND directive to exclude java-dependent tests 2017-01-20 14:04:04 +03:00
Ilya Matveev bfdda21da1 backend/tests: Added task generation for test groups instead of tests 2017-01-20 14:04:04 +03:00
Ilya Matveev b6587252c0 backend/tests: Added test group running 2017-01-20 14:04:04 +03:00
Ilya Matveev fd44baf2c0 backend/tests: Infrastructure for external test running 2017-01-20 14:04:04 +03:00
Alexander Gorshenev ca193efa5c Introduced shims for LLVM StubGenerator.
Run your gradlew task with -Dshims=true to dump the trace

This is not a complete executable solution yet, but already very useful for llvm api tracing
2016-11-16 02:07:51 +04:00
Svyatoslav Scherbina 3d36973022 backend/build: improve LLVM link options
Update options according to llvm-config:

* delete "--stdlib=libc++"  (it seems to provoke runtime link errors on Linux)
* remove "-lffi" (it doesn't seem to be required)
* remove "-lc++" on macOS

Also move Linux system libs options to llvm.def (as for macOS)
2016-11-14 14:12:25 +07:00
Svyatoslav Scherbina 55f8257f92 build: simplify clang(++) configuration
also introduce 'execClang' block
2016-11-08 13:51:25 +07:00
Svyatoslav Scherbina e7558f9ddc build: add target native SDK as downloadable dependency
also improve Gradle native toolchains configuration
2016-11-02 17:02:14 +07:00
Svyatoslav Scherbina 74ab1503c3 Interop: make gradle plugin more friendly to complex dependency management
when representing dependencies as file collection
some meta information gets lost
2016-10-31 13:32:02 +07:00
Svyatoslav Scherbina e4bc19b145 build: download llvm and libffi from the JFrog repo 2016-10-17 17:35:57 +03:00
Svyatoslav Scherbina d00d3daf86 Interop: support passing linker as arg to stub generator 2016-10-13 17:29:02 +03:00
Svyatoslav Scherbina d800e193e8 runtime/build.gradle: extract bitcode compilation to custom task class 2016-10-13 17:29:01 +03:00
Svyatoslav Scherbina 94f3c1d048 Interop: implement stub gen without .def
also add some default values to .def file format
2016-10-13 13:10:44 +03:00
Svyatoslav Scherbina fc5c7ac6df Interop: support linking with libs from the same build 2016-10-13 13:10:44 +03:00
Svyatoslav Scherbina 1316aee069 Interop: add LD_LIBRARY_PATH to stub generation task 2016-10-13 13:10:20 +03:00
Svyatoslav Scherbina 57cfc617a6 Interop: represent it as dependency in Gradle plugin 2016-10-12 16:29:52 +03:00
Svyatoslav Scherbina af09ce085c Interop: implement callbacks using libffi 2016-10-10 18:41:59 +03:00
Svyatoslav Scherbina f94b48cbe0 Interop/Plugin: enable assertions when generating stubs 2016-10-05 08:29:11 +03:00
Svyatoslav Scherbina 33bfb2d063 Interop: improve support for multiple source sets in Gradle plugin 2016-10-04 16:25:18 +03:00
Vasily Levchenko c5fe74cf3a NativeInteropPlugin: scan in every declared sourceSet in project for def file 2016-09-29 17:42:35 +03:00
Svyatoslav Scherbina a6f7500126 Interop: handle all main.kotlin.srcDirs in Gradle plugin
also fix minor bug with default package
2016-09-29 12:27:20 +07:00
Vasily Levchenko 0eaaa58ed9 HEAD UPS! Global move: experiments -> kotlin-native 2016-09-28 13:22:36 +03:00