File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 13
13
14
14
ARCH=$( echo " $1 " | tr ' [:upper:]' ' [:lower:]' )
15
15
echo $ARCH
16
+ mkdir -p wheels
16
17
17
18
if [[ " ${ARCH} " == " amd64" ]]; then
18
19
docker build -t tensorflow-builder -f Dockerfile.amd64 --build-arg TENSORFLOW_VERSION=${TENSORFLOW_VERSION} --build-arg BAZEL_VERSION=${BAZEL_VERSION} --build-arg NUMPY_VERSION=${NUMPY_VERSION} .
19
- mkdir -p wheels
20
20
docker run --rm -it --mount type=bind,source=" $( pwd) " /wheels,target=/host_wheels tensorflow-builder bash -c " cp /wheels/* /host_wheels/"
21
- echo " \nHopefully your package is now in the 'wheels' directory."
22
21
23
22
else
24
23
# Clone Tensorflow repo if it doesn't exist already
44
43
if [[ " ${ARCH} " == " arm64v8" ]]; then
45
44
tensorflow/tools/ci_build/ci_build.sh PI-PYTHON38 tensorflow/tools/ci_build/pi/build_raspberry_pi.sh AARCH64
46
45
fi
46
+
47
+ cd ..
48
+ cp tensorflow/output-artifacts/tensorflow-* .whl wheels/
47
49
fi
50
+
51
+ echo " \nYour Tensorflow package should now be in the 'wheels' directory."
You can’t perform that action at this time.
0 commit comments