This is an automated email from the ASF dual-hosted git repository.
masahi pushed a commit to branch unity
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/unity by this push:
new e2839c0fe8 [Unity][CI] Update CPU image to install PyTorch (fix)
(#14852)
e2839c0fe8 is described below
commit e2839c0fe86a6d36d91cc74d5730e0ca2894ed29
Author: masahi <[email protected]>
AuthorDate: Mon May 15 20:17:11 2023 +0900
[Unity][CI] Update CPU image to install PyTorch (fix) (#14852)
* [CI] Update CPU image to install PyTorch (fix)
* use link statk to prevent PT and LLVM symbol conflict
---
ci/jenkins/unity_jenkinsfile.groovy | 2 +-
tests/scripts/task_config_build_cpu.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ci/jenkins/unity_jenkinsfile.groovy
b/ci/jenkins/unity_jenkinsfile.groovy
index 29b00ae091..c93755fa97 100644
--- a/ci/jenkins/unity_jenkinsfile.groovy
+++ b/ci/jenkins/unity_jenkinsfile.groovy
@@ -32,7 +32,7 @@ import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
// NOTE: these lines are scanned by docker/dev_common.sh. Please update the
regex as needed. -->
ci_lint = 'tlcpackstaging/ci_lint:20230504-142417-4d37a0a0'
ci_gpu = 'tlcpackstaging/ci_gpu:20230504-142417-4d37a0a0'
-ci_cpu = 'tlcpackstaging/ci_cpu:20230504-142417-4d37a0a0'
+ci_cpu = 'tlcpackstaging/ci_cpu:20230513-200357-e54bbc73'
ci_wasm = 'tlcpack/ci-wasm:v0.72'
ci_i386 = 'tlcpack/ci-i386:v0.75'
ci_qemu = 'tlcpack/ci-qemu:v0.11'
diff --git a/tests/scripts/task_config_build_cpu.sh
b/tests/scripts/task_config_build_cpu.sh
index 7f7438bcca..899c27d673 100755
--- a/tests/scripts/task_config_build_cpu.sh
+++ b/tests/scripts/task_config_build_cpu.sh
@@ -29,7 +29,7 @@ echo set\(USE_MICRO_STANDALONE_RUNTIME ON\) >> config.cmake
echo set\(USE_PROFILER ON\) >> config.cmake
echo set\(USE_DNNL ON\) >> config.cmake
echo set\(USE_ARM_COMPUTE_LIB ON\) >> config.cmake
-echo set\(USE_LLVM llvm-config-15\) >> config.cmake
+echo set\(USE_LLVM \"/usr/bin/llvm-config-15 --link-static\"\) >> config.cmake
echo set\(USE_NNPACK ON\) >> config.cmake
echo set\(NNPACK_PATH /NNPACK/build/\) >> config.cmake
echo set\(USE_ANTLR ON\) >> config.cmake