File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -205,8 +205,13 @@ jobs:
205205 PKG_CONFIG_ALLOW_CROSS : " 1"
206206 CROSS_NO_WARNINGS : " 0"
207207 RUST_BACKTRACE : " 1"
208+
209+ # Zlib hints for CMake
210+ ZLIB_ROOT : " /usr"
208211 ZLIB_INCLUDE_DIR : " /usr/include/aarch64-linux-gnu"
209212 ZLIB_LIBRARY : " /usr/lib/aarch64-linux-gnu/libz.so"
213+
214+ # OpenSSL hints
210215 OPENSSL_ROOT_DIR : " /usr"
211216 OPENSSL_INCLUDE_DIR : " /usr/include/aarch64-linux-gnu"
212217 OPENSSL_CRYPTO_LIBRARY : " /usr/lib/aarch64-linux-gnu/libcrypto.so"
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ pre-build = [
44 " dpkg --add-architecture arm64" ,
55 " apt-get update || true" ,
66 " apt-get install -y pkg-config:arm64 zlib1g-dev:arm64 libssl-dev:arm64 libsasl2-dev:arm64 libzstd-dev:arm64 liblz4-dev:arm64 || true" ,
7+ # debug: confirm zlib and headers exist
8+ " ls -R /usr/lib/aarch64-linux-gnu || true" ,
9+ " ls -R /usr/include/aarch64-linux-gnu || true" ,
710]
811
912[target .aarch64-unknown-linux-gnu .env ]
@@ -12,8 +15,11 @@ passthrough = [
1215 " PKG_CONFIG_ALLOW_CROSS" ,
1316 " CROSS_NO_WARNINGS" ,
1417 " RUST_BACKTRACE" ,
18+ # Zlib hints for CMake
19+ " ZLIB_ROOT" ,
1520 " ZLIB_INCLUDE_DIR" ,
1621 " ZLIB_LIBRARY" ,
22+ # OpenSSL hints
1723 " OPENSSL_ROOT_DIR" ,
1824 " OPENSSL_INCLUDE_DIR" ,
1925 " OPENSSL_CRYPTO_LIBRARY" ,
You can’t perform that action at this time.
0 commit comments