File tree 3 files changed +24
-0
lines changed
3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1
1
FROM rust-x86_64-unknown-freebsd
2
2
3
+ # Building `aws-lc-rs` for Linux depends on `gcc-multilib`, `libclang` and `bindgen`.
4
+ # See: https://aws.github.io/aws-lc-rs/requirements/linux
5
+ RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \
6
+ # We have to use manual installation here, otherwise the installation script will fail with
7
+ # 'System glibc version (`2.27') is too old; checking alternatives'.
8
+ && cargo install --force --locked bindgen-cli \
9
+ && mv $HOME/.cargo/bin/bindgen /usr/bin
10
+
3
11
ENV CC_x86_64_unknown_freebsd=x86_64-unknown-freebsd12-clang \
4
12
CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER=x86_64-unknown-freebsd12-clang
Original file line number Diff line number Diff line change 1
1
FROM rust-x86_64-unknown-illumos
2
2
3
+ # Building `aws-lc-rs` for Linux depends on `gcc-multilib`, `libclang` and `bindgen`.
4
+ # See: https://aws.github.io/aws-lc-rs/requirements/linux
5
+ RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \
6
+ # We have to use manual installation here, otherwise the installation script will fail with
7
+ # 'System glibc version (`2.27') is too old; checking alternatives'.
8
+ && cargo install --force --locked bindgen-cli \
9
+ && mv $HOME/.cargo/bin/bindgen /usr/bin
10
+
3
11
ENV \
4
12
AR_x86_64_unknown_illumos="x86_64-illumos-ar" \
5
13
RANLIB_x86_64_unknown_illumos="x86_64-illumos-ranlib" \
Original file line number Diff line number Diff line change 1
1
FROM rust-x86_64-unknown-netbsd
2
2
3
+ # Building `aws-lc-rs` for Linux depends on `gcc-multilib`, `libclang` and `bindgen`.
4
+ # See: https://aws.github.io/aws-lc-rs/requirements/linux
5
+ RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \
6
+ # We have to use manual installation here, otherwise the installation script will fail with
7
+ # 'System glibc version (`2.27') is too old; checking alternatives'.
8
+ && cargo install --force --locked bindgen-cli \
9
+ && mv $HOME/.cargo/bin/bindgen /usr/bin
10
+
3
11
ENV CARGO_TARGET_X86_64_UNKNOWN_NETBSD_LINKER=x86_64--netbsd-gcc-sysroot
You can’t perform that action at this time.
0 commit comments