Skip to content

Commit

Permalink
chore: update Make file to cross-compile Trin (#1012)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenev authored Feb 1, 2024
1 parent a314eec commit 534c4a1
Show file tree
Hide file tree
Showing 11 changed files with 304 additions and 353 deletions.
11 changes: 1 addition & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ commands:
- run:
name: Prepare for apt upgrades
command: sudo apt update
- run:
name: Install libssl-dev for openssl-sys
command: sudo apt install -y libssl-dev
- run:
name: Install libclang
command: sudo apt install clang
Expand All @@ -46,10 +43,7 @@ commands:
name: Prepare for apt upgrades
command: apt update
- run:
name: Install libssl-dev for openssl-sys
command: apt install -y libssl-dev
- run:
name: Install libclang for rocksdb
name: Install libclang
command: apt install -y clang
orbs:
rust: circleci/[email protected]
Expand Down Expand Up @@ -236,9 +230,6 @@ jobs:
- run:
name: Update package sources
command: sudo apt update
- run:
name: Install libssl-dev for openssl-sys
command: sudo NEEDRESTART_MODE=a apt install -y libssl-dev
- run:
name: Install libclang
command: sudo NEEDRESTART_MODE=a apt install clang
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:

- name: Build trin for ${{ matrix.arch }}
run: |
cargo install cross
cargo install cross --git https://github.com/cross-rs/cross
env PROFILE=${{ matrix.profile }} make build-${{ matrix.arch }}
- name: Move cross-compiled binary
Expand Down
Loading

0 comments on commit 534c4a1

Please sign in to comment.