From 394609aada97efdc1acd9c922f5f99301cd6deb6 Mon Sep 17 00:00:00 2001 From: 0xfourzerofour Date: Mon, 4 Nov 2024 10:57:55 -0500 Subject: [PATCH 1/2] feat(libc): add v5 of libc to container --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0f4b1f594..9448a5058 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && echo "d RUN mkdir -p /etc/apt/keyrings RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list -RUN apt-get update && apt-get -y upgrade && apt-get install -y libclang-dev pkg-config protobuf-compiler nodejs yarn rsync +RUN apt-get update && apt-get -y upgrade && apt-get install -y libclang-5.0-dev pkg-config protobuf-compiler nodejs yarn rsync SHELL ["/bin/bash", "-c"] RUN curl -L https://foundry.paradigm.xyz | bash From 17e89080fda107f871c2bd7d67159c2fdb524701 Mon Sep 17 00:00:00 2001 From: 0xfourzerofour Date: Mon, 4 Nov 2024 11:16:37 -0500 Subject: [PATCH 2/2] feat(libc): add prebild for libclang --- Cross.toml | 1 + Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cross.toml b/Cross.toml index a69f5ecaf..acbad22e3 100644 --- a/Cross.toml +++ b/Cross.toml @@ -1,2 +1,3 @@ [build] +pre-build = ["apt-get update && apt-get install --assume-yes --no-install-recommends libclang-5.0-dev clang-5.0"] dockerfile = "./Dockerfile.build" diff --git a/Dockerfile b/Dockerfile index 9448a5058..0f4b1f594 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && echo "d RUN mkdir -p /etc/apt/keyrings RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list -RUN apt-get update && apt-get -y upgrade && apt-get install -y libclang-5.0-dev pkg-config protobuf-compiler nodejs yarn rsync +RUN apt-get update && apt-get -y upgrade && apt-get install -y libclang-dev pkg-config protobuf-compiler nodejs yarn rsync SHELL ["/bin/bash", "-c"] RUN curl -L https://foundry.paradigm.xyz | bash