File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
plugin/main/src/kotlinx/benchmark/gradle Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ private fun Project.createNativeBenchmarkGenerateSourceTask(target: NativeBenchm
37
37
group = BenchmarksPlugin .BENCHMARKS_TASK_GROUP
38
38
description = " Generate Native source files for '${target.name} '"
39
39
val compilation = target.compilation
40
- onlyIf { compilation.compileKotlinTask.enabled }
41
40
this .nativeTarget = compilation.target.konanTarget.name
42
41
title = target.name
43
42
inputClassesDirs = compilation.output.allOutputs
@@ -96,7 +95,6 @@ private fun Project.createNativeBenchmarkCompileTask(target: NativeBenchmarkTarg
96
95
description = " Compile Native benchmark source files for '${compilationTarget.name} '"
97
96
dependsOn(generateSourceTaskName(target))
98
97
}
99
- linkTask.onlyIf { compilation.compileKotlinTask.enabled }
100
98
tasks.getByName(BenchmarksPlugin .ASSEMBLE_BENCHMARKS_TASKNAME ).dependsOn(linkTask)
101
99
entryPoint(" kotlinx.benchmark.generated.main" )
102
100
}
@@ -121,7 +119,6 @@ fun Project.createNativeBenchmarkExecTask(
121
119
val binary =
122
120
benchmarkCompilation.target.binaries.getExecutable(benchmarkCompilation.name, NativeBuildType .RELEASE )
123
121
val linkTask = binary.linkTask
124
- onlyIf { linkTask.enabled }
125
122
126
123
dependsOn(linkTask)
127
124
You can’t perform that action at this time.
0 commit comments