Reorganising build.gradle for CUDA 12

Signed-off-by: brian <brian@brutex.de>
CUDA12
Brian Rosenberger 2023-08-28 09:51:28 +02:00
parent 0d06e739ed
commit 6ef841e882
1 changed files with 1 additions and 7 deletions

View File

@ -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()) {