Skip to content

ci(freebsd): fix build failure related to aws-lc #3979

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,9 @@ jobs:
usesh: true
copyback: false
prepare: |
pkg install -y git gmake bash sudo ca_root_nss
pkg install -y git gmake bash sudo \
`# The following packages are required by 'aws-lc-rs':` \
cmake-core llvm-devel-lite rust-bindgen-cli
run: |
echo "========="
echo "create non-root user and log into it"
Expand Down Expand Up @@ -1332,7 +1334,9 @@ jobs:
usesh: true
copyback: false
prepare: |
pkg install -y git gmake bash sudo ca_root_nss
pkg install -y git gmake bash sudo \
`# The following packages are required by 'aws-lc-rs':` \
cmake-core llvm-devel-lite rust-bindgen-cli
run: |
echo "========="
echo "create non-root user and log into it"
Expand Down
4 changes: 3 additions & 1 deletion ci/actions-templates/freebsd-builds-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs: # skip-master skip-stable
usesh: true
copyback: false
prepare: |
pkg install -y git gmake bash sudo ca_root_nss
pkg install -y git gmake bash sudo \
`# The following packages are required by 'aws-lc-rs':` \
cmake-core llvm-devel-lite rust-bindgen-cli
run: |
echo "========="
echo "create non-root user and log into it"
Expand Down
5 changes: 5 additions & 0 deletions ci/freebsd/script.bash
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,9 @@ export CARGO_BUILD_JOBS=1
export TARGET="x86_64-unknown-freebsd"
# TODO: This should be split into two as the other jobs are.
export BUILD_PROFILE="release"

# HACK: Works around `aws-lc-rs`' issue with internal bindgen on FreeBSD.
# See: https://github.com/aws/aws-lc-rs/issues/476#issuecomment-2263118015
export AWS_LC_SYS_EXTERNAL_BINDGEN=1

bash ci/run.bash
Loading