ripgrep: remove need for llvm (#31062)

This commit is contained in:
Asher Mancinelli 2022-06-10 11:45:53 -07:00 committed by GitHub
parent a2afd5b82f
commit f42680b785
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,10 +22,3 @@ class Ripgrep(Package):
def install(self, spec, prefix): def install(self, spec, prefix):
cargo = which('cargo') cargo = which('cargo')
cargo('install', '--root', prefix, '--path', '.') cargo('install', '--root', prefix, '--path', '.')
# needed for onig_sys
def setup_build_environment(self, env):
env.append_flags('LLVM_CONFIG_PATH',
join_path(self.spec['llvm'].prefix.libexec.llvm,
'llvm-config'))
env.append_flags('LIBCLANG_PATH', self.spec['llvm'].prefix.lib)