File tree Expand file tree Collapse file tree 16 files changed +51
-3
lines changed Expand file tree Collapse file tree 16 files changed +51
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
17
17
xz-utils \
18
18
&& rm -rf /var/lib/apt/lists/*
19
19
20
+ COPY scripts/cmake.sh /scripts/
21
+ RUN /scripts/cmake.sh
22
+
20
23
COPY scripts/sccache.sh /scripts/
21
24
RUN sh /scripts/sccache.sh
22
25
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ RUN apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-
13
13
git \
14
14
libc6-dev \
15
15
libc6-dev-armhf-cross \
16
+ libssl-dev \
16
17
make \
17
18
ninja-build \
18
19
python3 \
@@ -75,6 +76,9 @@ RUN arm-linux-gnueabihf-gcc addentropy.c -o rootfs/addentropy -static
75
76
# Source of the file: https://github.com/vfdev-5/qemu-rpi2-vexpress/raw/master/vexpress-v2p-ca15-tc1.dtb
76
77
RUN curl -O https://ci-mirrors.rust-lang.org/rustc/vexpress-v2p-ca15-tc1.dtb
77
78
79
+ COPY scripts/cmake.sh /scripts/
80
+ RUN /scripts/cmake.sh
81
+
78
82
COPY scripts/sccache.sh /scripts/
79
83
RUN sh /scripts/sccache.sh
80
84
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
16
16
libssl-dev \
17
17
pkg-config
18
18
19
+ COPY scripts/cmake.sh /scripts/
20
+ RUN /scripts/cmake.sh
19
21
20
22
COPY scripts/sccache.sh /scripts/
21
23
RUN sh /scripts/sccache.sh
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \
19
19
g++ \
20
20
libc6-dev \
21
21
libc6-dev-riscv64-cross \
22
+ libssl-dev \
22
23
make \
23
24
ninja-build \
24
25
patch \
@@ -94,6 +95,9 @@ RUN mkdir build && cd build && \
94
95
WORKDIR /tmp
95
96
RUN rm -rf /tmp/riscv-pk
96
97
98
+ COPY scripts/cmake.sh /scripts/
99
+ RUN /scripts/cmake.sh
100
+
97
101
COPY scripts/sccache.sh /scripts/
98
102
RUN sh /scripts/sccache.sh
99
103
Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ COPY host-x86_64/dist-x86_64-linux/shared.sh /tmp/
48
48
COPY host-x86_64/dist-x86_64-linux/build-gcc.sh /tmp/
49
49
RUN ./build-gcc.sh && yum remove -y gcc gcc-c++
50
50
51
+ COPY scripts/cmake.sh /tmp/
52
+ RUN ./cmake.sh
53
+
51
54
# Now build LLVM+Clang, afterwards configuring further compilations to use the
52
55
# clang/clang++ compilers.
53
56
COPY host-x86_64/dist-x86_64-linux/build-clang.sh /tmp/
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ RUN apt-get install -y --no-install-recommends rpm2cpio cpio
14
14
COPY host-x86_64/dist-powerpc64le-linux/shared.sh host-x86_64/dist-powerpc64le-linux/build-powerpc64le-toolchain.sh /tmp/
15
15
RUN ./build-powerpc64le-toolchain.sh
16
16
17
+ COPY scripts/cmake.sh /scripts/
18
+ RUN /scripts/cmake.sh
19
+
17
20
COPY scripts/sccache.sh /scripts/
18
21
RUN sh /scripts/sccache.sh
19
22
Original file line number Diff line number Diff line change @@ -186,6 +186,9 @@ ENV SCRIPT \
186
186
python3 ../x.py --stage 2 test --host='' --target $RUN_MAKE_TARGETS tests/run-make && \
187
187
python3 ../x.py dist --host='' --target $TARGETS
188
188
189
+ COPY scripts/cmake.sh /scripts/
190
+ RUN /scripts/cmake.sh
191
+
189
192
# sccache
190
193
COPY scripts/sccache.sh /scripts/
191
194
RUN sh /scripts/sccache.sh
Original file line number Diff line number Diff line change @@ -96,6 +96,9 @@ RUN /tmp/build-wasi-toolchain.sh
96
96
COPY scripts/freebsd-toolchain.sh /tmp/
97
97
RUN /tmp/freebsd-toolchain.sh i686
98
98
99
+ COPY scripts/cmake.sh /scripts/
100
+ RUN /scripts/cmake.sh
101
+
99
102
COPY scripts/sccache.sh /scripts/
100
103
RUN sh /scripts/sccache.sh
101
104
Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ COPY host-x86_64/dist-x86_64-linux/shared.sh /tmp/
48
48
COPY host-x86_64/dist-x86_64-linux/build-gcc.sh /tmp/
49
49
RUN ./build-gcc.sh && yum remove -y gcc gcc-c++
50
50
51
+ # LLVM 17 needs cmake 3.20 or higher.
52
+ COPY scripts/cmake.sh /tmp/
53
+ RUN ./cmake.sh
54
+
51
55
# Now build LLVM+Clang, afterwards configuring further compilations to use the
52
56
# clang/clang++ compilers.
53
57
COPY host-x86_64/dist-x86_64-linux/build-clang.sh /tmp/
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y zlib1g-dev
7
7
COPY host-x86_64/dist-x86_64-netbsd/build-netbsd-toolchain.sh /tmp/
8
8
RUN /tmp/build-netbsd-toolchain.sh
9
9
10
+ COPY scripts/cmake.sh /scripts/
11
+ RUN /scripts/cmake.sh
12
+
10
13
COPY scripts/sccache.sh /scripts/
11
14
RUN sh /scripts/sccache.sh
12
15
You can’t perform that action at this time.
0 commit comments