Skip to content

Commit

Permalink
ci(fix): add sqlite-dev for cross-compile and remove unnecessary envs (
Browse files Browse the repository at this point in the history
…#29)

Description
Add sqlite-dev for cross-compile
Remove unnecessary envs

Motivation and Context
Fix linux-arm64 binary build

How Has This Been Tested?
Builds local fork and locally

What process can a PR reviewer use to test or verify this change?
---

<!-- Checklist -->
<!-- 1. Is the title of your PR in the form that would make nice release
notes? The title, excluding the conventional commit
tag, will be included exactly as is in the CHANGELOG, so please think
about it carefully. -->


Breaking Changes
---

- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify

<!-- Does this include a breaking change? If so, include this line as a
footer -->
<!-- BREAKING CHANGE: Description what the user should do, e.g. delete a
database, resync the chain -->
  • Loading branch information
leet4tari authored Aug 14, 2024
1 parent 2a94f40 commit 74bc5c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ passthrough = [
"BUILD_TARGET",
"CARGO_BUILD_TARGET",
"TARGET_CFLAGS",
"CC_aarch64_unknown_linux_gnu",
"PKG_CONFIG_SYSROOT_DIR",
"PKG_CONFIG_ALLOW_CROSS",
"RUSTFLAGS",
Expand All @@ -31,8 +30,6 @@ pre-build = "./scripts/cross_compile_ubuntu_18-pre-build.sh"

[target.aarch64-unknown-linux-gnu.env]
passthrough = [
"CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc",
"PKG_CONFIG_SYSROOT_DIR=/usr/lib/aarch64-linux-gnu/",
"PKG_CONFIG_ALLOW_CROSS=true",
]

Expand Down
1 change: 1 addition & 0 deletions scripts/cross_compile_ubuntu_18-pre-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ EoF

# packages needed for Ledger and hidapi
apt-get --assume-yes install \
libsqlite3-dev:${CROSS_DEB_ARCH} \
libudev-dev:${CROSS_DEB_ARCH} \
libhidapi-dev:${CROSS_DEB_ARCH}

Expand Down

0 comments on commit 74bc5c3

Please sign in to comment.