Skip to content

Commit

Permalink
Temporarily disable some build caching.
Browse files Browse the repository at this point in the history
Signed-off-by: Kenneth J. Shackleton <[email protected]>
  • Loading branch information
kennethshackleton committed Sep 13, 2023
1 parent eb3c72b commit f997f67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions OpenSSL/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ arrayOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64").forEach {
outputs.files(fileTree("${openSslWorkingDir(it)}/include") { include("**/*.h") })
.withPropertyName("headers")
outputs.dir("${layout.buildDirectory.get()}/libs/$it").withPropertyName("lib")
outputs.cacheIf { true }
outputs.cacheIf { false } // TODO Restore me.
workingDir(projectDir)
commandLine("./build_libraries.sh")
args(
Expand Down Expand Up @@ -146,7 +146,7 @@ tasks.register<Exec>("configureHost") {
inputs.property("version", openSslVersion())
outputs.files("$openSslWorkingDir/Makefile", "$openSslWorkingDir/configdata.pm")
.withPropertyName("configure")
outputs.cacheIf { true }
outputs.cacheIf { false } // TODO Restore me.
workingDir(openSslWorkingDir)
commandLine("./config")
}
Expand All @@ -162,7 +162,7 @@ tasks.register<Exec>("makeHost") {
outputs.files(fileTree("$openSslWorkingDir/include") { include("**/*.h") })
.withPropertyName("headers")
workingDir(openSslWorkingDir)
outputs.cacheIf { true }
outputs.cacheIf { false } // TODO Restore me.
commandLine("make")
args("build_libs")
logging.captureStandardOutput(LogLevel.INFO)
Expand All @@ -174,7 +174,7 @@ tasks.register<Copy>("assembleHost") {
inputs.property("version", openSslVersion())
val outputDir = "${layout.buildDirectory.get()}/libs/${targetIdentifier()}"
outputs.dir(outputDir).withPropertyName("libs")
outputs.cacheIf { true }
outputs.cacheIf { false } // TODO Restore me.
from(fileTree(openSslWorkingDir) {
arrayOf(".a").forEach { e ->
include("**/libcrypto$e")
Expand Down

0 comments on commit f997f67

Please sign in to comment.