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..."
81
81
for p in ` find tensorflow-core -name tensorflow-core-platform* -type d -exec basename {} \; ` ; do
82
82
if [[ $p =~ tensorflow-core-platform(.* ) ]]; then
83
83
# 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
84
85
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
87
93
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
91
94
fi
92
95
done
93
96
You can’t perform that action at this time.
0 commit comments