-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! ci(linux): setup
libclang
and bindgen-cli
for aws-lc
- Loading branch information
Showing
12 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
FROM rust-aarch64-unknown-linux-gnu | ||
|
||
RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \ | ||
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \ | ||
&& mv $HOME/.cargo/bin/bindgen /usr/bin | ||
|
||
ENV CC_aarch64_unknown_linux_gnu=aarch64-unknown-linux-gnu-gcc \ | ||
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-unknown-linux-gnu-gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
FROM rust-aarch64-unknown-linux-musl | ||
|
||
RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \ | ||
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \ | ||
&& mv $HOME/.cargo/bin/bindgen /usr/bin | ||
|
||
ENV CC_aarch64_unknown_linux_musl=aarch64-linux-musl-gcc \ | ||
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-musl-gcc \ | ||
RUSTFLAGS="-C target-feature=+crt-static -C link-arg=-lgcc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
FROM rust-arm-unknown-linux-gnueabi | ||
|
||
RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \ | ||
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \ | ||
&& mv $HOME/.cargo/bin/bindgen /usr/bin | ||
|
||
ENV CC_arm_unknown_linux_gnueabi=arm-unknown-linux-gnueabi-gcc \ | ||
CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABI_LINKER=arm-unknown-linux-gnueabi-gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
FROM rust-arm-unknown-linux-gnueabihf | ||
|
||
RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \ | ||
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \ | ||
&& mv $HOME/.cargo/bin/bindgen /usr/bin | ||
|
||
ENV CC_arm_unknown_linux_gnueabihf=arm-unknown-linux-gnueabihf-gcc \ | ||
CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-unknown-linux-gnueabihf-gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
FROM rust-loongarch64-unknown-linux-gnu | ||
|
||
RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \ | ||
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \ | ||
&& mv $HOME/.cargo/bin/bindgen /usr/bin | ||
|
||
ENV CC_loongarch64_unknown_linux_gnu=loongarch64-unknown-linux-gnu-gcc \ | ||
CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_LINKER=loongarch64-unknown-linux-gnu-gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
FROM rust-loongarch64-unknown-linux-musl | ||
|
||
RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \ | ||
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \ | ||
&& mv $HOME/.cargo/bin/bindgen /usr/bin | ||
|
||
ENV CC_loongarch64_unknown_linux_musl=loongarch64-unknown-linux-musl-gcc \ | ||
CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_MUSL_LINKER=loongarch64-unknown-linux-musl-gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
FROM rust-powerpc-unknown-linux-gnu | ||
|
||
RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \ | ||
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \ | ||
&& mv $HOME/.cargo/bin/bindgen /usr/bin | ||
|
||
ENV CC_powerpc_unknown_linux_gnu=powerpc-unknown-linux-gnu-gcc \ | ||
CARGO_TARGET_POWERPC_UNKNOWN_LINUX_GNU_LINKER=powerpc-unknown-linux-gnu-gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
FROM rust-powerpc64-unknown-linux-gnu | ||
|
||
RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \ | ||
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \ | ||
&& mv $HOME/.cargo/bin/bindgen /usr/bin | ||
|
||
ENV CC_powerpc64_unknown_linux_gnu=powerpc64-unknown-linux-gnu-gcc \ | ||
CARGO_TARGET_POWERPC64_UNKNOWN_LINUX_GNU_LINKER=powerpc64-unknown-linux-gnu-gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
FROM rust-powerpc64le-unknown-linux-gnu | ||
|
||
RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \ | ||
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \ | ||
&& mv $HOME/.cargo/bin/bindgen /usr/bin | ||
|
||
ENV CC_powerpc64le_unknown_linux_gnu=powerpc64le-linux-gnu-gcc \ | ||
CARGO_TARGET_POWERPC64LE_UNKNOWN_LINUX_GNU_LINKER=powerpc64le-linux-gnu-gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
FROM rust-riscv64gc-unknown-linux-gnu | ||
|
||
RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \ | ||
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \ | ||
&& mv $HOME/.cargo/bin/bindgen /usr/bin | ||
|
||
ENV CC_riscv64gc_unknown_linux_gnu=riscv64-unknown-linux-gnu-gcc \ | ||
CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER=riscv64-unknown-linux-gnu-gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
FROM rust-s390x-unknown-linux-gnu | ||
|
||
RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \ | ||
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \ | ||
&& mv $HOME/.cargo/bin/bindgen /usr/bin | ||
|
||
ENV CC_s390x_unknown_linux_gnu=s390x-ibm-linux-gnu-gcc \ | ||
CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_LINKER=s390x-ibm-linux-gnu-gcc |