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
3737 group = BenchmarksPlugin .BENCHMARKS_TASK_GROUP
3838 description = " Generate Native source files for '${target.name} '"
3939 val compilation = target.compilation
40- onlyIf { compilation.compileKotlinTask.enabled }
4140 this .nativeTarget = compilation.target.konanTarget.name
4241 title = target.name
4342 inputClassesDirs = compilation.output.allOutputs
@@ -96,7 +95,6 @@ private fun Project.createNativeBenchmarkCompileTask(target: NativeBenchmarkTarg
9695 description = " Compile Native benchmark source files for '${compilationTarget.name} '"
9796 dependsOn(generateSourceTaskName(target))
9897 }
99- linkTask.onlyIf { compilation.compileKotlinTask.enabled }
10098 tasks.getByName(BenchmarksPlugin .ASSEMBLE_BENCHMARKS_TASKNAME ).dependsOn(linkTask)
10199 entryPoint(" kotlinx.benchmark.generated.main" )
102100 }
@@ -121,7 +119,6 @@ fun Project.createNativeBenchmarkExecTask(
121119 val binary =
122120 benchmarkCompilation.target.binaries.getExecutable(benchmarkCompilation.name, NativeBuildType .RELEASE )
123121 val linkTask = binary.linkTask
124- onlyIf { linkTask.enabled }
125122
126123 dependsOn(linkTask)
127124
You can’t perform that action at this time.
0 commit comments