Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>master
parent
42a27480e6
commit
6af05fc8a5
|
@ -36,14 +36,17 @@ dependencies {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
if(withCpu()) api project(path: ":cavis-native:cavi-native-lib", configuration: "cpuSupportCompileClasspath")
|
||||||
|
if(withCuda()) api project(path: ":cavis-native:cavi-native-lib", configuration: "cudaSupportCompileClasspath")
|
||||||
|
|
||||||
|
/*
|
||||||
api (project(':cavis-native:cavis-native-lib')) {
|
api (project(':cavis-native:cavis-native-lib')) {
|
||||||
capabilities {
|
capabilities {
|
||||||
if(withCpu()) requireCapability("net.brutex.cavis.cavis-native:cavis-native-lib-cpu-support")
|
if(withCpu()) requireCapability("net.brutex.cavis.cavis-native:cavis-native-lib-cpu-support")
|
||||||
//if(withCuda()) requireCapability("net.brutex.cavis.cavis-native:cavis-native-lib-cuda-support")
|
//if(withCuda()) requireCapability("net.brutex.cavis.cavis-native:cavis-native-lib-cuda-support")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -315,7 +315,6 @@ chipList.each { thisChip ->
|
||||||
classOrPackageNames = ["org.nd4j.nativeblas.${thisChip}.Nd4j${thisChip.capitalize()}Presets"]
|
classOrPackageNames = ["org.nd4j.nativeblas.${thisChip}.Nd4j${thisChip.capitalize()}Presets"]
|
||||||
outputDirectory = file("${buildDir}/generated/sources/javacpp/${thisChip}/${javacppPlatform}${javacppPlatformExtension}/")
|
outputDirectory = file("${buildDir}/generated/sources/javacpp/${thisChip}/${javacppPlatform}${javacppPlatformExtension}/")
|
||||||
|
|
||||||
|
|
||||||
classPath = sourceSets.getByName("${thisChip}Support").getRuntimeClasspath()
|
classPath = sourceSets.getByName("${thisChip}Support").getRuntimeClasspath()
|
||||||
classPath += ["${buildDir}/classes/java/${thisChip}Support/"]
|
classPath += ["${buildDir}/classes/java/${thisChip}Support/"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue