From 6ef841e88203accf547d2d413cf681c748c3dd65 Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 28 Aug 2023 09:51:28 +0200 Subject: [PATCH] Reorganising build.gradle for CUDA 12 Signed-off-by: brian --- cavis-native/cavis-native-lib/build.gradle | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cavis-native/cavis-native-lib/build.gradle b/cavis-native/cavis-native-lib/build.gradle index dab495866..cdfe480c3 100644 --- a/cavis-native/cavis-native-lib/build.gradle +++ b/cavis-native/cavis-native-lib/build.gradle @@ -222,12 +222,6 @@ chipList.each { String thisChip -> classPath = sourceSets.named(thisChip).get().compileClasspath.collect() - - //tasks.named("compileCudaJava").get().getOutputs().files.each {System.out.println(it)} - - System.out.println(it.name + ": INPUTS----------------") - inputs.files.each {System.out.println(it)} - System.out.println(it.name + ": INPUTS------------ENDE") /* Get VCVARS in case we want to build CUDA * MinGW64 g++ on MSYS is used otherwise */ if (thisChip.equals('cuda') && osdetector.os.startsWith("win") @@ -362,7 +356,7 @@ chipList.each { String thisChip -> dependsOn "javacpp${thisChip.capitalize()}SupportBuildCompiler" dependsOn "javacpp${thisChip.capitalize()}SupportBuildCommand" - //it.from sourceSets.getByName("${thisChip}Support").getOutput() + def spec = copySpec { from(tasks.named("javacpp${thisChip.capitalize()}SupportBuildCompiler").get()) {