Skip to content

Commit 3674f69

Browse files
committed
fix(ci): force cmake builder for aws-lc-sys (bypasses GCC memcmp bug)
1 parent 69d2f2d commit 3674f69

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ permissions:
2323

2424
env:
2525
CARGO_TERM_COLOR: always
26+
# Use cmake builder for aws-lc-sys to bypass GCC memcmp bug in cross containers
27+
AWS_LC_SYS_CMAKE_BUILDER: 1
2628
# The binary name from [[bin]] in operator/Cargo.toml.
2729
# Override per repo if different.
2830
BINARY_NAME: ${{ vars.BINARY_NAME || 'llm-operator' }}

Cross.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ pre-build = ["apt-get update && apt-get install -y protobuf-compiler cmake nasm
1010
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main"
1111
pre-build = ["dpkg --add-architecture arm64 || true", "apt-get update && apt-get install -y protobuf-compiler cmake nasm libclang-dev pkg-config"]
1212

13+
[build.env]
14+
passthrough = ["AWS_LC_SYS_CMAKE_BUILDER"]
15+

0 commit comments

Comments
 (0)