Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

https://github.com/JetBrains/kotlin-native/pull/3538 followup. #3547

Merged
merged 3 commits into from
Nov 7, 2019

Conversation

olonho
Copy link
Contributor

@olonho olonho commented Nov 5, 2019

No description provided.

build.gradle Outdated
@@ -356,7 +356,8 @@ task distDef(type: Copy) {
destinationDir distDir

from(project("platformLibs").file("src/platform")) {
into('klib/platformDef')
into('konan/platformDef')
exclude '**/*.sh'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not include '**/*.def' instead?

@@ -461,6 +462,7 @@ task crossDist {
}

task bundle(type: (isWindows()) ? Zip : Tar) {
dependsOn("distDef")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is likely required for both bundle and bundleRestricted.

@@ -83,6 +83,7 @@ private fun generatePlatformLibraries(target: String, inputDirectory: File, outp
if (!saveTemps) {
File("$outputDirectory/build-${def.name}").deleteRecursively()
}
File("$outputDirectory/clangModulesCache").deleteRecursively()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea behind module cache here was to reuse it for all platform libraries.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, moved removal below, PTAL.

@olonho olonho force-pushed the generator_followup branch from e35a133 to 0877faf Compare November 7, 2019 07:05
@olonho olonho merged commit ff05a7d into master Nov 7, 2019
@olonho olonho deleted the generator_followup branch November 7, 2019 07:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants