[K/N][perf] Adopt benchmarks plugins and tools to support both macosX64 and macosArm64

This commit is contained in:
Elena Lepilkina
2022-02-04 18:30:18 +03:00
committed by Space
parent b9a1b3c4df
commit 015920257f
6 changed files with 22 additions and 5 deletions
@@ -45,7 +45,7 @@ def getHostName() {
if (target == 'Linux') return 'linux'
if (target.startsWith('Windows')) return 'windows'
if (target.startsWith('Mac'))
if (System.getProperty("os.name") == "aarch64")
if (System.getProperty("os.arch") == "aarch64")
return 'macosArm64'
else
return 'macosX64'