Skip to content

Commit 4a1e5f5

Browse files
MatthiasKreiledercopybara-github
authored andcommitted
Specify clang/llvm package installation requirements in docker files
LiteRT-PiperOrigin-RevId: 815812840
1 parent b294438 commit 4a1e5f5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ci/tflite-android.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ENV ANDROID_DEV_HOME /android
44
RUN mkdir -p ${ANDROID_DEV_HOME}
55

66
RUN apt-get update && \
7-
apt-get install -y --no-install-recommends default-jdk
7+
apt-get install -y --no-install-recommends default-jdk llvm-18 clang-18
88

99
# Install Android SDK.
1010
ENV ANDROID_SDK_FILENAME commandlinetools-linux-13114758_latest.zip

ci/tflite-py3.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
FROM us-docker.pkg.dev/ml-oss-artifacts-published/ml-public-container/ml-build:latest
2-
RUN apt-get update && apt-get install -y --no-install-recommends libc++-18-dev libc++abi-18-dev
2+
RUN apt-get update && apt-get install -y --no-install-recommends libc++-18-dev libc++abi-18-dev llvm-18 clang-18

docker_build/hermetic_build.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# Docker image to provide a hermetic build environment for Litert.
16-
FROM ubuntu:22.04
16+
FROM ubuntu:24.04
1717

1818
# Avoid interactive prompts during package installation
1919
ENV DEBIAN_FRONTEND=noninteractive
@@ -30,8 +30,8 @@ RUN apt-get update && apt-get install -y \
3030
unzip \
3131
wget \
3232
zip \
33-
llvm-14 \
34-
clang-14 \
33+
llvm-18 \
34+
clang-18 \
3535
libc++-dev \
3636
libc++abi-dev \
3737
&& apt-get clean && \

0 commit comments

Comments
 (0)