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
Alexander Gorshenev
bb47a28c15
Properly handle TLS for -produce dynamic.
...
In additon, changed konan.properties linkerDebugFlags to linkerNoDebugFlags to reflect reality.
2017-12-12 16:48:26 +03:00
Vasily Levchenko
dd39219ee4
[properties] naive prioritize suffixed keys against unsuffixed
2017-12-12 14:21:43 +03:00
Vasily Levchenko
846e091a5b
[compiler] accepts options from file prefixed with '@'
2017-12-12 14:21:05 +03:00
Vasily Levchenko
ccc630d528
[gradle][dependencies] don't try to deal with unstable dependencies in tools just in :dependencies:update task
2017-12-11 12:00:35 +03:00
Vasily Levchenko
4baeb5cb45
[wasm32] linux & mingw support
2017-12-11 12:00:35 +03:00
Nikolay Igotti
93a3444a70
Python extension sample. ( #1123 )
2017-12-08 12:38:19 +03:00
Alexander Gorshenev
63aff3eded
Compile the C Adaptor with clang and link it to the final binary.
2017-12-07 05:10:24 +03:00
Alexander Gorshenev
5116d43f4f
Some renaming to reflect reality.
2017-12-07 05:10:24 +03:00
Svyatoslav Scherbina
d51e0e0a30
Improve produced framework layout on mac
2017-12-06 12:10:02 +03:00
Svyatoslav Scherbina
5ade7505b3
Implement Info.plist generation for produced frameworks
2017-12-06 12:10:02 +03:00
Vasily Levchenko
3a6cb76dc1
[llvm][update][5.0.0] llvm 5.0.0
2017-12-01 10:36:34 +03:00
Ilya Matveev
1c16fc1166
build: Rename kotlin version properties
...
kotlin_version -> buildKotlinVersion
kotlinVersion -> kotlinCompilerVersion
2017-12-01 13:01:08 +07:00
Svyatoslav Scherbina
d745e80135
Implement -produce framework option
...
It compiles Kotlin code to Objective-C framework
(also importable to Swift)
2017-11-29 12:12:02 +03:00
Ilya Matveev
044cced42b
dependencies: Redownload unstable dependencies
2017-11-24 18:06:55 +07:00