Skip to content

Commit

Permalink
fixup! Set 'LIBRARY_PATH'
Browse files Browse the repository at this point in the history
  • Loading branch information
rvem committed Sep 7, 2023
1 parent 1a0aed2 commit 4c80e7b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .buildkite/pipeline-raw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ steps:
queue: "x86_64-rosetta-darwin"
commands:
- export LIBRARY_PATH="$(brew --prefix)/lib"
- export C_INCLUDE_PATH="$(brew --prefix)/lib"
- nix develop .#autorelease-macos -c ./scripts/build-all-bottles.sh "big_sur"
artifact_paths:
- '*.bottle.*'
Expand Down
2 changes: 0 additions & 2 deletions Formula/tezos-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ def make_deps
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
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"
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
ENV["LIBRARY_PATH"]="#{HOMEBREW_PREFIX}/lib"
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
Expand Down

0 comments on commit 4c80e7b

Please sign in to comment.