Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>master
parent
80aad3087a
commit
d91d9db283
|
@ -7,6 +7,7 @@ plugins {
|
||||||
apply from: rootProject.projectDir.path+"/chooseBackend.gradle"
|
apply from: rootProject.projectDir.path+"/chooseBackend.gradle"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
afterEvaluate {
|
||||||
//Todo clean this
|
//Todo clean this
|
||||||
api platform(project(":cavis-common-platform"))
|
api platform(project(":cavis-common-platform"))
|
||||||
//api "org.bytedeco:javacpp:1.5.7" //for some reason we needed to apply version numbers here, they do not end up in POM otherwise
|
//api "org.bytedeco:javacpp:1.5.7" //for some reason we needed to apply version numbers here, they do not end up in POM otherwise
|
||||||
|
@ -34,12 +35,12 @@ dependencies {
|
||||||
api(projects.cavisNative.cavisNativeLib) {
|
api(projects.cavisNative.cavisNativeLib) {
|
||||||
capabilities {
|
capabilities {
|
||||||
//if(withCuda()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cuda-support", version: project.version)
|
//if(withCuda()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cuda-support", version: project.version)
|
||||||
if(withCpu()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cpu-support", version: project.version)
|
if (withCpu()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cpu-support", version: project.version)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
api(projects.cavisNative.cavisNativeLib) {
|
api(projects.cavisNative.cavisNativeLib) {
|
||||||
capabilities {
|
capabilities {
|
||||||
if(withCuda()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cuda-support", version: project.version)
|
if (withCuda()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cuda-support", version: project.version)
|
||||||
//if(withCpu()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cpu-support", version: project.version)
|
//if(withCpu()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cpu-support", version: project.version)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -56,6 +57,7 @@ dependencies {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue