37855a68ddfa4c9b4767b71878f2a5148c1d011f,perfkitbenchmarker/linux_packages/speccpu2017.py,,Install,#Any#,55
Before Change
def Install(vm):
Installs SPECCPU 2017.
speccpu.InstallSPECCPU(vm, GetSpecInstallConfig(vm.GetScratchDir()))
vm.RemoteCommand("cd {0} && wget {1} && tar xf {2}".format(
INSTALL_DIR, LLVM_TAR_URL, LLVM_TAR))
vm.RemoteCommand("cd {0} && wget {1} && tar xf {2}".format(
INSTALL_DIR, OPENMP_TAR_URL, OPENMP_TAR))
vm.RemoteCommand("sudo apt-get install libjemalloc1 libjemalloc-dev")
After Change
def Install(vm):
Installs SPECCPU 2017.
speccpu.InstallSPECCPU(vm, GetSpecInstallConfig(vm.GetScratchDir()))
vm.InstallPreprovisionedPackageData(
_PACKAGE_NAME, [LLVM_TAR, OPENMP_TAR], INSTALL_DIR)
vm.RemoteCommand("cd {0} && tar xf {1} && tar xf {2}".format(
INSTALL_DIR, LLVM_TAR, OPENMP_TAR))
vm.RemoteCommand("sudo apt-get install libjemalloc1 libjemalloc-dev")
vm.RemoteCommand("sudo apt-get update && sudo apt-get install -y libomp-dev")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 37855a68ddfa4c9b4767b71878f2a5148c1d011f
Time: 2019-07-22
Author: yuyanting@google.com
File Name: perfkitbenchmarker/linux_packages/speccpu2017.py
Class Name:
Method Name: Install
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 0beaa77eb18c11ccf1a12dc72f09274b3279d569
Time: 2019-07-19
Author: yuyanting@google.com
File Name: perfkitbenchmarker/linux_packages/glibc.py
Class Name:
Method Name: _Install
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 6cc34eb1006d274381faa7bd480cefdb4141bc7a
Time: 2019-07-29
Author: yuyanting@google.com
File Name: perfkitbenchmarker/linux_packages/scimark2.py
Class Name:
Method Name: Install