Merge pull request #1400 from dgurney/master

Add patterns for AMD CPUs with numeric core counts
This commit is contained in:
dylan 2020-02-02 17:54:57 +02:00 committed by GitHub
commit a9fc7615ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -2191,6 +2191,8 @@ get_cpu() {
cpu="${cpu//Quad-Core}" cpu="${cpu//Quad-Core}"
cpu="${cpu//Six-Core}" cpu="${cpu//Six-Core}"
cpu="${cpu//Eight-Core}" cpu="${cpu//Eight-Core}"
cpu="${cpu//[1-9][0-9]-Core}"
cpu="${cpu//[0-9]-Core}"
cpu="${cpu//, * Compute Cores}" cpu="${cpu//, * Compute Cores}"
cpu="${cpu//Core / }" cpu="${cpu//Core / }"
cpu="${cpu//(\"AuthenticAMD\"*)}" cpu="${cpu//(\"AuthenticAMD\"*)}"