Skip to content

Commit

Permalink
[Chore] Update formulae deps
Browse files Browse the repository at this point in the history
  • Loading branch information
krendelhoff2 committed Dec 10, 2024
1 parent ee609d1 commit 650cee7
Show file tree
Hide file tree
Showing 14 changed files with 70 additions and 42 deletions.
8 changes: 5 additions & 3 deletions Formula/tezos-accuser-PsParisC.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ class << self

version "v21.0-1"

build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam]
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup cmake opam]
build_dependencies.each do |dependency|
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev protobuf sqlite]
dependencies = %w[gmp hidapi libev protobuf sqlite libpq]
dependencies.each do |dependency|
depends_on dependency
end
Expand All @@ -37,9 +37,11 @@ def make_deps
# Force linker to use libraries from the current brew installation.
# Workaround for https://github.com/serokell/tezos-packaging/issues/700
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Workaround to avoid linking problem on mac
ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup"
# Here is the workaround to use opam 2.0 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup", "install", "1.78.0"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
8 changes: 5 additions & 3 deletions Formula/tezos-accuser-PsQuebec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ class << self

version "v21.0-1"

build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam]
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup cmake opam]
build_dependencies.each do |dependency|
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev protobuf sqlite]
dependencies = %w[gmp hidapi libev protobuf sqlite libpq]
dependencies.each do |dependency|
depends_on dependency
end
Expand All @@ -37,9 +37,11 @@ def make_deps
# Force linker to use libraries from the current brew installation.
# Workaround for https://github.com/serokell/tezos-packaging/issues/700
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Workaround to avoid linking problem on mac
ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup"
# Here is the workaround to use opam 2.0 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup", "install", "1.78.0"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
8 changes: 5 additions & 3 deletions Formula/tezos-admin-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ class << self

version "v21.0-1"

build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam]
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup cmake opam]
build_dependencies.each do |dependency|
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev protobuf sqlite]
dependencies = %w[gmp hidapi libev protobuf sqlite libpq]
dependencies.each do |dependency|
depends_on dependency
end
Expand All @@ -37,9 +37,11 @@ def make_deps
# Force linker to use libraries from the current brew installation.
# Workaround for https://github.com/serokell/tezos-packaging/issues/700
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Workaround to avoid linking problem on mac
ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup"
# Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup", "install", "1.78.0"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
8 changes: 5 additions & 3 deletions Formula/tezos-baker-PsParisC.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ class << self

version "v21.0-1"

build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam]
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup cmake opam]
build_dependencies.each do |dependency|
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev protobuf sqlite tezos-sapling-params]
dependencies = %w[gmp hidapi libev protobuf sqlite libpq tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand All @@ -37,9 +37,11 @@ def make_deps
# Force linker to use libraries from the current brew installation.
# Workaround for https://github.com/serokell/tezos-packaging/issues/700
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Workaround to avoid linking problem on mac
ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup"
# Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup", "install", "1.78.0"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
8 changes: 5 additions & 3 deletions Formula/tezos-baker-PsQuebec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ class << self

version "v21.0-1"

build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam]
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup cmake opam]
build_dependencies.each do |dependency|
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev protobuf sqlite tezos-sapling-params]
dependencies = %w[gmp hidapi libev protobuf sqlite libpq tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand All @@ -37,9 +37,11 @@ def make_deps
# Force linker to use libraries from the current brew installation.
# Workaround for https://github.com/serokell/tezos-packaging/issues/700
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Workaround to avoid linking problem on mac
ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup"
# Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup", "install", "1.78.0"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
8 changes: 5 additions & 3 deletions Formula/tezos-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ class << self

version "v21.0-1"

build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam opam]
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup cmake opam opam]
build_dependencies.each do |dependency|
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev protobuf sqlite tezos-sapling-params]
dependencies = %w[gmp hidapi libev protobuf sqlite libpq tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand All @@ -37,9 +37,11 @@ def make_deps
# Force linker to use libraries from the current brew installation.
# Workaround for https://github.com/serokell/tezos-packaging/issues/700
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Workaround to avoid linking problem on mac
ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup"
# Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup", "install", "1.78.0"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
8 changes: 5 additions & 3 deletions Formula/tezos-codec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ class << self

version "v21.0-1"

build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam]
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup cmake opam]
build_dependencies.each do |dependency|
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev protobuf sqlite]
dependencies = %w[gmp hidapi libev protobuf sqlite libpq]
dependencies.each do |dependency|
depends_on dependency
end
Expand All @@ -37,9 +37,11 @@ def make_deps
# Force linker to use libraries from the current brew installation.
# Workaround for https://github.com/serokell/tezos-packaging/issues/700
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Workaround to avoid linking problem on mac
ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup"
# Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup", "install", "1.78.0"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
8 changes: 5 additions & 3 deletions Formula/tezos-dac-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ class << self

version "v21.0-1"

build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam]
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup cmake opam]
build_dependencies.each do |dependency|
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev protobuf sqlite tezos-sapling-params]
dependencies = %w[gmp hidapi libev protobuf sqlite libpq tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand All @@ -37,9 +37,11 @@ def make_deps
# Force linker to use libraries from the current brew installation.
# Workaround for https://github.com/serokell/tezos-packaging/issues/700
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Workaround to avoid linking problem on mac
ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup"
# Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup", "install", "1.78.0"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
8 changes: 5 additions & 3 deletions Formula/tezos-dac-node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ class << self

version "v21.0-1"

build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam]
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup cmake opam]
build_dependencies.each do |dependency|
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev protobuf sqlite tezos-sapling-params]
dependencies = %w[gmp hidapi libev protobuf sqlite libpq tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand All @@ -37,9 +37,11 @@ def make_deps
# Force linker to use libraries from the current brew installation.
# Workaround for https://github.com/serokell/tezos-packaging/issues/700
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Workaround to avoid linking problem on mac
ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup"
# Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup", "install", "1.78.0"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
8 changes: 5 additions & 3 deletions Formula/tezos-dal-node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ class << self

version "v21.0-1"

build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam]
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup cmake opam]
build_dependencies.each do |dependency|
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev protobuf sqlite tezos-sapling-params]
dependencies = %w[gmp hidapi libev protobuf sqlite libpq tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand All @@ -37,9 +37,11 @@ def make_deps
# Force linker to use libraries from the current brew installation.
# Workaround for https://github.com/serokell/tezos-packaging/issues/700
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Workaround to avoid linking problem on mac
ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup"
# Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup", "install", "1.78.0"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
8 changes: 5 additions & 3 deletions Formula/tezos-node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ class << self

version "v21.0-1"

build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam]
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup cmake opam]
build_dependencies.each do |dependency|
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev protobuf sqlite tezos-sapling-params]
dependencies = %w[gmp hidapi libev protobuf sqlite libpq tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand All @@ -37,9 +37,11 @@ def make_deps
# Force linker to use libraries from the current brew installation.
# Workaround for https://github.com/serokell/tezos-packaging/issues/700
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Workaround to avoid linking problem on mac
ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup"
# Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup", "install", "1.78.0"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
8 changes: 5 additions & 3 deletions Formula/tezos-signer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ class << self

version "v21.0-1"

build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam]
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup cmake opam]
build_dependencies.each do |dependency|
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev protobuf sqlite]
dependencies = %w[gmp hidapi libev protobuf sqlite libpq]
dependencies.each do |dependency|
depends_on dependency
end
Expand All @@ -37,9 +37,11 @@ def make_deps
# Force linker to use libraries from the current brew installation.
# Workaround for https://github.com/serokell/tezos-packaging/issues/700
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Workaround to avoid linking problem on mac
ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup"
# Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup", "install", "1.78.0"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
8 changes: 5 additions & 3 deletions Formula/tezos-smart-rollup-node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ class << self

version "v21.0-1"

build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam]
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup cmake opam]
build_dependencies.each do |dependency|
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev protobuf sqlite libffi tezos-sapling-params]
dependencies = %w[gmp hidapi libev protobuf sqlite libpq libffi tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand All @@ -39,9 +39,11 @@ def make_deps
# Force linker to use libraries from the current brew installation.
# Workaround for https://github.com/serokell/tezos-packaging/issues/700
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Workaround to avoid linking problem on mac
ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup"
# Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup", "install", "1.78.0"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
8 changes: 5 additions & 3 deletions Formula/tezos-smart-rollup-wasm-debugger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ class << self

version "v21.0-1"

build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam]
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup cmake opam]
build_dependencies.each do |dependency|
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev protobuf sqlite tezos-sapling-params]
dependencies = %w[gmp hidapi libev protobuf sqlite libpq tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand All @@ -38,9 +38,11 @@ def make_deps
# Force linker to use libraries from the current brew installation.
# Workaround for https://github.com/serokell/tezos-packaging/issues/700
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Workaround to avoid linking problem on mac
ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup"
# Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup", "install", "1.78.0"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down

0 comments on commit 650cee7

Please sign in to comment.