Skip to content

Commit

Permalink
reorder depends_on statements in brew formula per style guide (#25309)
Browse files Browse the repository at this point in the history
Fix the order of `depends_on` statements to put `"pkg-config" => :build`
at the top of the dependency list. It seems `brew style` will fail if it
finds this dependency anywhere else in the dependency list.

[reviewed by @jabraham17 - thanks!]
  • Loading branch information
arezaii authored Jun 17, 2024
2 parents f7a537b + 9c886ea commit d5a4aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/packaging/homebrew/chapel-main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ class Chapel < Formula
sha256 x86_64_linux: "961ad1d420eeeac018098fba19f05ff207edcd279b8c98d5439838d9928f61de"
end

depends_on "pkg-config" => :build
depends_on "cmake"
depends_on "gmp"
depends_on "hwloc"
depends_on "jemalloc"
depends_on "llvm@17"
depends_on "[email protected]"
depends_on "pkg-config" => :build

# LLVM is built with gcc11 and we will fail on linux with gcc version 5.xx
fails_with gcc: "5"
Expand Down

0 comments on commit d5a4aa2

Please sign in to comment.