File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 11FROM rust-x86_64-unknown-freebsd
22
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+
311ENV CC_x86_64_unknown_freebsd=x86_64-unknown-freebsd12-clang \
412 CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER=x86_64-unknown-freebsd12-clang
Original file line number Diff line number Diff line change 11FROM rust-x86_64-unknown-illumos
22
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+
311ENV \
412 AR_x86_64_unknown_illumos="x86_64-illumos-ar" \
513 RANLIB_x86_64_unknown_illumos="x86_64-illumos-ranlib" \
Original file line number Diff line number Diff line change 11FROM rust-x86_64-unknown-netbsd
22
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+
311ENV CARGO_TARGET_X86_64_UNKNOWN_NETBSD_LINKER=x86_64--netbsd-gcc-sysroot
You can’t perform that action at this time.
0 commit comments