Commit Graph

75 Commits

Author SHA1 Message Date
Pavel Punegov 95a92d865e Adds workaround for IDEA-257366 2021-02-01 16:54:14 +01:00
Alexander Shabalin 6cc60ad6a2 Support sanitizers in runtime tests (#4622) 2021-01-26 17:38:02 +03:00
Sergey Bogolepov 5eae55be80 [Linux] Fix linker arguments order 2020-12-21 16:18:37 +01:00
Sergey Bogolepov 0f733b6baf Move linker selection to konan.properties 2020-12-21 16:18:37 +01:00
Sergey Bogolepov e8e705bf68 Introduce property for relocation mode 2020-12-21 16:18:37 +01:00
Sergey Bogolepov ecd3ea261c Move crt* files location to konan.properties 2020-12-14 15:31:10 +01:00
Sergey Bogolepov 61ece4d364 Cleanup Linker.kt a little 2020-12-14 15:31:10 +01:00
Sergey Bogolepov 6565d18a9f Use gold linker instead of lld on Windows and Linux
lld is doing something wrong for linux_arm32_hfp and linux_arm64 targets, so we fallback to gold linker on Linux and Windows.
See KT-41725 and KT-42446
2020-12-14 15:31:10 +01:00
Sergey Bogolepov ddaf477849 Support new linux_arm32_hfp_toolchain 2020-12-14 15:31:10 +01:00
Sergey Bogolepov 43bfeb5c33 Support new linux_arm64 toolchain 2020-12-14 15:31:10 +01:00
Sergey Bogolepov 73c27df1be Support new linux_mips32 and linux_mipsel32 toolchains 2020-12-14 15:31:07 +01:00
Sergey Bogolepov 9e93ee81e3 Add emulator properties to gcc configurables 2020-12-14 15:25:37 +01:00
Sergey Bogolepov 9c082775e6 Support caches on ios_arm64 2020-12-14 15:25:37 +01:00
Sergey Bogolepov 14617e2fe2 [MinGW] remove obsolete flag
See https://github.com/msys2/MINGW-packages/issues/5321
2020-12-14 15:25:36 +01:00
Sergey Bogolepov 87e4bbe0f6 [ClangArgs] Move sysroot setting to single place 2020-12-14 15:25:36 +01:00
Sergey Bogolepov 23223f7bb0 [ClangArgs] use --sysroot for all targets
Change `-isysroot` to `--sysroot` because it is the same thing on darwin targets.
2020-12-14 15:25:36 +01:00
Sergey Bogolepov c779ce2e6d Minor refactoring and reformatting of ClangArgs 2020-12-14 15:25:36 +01:00
Sergey Bogolepov 55b1e0faf0 [konan.properties] Make gccToolchain a target property
Previously, we used the same gccToolchain for all linux-based targets. It is dangerous because sysroot and toolchain might be incompatible. Since c82b843e we moved to unified and reproducible way to build toolchains, so we have a separate gccToolchain for each target.
2020-12-14 15:25:36 +01:00
Sergey Bogolepov 20931eebe1 [KT-43276] Add watchos_x64 target 2020-11-28 21:07:20 +01:00
Ilya Gorbunov bf4e53ae06 Use Files API for creating temp files and directories
(cherry picked from commit b9df8591d043c79f2032b782efc7539c747c2625)
2020-11-28 21:01:56 +01:00
Alexander Gorshenev edfdc88d6d Dropped outdated klib version compatibility mechanisms
(cherry picked from commit 31fe91b6553ba08b83c581bfa8341e4a21805e97)
2020-11-28 20:56:42 +01:00
LepilkinaElena 26ccdbdc18 Used lazy value of base class not to load properties from manifest twice (#4487) 2020-11-28 20:49:00 +01:00
Sergey Bogolepov 14526e57bc [Linker] Move gcc linkage flags to konan.properties 2020-11-28 20:48:58 +01:00
Sergey Bogolepov 431a7c9ba9 [KT-42234] Moved optimization flags to konan.properties
Combined with KT-40670, it simplifies tuning of LLVM optimization and compilation pipeline.
2020-11-28 20:48:57 +01:00
Stanislav Erokhin f624800b84 Move everything under kotlin-native folder
I was forced to manually do update the following files, because otherwise
they would be ignored according .gitignore settings. Probably they
should be deleted from repo.

Interop/.idea/compiler.xml
Interop/.idea/gradle.xml
Interop/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_runtime_1_0_3.xml
Interop/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_0_3.xml
Interop/.idea/modules.xml
Interop/.idea/modules/Indexer/Indexer.iml
Interop/.idea/modules/Runtime/Runtime.iml
Interop/.idea/modules/StubGenerator/StubGenerator.iml
backend.native/backend.native.iml
backend.native/bc.frontend/bc.frontend.iml
backend.native/cli.bc/cli.bc.iml
backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2Native.kt
backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2NativeCompilerArguments.kt
backend.native/tests/link/lib/foo.kt
backend.native/tests/link/lib/foo2.kt
backend.native/tests/teamcity-test.property
2020-10-27 21:00:28 +03:00