Skip to content

Commit d360941

Browse files
committed
fixup! Set 'LIBRARY_PATH'
1 parent b00fae8 commit d360941

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

.buildkite/pipeline-raw.yml

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ steps:
1212
agents:
1313
queue: "x86_64-rosetta-darwin"
1414
commands:
15-
- export LIBRARY_PATH="$(brew --prefix):$LIBRARY_PATH"
16-
- export C_INCLUDE_PATH="$(brew --prefix):$C_INCLUDE_PATH"
1715
- nix develop .#autorelease-macos -c ./scripts/build-all-bottles.sh "big_sur"
1816
artifact_paths:
1917
- '*.bottle.*'

Formula/tezos-client.rb

+1-6
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class << self
1313

1414
version "v17.2-1"
1515

16-
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake]
16+
build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake opam]
1717
build_dependencies.each do |dependency|
1818
depends_on dependency => :build
1919
end
@@ -37,11 +37,6 @@ def make_deps
3737
# Disable usage of instructions from the ADX extension to avoid incompatibility
3838
# with old CPUs, see https://gitlab.com/dannywillems/ocaml-bls12-381/-/merge_requests/135/
3939
ENV["BLST_PORTABLE"]="yes"
40-
# Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer
41-
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
42-
system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam"
43-
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
44-
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
4540
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
4641
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
4742
system ["source .cargo/env", "make build-deps"].join(" && ")

0 commit comments

Comments
 (0)