aboutsummaryrefslogtreecommitdiff
path: root/ldcg-python-manylinux-tensorflow/build-tfio.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ldcg-python-manylinux-tensorflow/build-tfio.sh')
-rw-r--r--ldcg-python-manylinux-tensorflow/build-tfio.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/ldcg-python-manylinux-tensorflow/build-tfio.sh b/ldcg-python-manylinux-tensorflow/build-tfio.sh
new file mode 100644
index 0000000000..ae6c31b69c
--- /dev/null
+++ b/ldcg-python-manylinux-tensorflow/build-tfio.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+set -xe
+
+cd $WORKSPACE
+
+rm -rf *.sh configs
+
+git clone --depth 1 https://git.linaro.org/ci/job/configs.git
+
+if [ "$build0" = "true" ]; then
+ echo ' - "0.37"' >> configs/ldcg-python-manylinux-tensorflow/ansible/vars/vars-tfio.yml
+fi
+if [ "$buildgit" = "true" ]; then
+ echo ' - "git"' >> configs/ldcg-python-manylinux-tensorflow/ansible/vars/vars-tfio.yml
+fi
+if [ "$auditwheels" = "false" ]; then
+ sed -i -e '/run_audit/s/true/false/' configs/ldcg-python-manylinux-tensorflow/ansible/vars/vars-tfio.yml
+fi
+
+ansible-galaxy collection install community.docker
+
+cd configs/ldcg-python-manylinux-tensorflow/ansible/
+sed -i -e"s+/tmp/workspace+${WORKSPACE}+g" vars/vars-tfio.yml
+
+ansible-playbook playbooks/build-tfio-dual-abi.yml