Skip to content

Commit 816b835

Browse files
authored
Merge pull request Homebrew#199096 from Homebrew/llvm-pkgconf
llvm: migrate to `pkgconf`
2 parents d927c58 + 2f4e4e7 commit 816b835

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Formula/l/llvm.rb

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,11 @@ class Llvm < Formula
4949
uses_from_macos "zlib"
5050

5151
on_linux do
52-
depends_on "pkg-config" => :build
52+
depends_on "pkgconf" => :build
5353
depends_on "binutils" # needed for gold
5454
depends_on "elfutils" # openmp requires <gelf.h>
5555
end
5656

57-
# Fails at building LLDB
58-
fails_with gcc: "5"
59-
6057
# Support simplified triples in version config files.
6158
# https://github.com/llvm/llvm-project/pull/111387
6259
patch do
@@ -767,10 +764,10 @@ def caveats
767764

768765
# This will fail if the clang bindings cannot find `libclang`.
769766
with_env(PYTHONPATH: prefix/Language::Python.site_packages(python3)) do
770-
system python3, "-c", <<~EOS
767+
system python3, "-c", <<~PYTHON
771768
from clang import cindex
772769
cindex.Config().get_cindex_library()
773-
EOS
770+
PYTHON
774771
end
775772

776773
unless versioned_formula?

0 commit comments

Comments
 (0)