Skip to content

Commit

Permalink
[#591] Remove unnecessary tezos-client dependency
Browse files Browse the repository at this point in the history
Problem: Tezos client has a libffi dependency which it actually does not use. It needs to be removed

Solution: Removed unnecessary dependency, check that bottles build without it
  • Loading branch information
PruStephan committed Aug 4, 2023
1 parent 15fadba commit 78dcab1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/build-bigsur-bottles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build BigSur bottles
on:
push:
branches:
- PruStephan/Remove_unnecessary_tezos_client_deps
jobs:
build-bottles:
name: Install and test binaries
runs-on: macos-11

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Build tezos-client
run: |
brew install --formula ./Formula/tezos-sapling-params.rb
brew install $(brew deps --include-build --formula "./Formula/tezos-client.rb")
brew install --formula --build-bottle "./Formula/tezos-client.rb"
2 changes: 1 addition & 1 deletion Formula/tezos-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi tezos-sapling-params]
dependencies = %w[gmp hidapi libev tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down

0 comments on commit 78dcab1

Please sign in to comment.