Ilya Matveev
4931b2f05b
build: Refactor dependencies updating
2017-08-17 10:27:40 +07:00
Ilya Matveev
266047118e
dependencies: Set downloading retry parameters in konan.properties
2017-08-16 10:33:07 +07:00
Robert Hencke
72ca603d71
Reduce boilerplate for applying kotlin-gradle-plugin.
2017-08-07 17:25:52 +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
Vasily Levchenko
24489e8a36
[build][updater] use artifactId and version for generated pom files, instead of given from repository.
2017-06-19 21:00:28 -07:00
Nikolay Igotti
dd81d529ee
Support for Android ARM64 on Mac ( #627 )
2017-06-02 15:05:15 +03:00
Svyatoslav Scherbina
d6b8b4fb0f
Add basic support for Windows with mingw-w64
2017-05-29 19:13:55 +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
42197a2bec
Android NDK support and build system refactoring ( #585 )
2017-05-24 00:20:19 +03:00
Ilya Matveev
49cc820afb
build: Upload kotlin-compiler sources to bintray mirror
2017-05-19 19:07:26 +07: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
fe5badee34
build: Store kotlin-compiler repo URL in a project property
2017-05-02 18:17:27 +07:00
Ilya Matveev
3f0a273a11
build: Switch Kotlin compiler downloading to kotlin-dev bintray repo
...
This patch uses kotlin-dev bintray repo (dl.bintray.com/kotlin/kotlin
-dev/org/jetbrains/kotlin/kotlin-compiler/) for Kotlin compiler
downloading instead of the sonatype repo and our bintray mirror of it.
So there is not need to run ./gradlew update_kotlin_compiler on each
compiler update.
It also updates kotlin-compiler to 1.1.3-dev-1619
2017-05-02 18:17:27 +07:00
Ilya Matveev
94c1716899
build: Fix dependency uploading to bintray repo
2017-05-02 18:17:27 +07:00
Ilya Matveev
654ece0311
build: Add bintray repo in dependencies project
2017-05-02 18:17:27 +07:00
Ilya Matveev
c9a344f8c7
build: Upload used kotlin-compiler builds to bintray
2017-04-28 17:15:01 +07:00
Ilya Matveev
ca5418ad15
Fix license position in dependencies/build.gradle
2017-04-13 18:27:08 +07:00
Ilya Matveev
bd747b54bd
build: Use a property to provide an URL for dependency downloading
...
This patch adds baseUrl property to store a dependency downloading
path. The property may be set for each downloading task separately.
2017-04-12 18:50:23 +07:00
Nikolay Igotti
0cbd34086e
Added JB copyright ( #417 )
2017-03-30 09:51:58 +03:00
Ilya Matveev
fd5f837299
Use download.jetbrains.com for user dependency downloading
2017-03-30 11:02:35 +07:00
Ilya Matveev
a906bd0d07
Download dependencies only in dist
...
Don't extract dependencies in dependencies/all, only in dist/dependencies
Remove konan.dependencies property
2017-03-30 11:02:35 +07:00
Ilya Matveev
ddcecba1dc
Rename clang+llvm-3.9.0* dependencies to clang-llvm-3.9.0*
2017-03-29 16:38:19 +07:00
Ilya Matveev
9ca938bfef
build: Use dependency downloading helper in dependencies:update
2017-03-29 14:42:48 +07:00
SvyatoslavScherbina
c4abb8f706
Implement varargs in interop for Kotlin N ( #393 )
...
* Implement CValues.equals and .hashCode
* Add trivial test for interop varargs
* Implement varargs in interop for Kotlin N
* Compile and link runtime with libffi
* Fix few places.
2017-03-27 16:44:24 +03:00
Nikolay Igotti
e197573e3e
Raspberry Pi target ( #365 )
2017-03-22 15:43:19 +03:00
Igor Chevdar
02878f14c0
Fixes in build scripts & tools.
...
Tetris: fixes for full screen mode.
2017-03-21 14:04:30 +03:00
Svyatoslav Scherbina
9052e08e59
build: fix compilation on Linux when using libclang
2017-02-21 16:42:14 +07:00
Alexander Gorshenev
7226a47edf
Disable simulator sysroot download.
2017-01-24 11:37:24 +04:00
Alexander Gorshenev
e895c0939c
More complete iphone_sim target support.
2017-01-24 02:23:08 +04: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
Svyatoslav Scherbina
66bd698270
build: make clang using gcc toolchain on Linux
...
also fix Mac build failure related to 'ar'
2016-11-11 19:22:34 +07:00
Svyatoslav Scherbina
bee2a76008
build: refactor platform checks
...
also improve verbosity when downloading dependencies fails
2016-11-11 19:22:34 +07:00
Nikolay Igotti
6c90ab1176
Use toolchain with relative paths on Linux.
2016-11-09 17:05:18 +03: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
644add92e5
build: download dependencies from the bintray repo
...
which is accessible from the outside
2016-10-31 17:59:39 +07:00
Vasily Levchenko
14025047a6
dependencies: do not download if file already exists
2016-10-20 21:23:54 +03:00
Svyatoslav Scherbina
b0998fe56e
dependencies: update libffi to 3.2.1-2
...
(trying to fix Linux build)
2016-10-17 18:05:00 +03:00
Svyatoslav Scherbina
3d350cf40d
dependencies: add minor code improvement
2016-10-17 18:00:45 +03:00
Svyatoslav Scherbina
e4bc19b145
build: download llvm and libffi from the JFrog repo
2016-10-17 17:35:57 +03:00
Svyatoslav Scherbina
7ed9d9c633
build: implement downloading (native) dependencies from the JFrog repo
2016-10-17 17:35:57 +03:00