Skip to content

Commit d7546d7

Browse files
authored
Enable building tflite on 'dev*' buildbots (#82)
Also bumping Ruy hash to capture last build-related fix
1 parent 0c9fd68 commit d7546d7

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

buildbot/build_tflite.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ readonly CPUINFO_REPOSITORY="https://github.com/pytorch/cpuinfo"
2020
readonly CPUINFO_TAG="5e63739504f0f8e18e941bd63b2d6d42536c7d90"
2121

2222
readonly RUY_REPOSITORY="https://github.com/google/ruy"
23-
readonly RUY_TAG="841ea4172ba904fe3536789497f9565f2ef64129"
23+
readonly RUY_TAG="97ebb72aa0655c0af98896b317476a5d0dacad9c"
2424

2525
readonly ABSEIL_REPOSITORY="https://github.com/abseil/abseil-cpp"
2626
readonly ABSEIL_TAG="dc370a82467cb35066475537b797197aee3e5164"

buildbot/buildbot_init.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,19 @@ userdel buildbot
9797
groupadd buildbot
9898
useradd buildbot -g buildbot -m -d /var/lib/buildbot
9999

100+
if [[ "${HOSTNAME}" == ml-opt-dev* ]]
101+
then
102+
echo "Building TFLite"
103+
rm -rf /tmp/tflitebuild
104+
mkdir -p /tmp/tflitebuild
105+
pushd /tmp/tflitebuild
106+
curl https://raw.githubusercontent.com/google/ml-compiler-opt/main/buildbot/build_tflite.sh | bash -s
107+
popd
108+
echo "Done building TFLite"
109+
else
110+
echo "NOT building TFLite - this is a release only bot."
111+
fi
112+
100113
wget --quiet https://raw.githubusercontent.com/google/ml-compiler-opt/main/requirements.txt -P /tmp \
101114
|| on_error "failed to get python requirements file"
102115

0 commit comments

Comments
 (0)