Ilya Matveev
bee7dcd704
Fix gradle plugin versioning and the plugin version used by samples
2018-04-26 11:34:45 +07:00
Ilya Matveev
36fe07e159
[gradle-plugin] Fix version according to the new versioning system
2018-04-24 19:46:52 +07:00
Ilya Matveev
89d0886043
[version] Annotate properties used by version generator as inputs
2018-04-24 19:46:52 +07:00
Alexander Gorshenev
6dc6ba5137
Allow arch and family susbtitutions in manifest files.
2018-04-24 12:20:41 +03:00
Vasily Levchenko
a23ca71e5c
[build][version] more accurate version string for local builds (drops -1 in build number)
2018-04-24 00:11:40 +03:00
Nikolay Igotti
d4c0384bcc
Fix WASM build.
2018-04-23 10:22:51 +03:00
Vasily Levchenko
6a47e7885a
[build][version] use konan version for generating artifact name ( #1523 )
2018-04-22 20:07:42 +01:00
Nikolay Igotti
14efa811e3
Support static Android libs as well.
2018-04-20 17:10:13 +03:00
Nikolay Igotti
569bb71bca
Support static library production. ( #1515 )
2018-04-20 12:25:59 +01:00
Vasily Levchenko
1d6a715ecd
[build][shared] added clean up of generated sources
2018-04-20 12:52:25 +03:00
Nikolay Igotti
55c6090a08
Revert "Revert unified versioning."
...
This reverts commit fe28b13e4f .
2018-04-20 09:43:21 +03:00
Vasily Levchenko
fe28b13e4f
Revert unified versioning.
...
Revert "[build][version] generate KonanVersion using data from gradle.properties." 07ae3144de .
Revert "[gradle][test] disable version test" 86ec80a6a7 .
Revert "[build][version][doc] update" 94ba9d61a9 .
2018-04-20 06:49:06 +03:00
Nikolay Igotti
688b3f26f2
Be more tolerant to non-existing paths in library reader. ( #1511 )
2018-04-18 11:47:58 +01:00
Vasily Levchenko
07ae3144de
[build][version] generate KonanVersion using data from gradle.properties.
...
- uses konanMetaVersion for meta version field
- uses dep.Kotlin_KotlinNative_Master_KotlinNativeCheckout.build.counter as build counter
- shared/compiler/gradle plugin uses the same version.
2018-04-18 08:01:28 +02:00
Sergey Mashkov
74da4eb09b
Improve gradle tasks list
2018-04-05 19:58:18 +07:00
Sergey Mashkov
420ef4f221
Introduce environment variable to .konan parent dir
2018-04-05 19:58:18 +07:00
Nikolay Igotti
e1e4a5ce82
Update toolchain. ( #1456 )
2018-03-30 19:00:48 +03:00
Svyatoslav Scherbina
2758aad1e9
Support 'exportForwardDeclarations' internal .def file option
2018-03-30 14:52:02 +03:00
Alexander Gorshenev
54bede3db3
Getting rid of detailedName
2018-03-30 13:51:46 +03:00
Alexander Gorshenev
0570e281a9
Moved KonanTargets to be mostly pairs.
...
Moved nice device and generic os names to be target aliases.
2018-03-07 14:41:33 +03:00
Mike Sinkovsky
8d7d0907fc
zephyr: win32 host
2018-03-01 17:03:53 +03:00
Ilya Matveev
164d35c73f
[stdlib] Implement kotlin.math for wasm
2018-03-01 17:02:37 +03:00
Alexander Gorshenev
ac6c3443eb
Gte rid of warnings about enum size for zephyr.
2018-02-27 15:16:37 +03:00
Alexander Gorshenev
0de9b3a9b6
We now have a Kotlin program to blink a LED on stm32f4_disco.
2018-02-27 15:16:37 +03:00
Sergey Bogolepov
1be56f1e51
Do not save temporary files by default
2018-02-27 12:13:32 +03:00
Nikolay Igotti
346e1aefcf
Rework globals init. ( #1336 )
2018-02-23 01:32:01 +03:00
Ilya Matveev
db253cb297
[gradle-plugin] Use HostManager instead of PlatformManager
...
Gradle plugin uses PlatformManager to initialize tasks
when the compiler is not downloaded yet. In this case
PlatformManager cannot read konan.properties file.
This patch replaces PlatformManager with HostManager
2018-02-13 17:31:14 +07:00
Alexander Gorshenev
9789420ed3
A configurable zephyr board support.
2018-02-12 16:00:58 +03:00
Mike Sinkovsky
d968fafec0
zephyr: first attempt
2018-02-12 16:00:58 +03:00
Alexander Gorshenev
a5bc23d706
Moved KonanTarget to be a sealed class rather than enum.
2018-02-12 16:00:58 +03:00
Sergey Bogolepov
954dcc6583
Removed unnecessary flag
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
e397c1d73e
Added opt and llc configs for wasm32
2018-02-06 14:39:14 +03:00
Nikolay Igotti
22ae65deb0
Support build with Java 9. ( #1274 )
2018-01-30 17:10:17 +03:00
SvyatoslavScherbina
c09fd4d355
Add support for custom Xcode location ( #1273 )
2018-01-30 15:04:29 +03:00
Alexander Gorshenev
d4b47ac709
Splitted KonanProperties into Configurables hierarchy.
...
Untangled Platfrom classes from the LinkStage and Distribution.
Simplified clang management a little.
2018-01-26 16:38:27 +03:00
Svyatoslav Scherbina
7106b0e760
Avoid using Kotlin/Native-specific clang arguments for other sources
2018-01-19 16:20:48 +03:00
Svyatoslav Scherbina
e171b99adb
Remove KonanProperties.defaultCompilerOpts
...
Use ClangManager instead
2018-01-19 16:20:48 +03:00
Alexander Gorshenev
f703877160
Introduced support for javascript Math and Kotlin Double to WASM32.
...
Implemented jsinterop tool for interaction with js math.
2018-01-19 13:46:53 +03:00
Ilya Matveev
32972af5bd
[build] Fix 'shared' jar copying
2018-01-17 16:58:44 +07:00
Ilya Matveev
1f74f4dc6d
[build] Specify group and version in 'shared' project
2018-01-17 16:58:44 +07:00
Ilya Matveev
f409287438
[build] Improve composite build
2018-01-17 16:58:44 +07:00
Ilya Matveev
a2b6c71f73
[build] Move shared and gradle-plugin into separate gradle builds
...
Platform libs build will be changed by a separate commit
2018-01-17 16:58:44 +07:00
Alexander Gorshenev
e64c2f5990
Further refactored external utility execution.
2018-01-12 18:17:46 +03:00
Alexander Gorshenev
eae130e246
He says make it an extension property.
2017-12-18 15:04:02 +03:00
Alexander Gorshenev
dda43dd4a1
Renamed userName to visibleName.
2017-12-18 15:04:02 +03:00
Alexander Gorshenev
ff49153e79
Get rid of explicit value case manipulations.
2017-12-18 15:04:02 +03:00
SvyatoslavScherbina
c194c89346
Implement simple heuristic to decide about using internal server ( #1153 )
2017-12-18 12:28:30 +03:00
Ilya Matveev
2cd5bfe015
Fix typos and remove some TODOs
2017-12-18 15:23:52 +07:00
Svyatoslav Scherbina
07fce11780
Use Xcode-bundled SDKs for macOS, iOS and iOS simulator targets
...
Also
* Update macOS SDK to 10.13
* Update iOS SDK to 11.2
* Enable iOS simulator support
* Disable tetris on iOS as we don't provide SDL2 in sysroot anymore
2017-12-15 14:38:22 +03:00
Svyatoslav Scherbina
228ec9d286
Rework compiler dependency management
...
And support for searching them locally and
downloading from internal server if KONAN_USE_INTERNAL_SERVER is set
Also:
Allow sysroot to change version minorly.
2017-12-15 14:38:22 +03:00