From e695f1c653dda347183a7b4b18b241045d5930c5 Mon Sep 17 00:00:00 2001 From: brian Date: Thu, 13 Oct 2022 17:52:47 +0200 Subject: [PATCH] Add jenkinsfile for pipeline build and dockerfile for build Signed-off-by: brian --- build_requirements.md | 14 +++++++++++++- cavis-full/build.gradle | 3 ++- cavis-native/cavis-native-lib/build.gradle | 3 ++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/build_requirements.md b/build_requirements.md index db6532203..602190b95 100644 --- a/build_requirements.md +++ b/build_requirements.md @@ -129,4 +129,16 @@ echo "nameserver 8.8.8.8" | sudo tee -a /etc/resolv.conf # Buildparameter: # -P\\ - CAVIS_AVX_EXTENSION = {avx2 | avx512}, default is avx2 \ No newline at end of file + CAVIS_AVX_EXTENSION = {avx2 | avx512}, default is avx2 + +# Zeppelin Spark dependencies # +3 + + +To add the dependency to the language models, use the following format in the Dependencies section of the of the Spark Interpreter configuration (Interpreters -> Spark -> Edit -> Dependencies): + +groupId:artifactId:packaging:classifier:version + +In your case it should work with + +edu.stanford.nlp:stanford-corenlp:jar:models:3.8.0 \ No newline at end of file diff --git a/cavis-full/build.gradle b/cavis-full/build.gradle index 68e847fdf..659e119e2 100644 --- a/cavis-full/build.gradle +++ b/cavis-full/build.gradle @@ -16,7 +16,8 @@ dependencies { api "com.fasterxml.jackson.datatype:jackson-datatype-joda:2.10.5" api 'org.slf4j:slf4j-simple:2.0.3' api 'org.slf4j:slf4j-api:2.0.3' - //api group: "org.bytedeco", name: "javacpp", classifier: "linux-x64_86" + api group: "org.bytedeco", name: "javacpp", classifier: "linux-x64_86" + api group: 'net.brutex.cavis-native', name: 'cavis-native-lib', version: '1.0.0-SNAPSHOT', classifier: "linux-x86_64-avx2-cpu" rootProject.getAllprojects().each { Project sproj -> if(!sproj.name.equals(name) && !sproj.name.equals("cavis-common-platform") diff --git a/cavis-native/cavis-native-lib/build.gradle b/cavis-native/cavis-native-lib/build.gradle index 84217af15..10648759d 100644 --- a/cavis-native/cavis-native-lib/build.gradle +++ b/cavis-native/cavis-native-lib/build.gradle @@ -117,7 +117,8 @@ dependencies { api platform(project(':cavis-common-platform')) - api "org.bytedeco:javacpp" + implementation "org.bytedeco:javacpp" + implementation group: "org.bytedeco", name: "javacpp", classifier: "${javacppPlatform}" if(withCuda()) { cudaSupportImplementation platform(project(':cavis-common-platform'))