未验证 提交 0154ea7e 编写于 作者: Y Yanan Fu 提交者: GitHub

Merge pull request #2034 from yanan-fu/iozone-arm

storage_benchmark: support compile iozone on aarch64
......@@ -281,7 +281,12 @@ class IozoneLinuxCfg(object):
host_path = os.path.join(data_dir.get_deps_dir(), 'iozone', iozone_pkg)
self.download_path = os.path.join('/home', iozone_pkg)
self.iozone_inst = os.path.join('/home', 'iozone_inst')
self.arch = 'linux-AMD64' if 'x86_64' in machine() else 'linux-powerpc64'
if 'ppc64' in machine():
self.arch = 'linux-powerpc64'
elif 'aarch64' in machine():
self.arch = 'linux-arm'
else:
self.arch = 'linux-AMD64'
self.cmd = 'cd %s/src/current && make clean && make %s' % (self.iozone_inst,
self.arch)
self.iozone_path = '%s/src/current/iozone' % self.iozone_inst
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册