Skip to content

Commit 0aaba03

Browse files
committed
Disable deployment of MKL platforms
1 parent 9a105fa commit 0aaba03

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

deploy.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,16 @@ echo "Downloading native artifacts from Maven repository..."
8181
for 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
9295
done
9396

0 commit comments

Comments
 (0)