Commit Graph

71 Commits

Author SHA1 Message Date
Sergey Bogolepov eb486a6e45 [DependencyProcessor] Untie from platform-default archive type
MinGW artifacts have `.zip` extension, while their versions for Linux and macOS have `.tar.gz`.
To be able to download zips on macOS (and vice-versa) we pass archive type as parameter to DependencyProcessor.
2020-03-03 11:28:59 +07:00
Vasily Levchenko bc1b67678e [REVERTME] filtering out ANDROID_X64, WATCHOS_{X64,ARM64}, TVOS_{X64,ARM64} from enabled platform till their full support 2019-08-27 11:18:44 +03:00
Ilya Matveev d393fc4857 Fix dependency downloading 2019-02-22 14:57:10 +03:00
Nikolay Igotti 32fe05afa2 Copyright update. (#1944) 2018-08-27 14:55:51 +03:00
Vasily Levchenko 2e4cd70f1a [build] replace direct urls with cached ones 2018-07-09 09:52:02 +03:00
Sergey Mashkov 420ef4f221 Introduce environment variable to .konan parent dir 2018-04-05 19:58:18 +07:00
Vasily Levchenko 1a0f9bfe2e [kotlin compiler][update] 1.2.40-dev-610
Switch to pinned teamcity builds.
2018-03-13 11:21:16 +03:00
Vasily Levchenko f78bd00e80 [kotlin compiler][update] 1.2.40-dev-610 2018-02-28 11:09:16 +03:00
Vasily Levchenko 4e745015e4 [build][dependencies] no dependencies from sonatype (#1315)
* [build][gradle][dependencies] makes adding dependencies easier

* [build][gradle][dependencies] adding dependencies to make performance independent from sonatype
2018-02-12 18:48:56 +03:00
Alexander Gorshenev 9789420ed3 A configurable zephyr board support. 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
SvyatoslavScherbina c09fd4d355 Add support for custom Xcode location (#1273) 2018-01-30 15:04:29 +03:00
Vasily Levchenko a5e8d3dfc9 [kotlin compiler][update] 1.2-20180126.115605-180 (#1269)
* [kotlin compiler][update] 1.2-20180126.115605-180

kotlinScriptRuntimeVersion=1.2-20180126.115623-180
kotlinStdLibVersion=1.2-20180126.115626-180
kotlinReflectVersion=1.2-20180126.115618-180
kotlinStdLibJdk8Version=1.2-20180126.115632-180
kotlinGradlePluginVersion=1.2-20180126.115615-180

* [build] Fix upload for Kotlin dependencies
2018-01-30 10:50:57 +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
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
Vasily Levchenko 0ef6f2fa5b [kotlin compiler][update] 1.2-20171217.163053-69
kotlinScriptRuntimeVersion=1.2-20171217.163109-69
kotlinStdLibVersion=1.2-20171217.163113-69
kotlinReflectVersion=1.2-20171217.163105-69
kotlinStdLibJdk8Version=1.2-20171217.163118-69
kotlinGradlePluginVersion=1.2-20171217.163101-69
2017-12-18 11:44:55 +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
Vasily Levchenko deaf52c77e [kotlin compiler][update] 1.2.20-dev-719 2017-12-14 14:11:41 +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
Ilya Matveev 1c16fc1166 build: Rename kotlin version properties
kotlin_version -> buildKotlinVersion
kotlinVersion -> kotlinCompilerVersion
2017-12-01 13:01:08 +07:00
Ilya Matveev 044cced42b dependencies: Redownload unstable dependencies 2017-11-24 18:06:55 +07:00
Vasily Levchenko 9d7ed9d153 [kotlin compiler][update] 1.2-20171110.225330-21
script runtime : 1.2-20171110.225348-21
stdlib         : 1.2-20171110.225351-21
reflect        : 1.2-20171110.225343-21
stdlib-jdk8    : 1.2-20171110.225357-21
gradle plugin  : 1.2-20171110.225340-21
2017-11-14 09:27:30 +03:00
Vasily Levchenko 5d514e3ede [kotlin compiler][update] 1.2.0-rc-39 2017-11-08 09:46:20 +03:00
Vasily Levchenko 6457e97364 [kotlin compiler][update] 1.1-20171004.235336-906
kotlin-script-runtime: 1.1-20171004.235353-597
kotlin-stdlib: 1.1-20171004.235357-905
kotlin-reflect: 1.1-20171004.235348-905
kotlin-stlib-jdk8: 1.1-20171004.235402-815
kotlin-gradle-plugin: 1.1-20171004.235345-884
2017-10-12 15:16:30 +03:00
Vasily Levchenko 3a9169f5ea [upload] fix of pom generation on uploaded artifacts
problem introduced in d488e35219
2017-09-04 14:18:53 +03:00
Vasily Levchenko d488e35219 [upload]: make bintray load several artifacts 2017-08-29 16:48:38 +03: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 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
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