formula_cellar_checks: add no_cpuid_allowlist
Sometimes the CPUID instruction exists in a dependency, e.g. `aws-checksums` performs CPU detection via `aws-c-common`.
This commit is contained in:
parent
7b34fcc330
commit
b5b049ab64
@ -320,6 +320,7 @@ module FormulaCellarChecks
|
||||
return unless dot_brew_formula.exist?
|
||||
|
||||
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)
|
||||
# or binutils' `objdump` (~1.8x faster) if they are installed.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user