Aleksey Kladov
424a330f7e
Custom progress reporting for dependency downloader
2017-10-10 15:37:41 +03:00
SvyatoslavScherbina
faa5ba0e7c
Move platform libs to dist/klib/$target ( #926 )
2017-10-10 14:48:42 +03:00
Svyatoslav Scherbina
e7cea96692
Add .def files for iOS platform libs
2017-10-09 17:24:47 +03:00
Alexander Gorshenev
3abd8e4851
Renamed x86-64 suffix to x64.
...
RaspberryPi was mistakenly attributed to its own architecture,
whereas it should be just ARM32.
2017-10-06 15:41:07 +03:00
Alexander Gorshenev
174e440d9d
Extracted Konan dependent pieces of Stub Generator to separate components
...
and ported them from string manipolations to KonanTarget + KonanProperties.
2017-10-06 15:41:07 +03:00
Ilya Matveev
e245a23c34
Minor improvements in recursive klib dependency support
...
* Support -r option in the cinterop tool.
* Move klib resolve into separate methods.
* Don't treat directory as a library if it doesn't contain a manifest.
* Rework recursive library search + duplicate removal.
* Support recursive klib processing in the cinterop tool.
2017-10-06 14:36:09 +03:00
Vasily Levchenko
910e79a482
[build][platform libs] order build of libraries in topological order
2017-09-28 06:14:18 +03:00
Vasily Levchenko
f6c040ea3d
[interop][shared] introduce depends field of DefFile for declaring library dependencies
...
diff --git a/klib/src/platform/osx/objc.def b/klib/src/platform/osx/objc.def
index 9631fe3b..510de838 100644
--- a/klib/src/platform/osx/objc.def
+++ b/klib/src/platform/osx/objc.def
@@ -7,6 +7,6 @@ headers = objc/List.h objc/NSObjCRuntime.h objc/NSObject.h objc/Object.h objc/Pr
compilerOpts = -D_XOPEN_SOURCE
linkerOpts = -lobjc
-
+depends = osx posix
---
// objc-auto.h is excluded so far due to interop issues.
diff --git a/klib/src/platform/osx/osx.def b/klib/src/platform/osx/osx.def
index 8dfd8116..6573dc0c 100644
--- a/klib/src/platform/osx/osx.def
+++ b/klib/src/platform/osx/osx.def
@@ -28,6 +28,7 @@ headers = AppleTextureEncoder.h AssertMacros.h Availability.h AvailabilityIntern
compilerOpts = -D_XOPEN_SOURCE
linkerOpts = -ldl -lz
+depends = posix
---
diff --git a/klib/src/platform/osx/zlib.def b/klib/src/platform/osx/zlib.def
index 46ed691d..e3cab7ba 100644
--- a/klib/src/platform/osx/zlib.def
+++ b/klib/src/platform/osx/zlib.def
@@ -1,3 +1,4 @@
package = platform.zlib
headers = zconf.h zlib.h
linkerOpts = -lz
+depends=posix
2017-09-28 06:14:18 +03:00
Vasily Levchenko
46e6d60749
[interop][shared] extract DefFile class for using in cinterop tool and gradle plugin
2017-09-28 06:14:18 +03:00
Sergey Bogolepov
0fb788d580
Renamed targets. Added linux_ prefix
...
mips32 -> linux_mips32
mipsel32 -> linux_mipsel32
2017-09-26 16:18:33 +03:00
Sergey Bogolepov
b7978c3a1f
Renamed targets.
...
mips -> mips32
mipsel -> mipsel32
2017-09-26 16:18:33 +03:00
Sergey Bogolepov
46eed4efbb
Enabled disabled targets
2017-09-26 16:18:33 +03:00
Sergey Bogolepov
ca567ac35c
Added support for mipsel
2017-09-26 16:18:33 +03:00
Sergey Bogolepov
9187022721
Initial support for MIPS
2017-09-26 16:18:33 +03:00
Ilya Matveev
c37e650da2
dependencies: Don't retry downloading in case of bad HTTP response
...
#KT-20194 Fixed
2017-09-25 11:31:46 +03:00
Svyatoslav Scherbina
79455c5161
Support interop modularity
...
* Add list of included headers into the manifest
* Implement importing "foreign" type declarations
* Implement forward declarations more natively in the compiler
* Represent Objective-C categories as Kotlin extension methods and
properties
Also:
* Do some refactoring in stub generation
* Call bridges directly in stubs for Objective-C properties
2017-09-14 16:47:26 +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
Alexander Gorshenev
eb0d02715c
Introduced appendBytes for Konan File.
2017-09-13 12:23:49 +03:00
Eugene Petrenko
b1e84593b5
fix leaked non-daemon thread in Downloader
2017-09-11 13:24:49 +03:00
Nikolay Igotti
7d72beb27c
Improve memory tracing, fix 32-bit platforms ( #815 )
2017-08-29 10:21:47 +03:00
Ilya Matveev
ef9ecf6bde
dependencies: Check if a server support resuming downloading
2017-08-23 19:42:06 +07:00
Ilya Matveev
d2c3e320c6
[SQUASHME] Review fixes
2017-08-23 19:42:06 +07:00
Ilya Matveev
7116801dc6
dependencies: Track downloading in a separate thread
2017-08-23 19:42:06 +07:00
Ilya Matveev
b6544dbde8
dependencies: Implement resuming downloading
2017-08-23 19:42:06 +07:00
Ilya Matveev
60ed6f6871
dependencies: Move dependency downloader into shared project
2017-08-23 19:42:06 +07:00
Ilya Matveev
4931b2f05b
build: Refactor dependencies updating
2017-08-17 10:27:40 +07:00
Svyatoslav Scherbina
d3185e3e19
Implement very basic Objective-C interop
...
Also refactor StubGenerator
2017-08-16 10:04:23 +03:00
Svyatoslav Scherbina
5da5887fc6
Fix resource leak in compiler
2017-08-16 10:04:23 +03:00
Robert Hencke
72ca603d71
Reduce boilerplate for applying kotlin-gradle-plugin.
2017-08-07 17:25:52 +07:00
Alexander Gorshenev
a0e15a7776
Eliminated some warnings.
2017-08-07 12:36:32 +03: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
Nikolay Igotti
06e31939dd
WebAssembly effort ( #721 )
2017-07-14 16:44:46 +03:00
Nikolay Igotti
64e106157f
Custom malloc support ( #742 )
2017-07-14 16:21:42 +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
alexander-gorshenev
d3c24bb387
Different extensions (and KonanTarget communalization). ( #665 )
2017-06-19 12:45:57 +03:00