Fix configurations on Mac and Windows
This commit is contained in:
committed by
LepilkinaElena
parent
8b2fed994a
commit
7e439432cd
@@ -56,7 +56,7 @@ open class RunKotlinNativeTask @Inject constructor(private val linkTask: Task,
|
|||||||
|
|
||||||
private fun execBenchmarkOnce(benchmark: String, warmupCount: Int, repeatCount: Int) : String {
|
private fun execBenchmarkOnce(benchmark: String, warmupCount: Int, repeatCount: Int) : String {
|
||||||
val output = ByteArrayOutputStream()
|
val output = ByteArrayOutputStream()
|
||||||
val useCset = project.property("useCset").toString().toBoolean()
|
val useCset = project.findProperty("useCset")?.toString()?.toBoolean() ?: false
|
||||||
project.exec {
|
project.exec {
|
||||||
if (useCset) {
|
if (useCset) {
|
||||||
it.executable = "cset"
|
it.executable = "cset"
|
||||||
|
|||||||
Reference in New Issue
Block a user