[K/N][perf] Adopt benchmarks plugins and tools to support both macosX64 and macosArm64
This commit is contained in:
@@ -140,7 +140,11 @@ private static String getAnalyzerTargetName() {
|
||||
String target = System.getProperty("os.name")
|
||||
if (target == 'Linux') return 'linux'
|
||||
if (target.startsWith('Windows')) return 'windows'
|
||||
if (target.startsWith('Mac')) return 'macos'
|
||||
if (target.startsWith('Mac'))
|
||||
if (System.getProperty("os.arch") == "aarch64")
|
||||
return 'macosArm64'
|
||||
else
|
||||
return 'macosX64'
|
||||
return 'unknown'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user