Merge pull request #19746 from Homebrew/no-cpuid-allowlist
formula_cellar_checks: add no_cpuid_allowlist
This commit is contained in:
commit
219d427631
@ -320,6 +320,7 @@ module FormulaCellarChecks
|
|||||||
return unless dot_brew_formula.exist?
|
return unless dot_brew_formula.exist?
|
||||||
|
|
||||||
return unless dot_brew_formula.read.include? "ENV.runtime_cpu_detection"
|
return unless dot_brew_formula.read.include? "ENV.runtime_cpu_detection"
|
||||||
|
return if formula.tap&.audit_exception(:no_cpuid_allowlist, formula.name)
|
||||||
|
|
||||||
# macOS `objdump` is a bit slow, so we prioritise llvm's `llvm-objdump` (~5.7x faster)
|
# macOS `objdump` is a bit slow, so we prioritise llvm's `llvm-objdump` (~5.7x faster)
|
||||||
# or binutils' `objdump` (~1.8x faster) if they are installed.
|
# or binutils' `objdump` (~1.8x faster) if they are installed.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user