File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -81,13 +81,16 @@ echo "Downloading native artifacts from Maven repository..."
8181for p in ` find tensorflow-core -name tensorflow-core-platform* -type d -exec basename {} \; ` ; do
8282 if [[ $p =~ tensorflow-core-platform(.* ) ]]; then
8383 # Remember each of our platform extension, we will it that when deploying the artifacts
84+ # Note: Disable (temporarily?) MKL platforms for now, as their build is often broken
8485 PLATFORM_EXT=${BASH_REMATCH[1]}
85- if [[ -n $PLATFORM_EXT ]]; then
86- [[ -n $PLATFORM_EXTS ]] && PLATFORM_EXTS=" $PLATFORM_EXTS $PLATFORM_EXT " || PLATFORM_EXTS=$PLATFORM_EXT
86+ if [[ $PLATFORM_EXT != -mkl* ]]; then
87+ if [[ -n $PLATFORM_EXT ]]; then
88+ [[ -n $PLATFORM_EXTS ]] && PLATFORM_EXTS=" $PLATFORM_EXTS $PLATFORM_EXT " || PLATFORM_EXTS=$PLATFORM_EXT
89+ fi
90+ mvn dependency:copy-dependencies $MVN_OPTIONS -q \
91+ -Djavacpp.platform.extension=$PLATFORM_EXT -DincludeArtifactIds=tensorflow-core-api \
92+ -DoutputDirectory=../../tensorflow-core/tensorflow-core-api/target -pl tensorflow-core/$p
8793 fi
88- mvn dependency:copy-dependencies $MVN_OPTIONS -q \
89- -Djavacpp.platform.extension=$PLATFORM_EXT -DincludeArtifactIds=tensorflow-core-api \
90- -DoutputDirectory=../../tensorflow-core/tensorflow-core-api/target -pl tensorflow-core/$p
9194 fi
9295done
9396
You can’t perform that action at this time.
0 commit comments