You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ma...@apache.org on 2022/05/20 08:56:28 UTC

[tvm] branch main updated: [ci][easy] Fix parameters for macros (#11377)

This is an automated email from the ASF dual-hosted git repository.

masahi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 909851c2f5 [ci][easy] Fix parameters for macros (#11377)
909851c2f5 is described below

commit 909851c2f5d66337a2897b6a9fb2b2f786bfa917
Author: driazati <94...@users.noreply.github.com>
AuthorDate: Fri May 20 01:56:23 2022 -0700

    [ci][easy] Fix parameters for macros (#11377)
    
    Co-authored-by: driazati <dr...@users.noreply.github.com>
---
 Jenkinsfile            | 4 ++--
 jenkins/Jenkinsfile.j2 | 2 +-
 jenkins/macros.j2      | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 024b920ac6..dbbbb29f79 100755
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -45,7 +45,7 @@
 // 'python3 jenkins/generate.py'
 // Note: This timestamp is here to ensure that updates to the Jenkinsfile are
 // always rebased on main before merging:
-// Generated at 2022-05-19T11:41:58.421857
+// Generated at 2022-05-19T14:04:32.815769
 
 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
 // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. -->
@@ -524,7 +524,7 @@ def cpp_unittest(image) {
 
 def add_microtvm_permissions() {
   sh(
-    script: 'find build/microtvm_template_projects -type f | xargs chmod +x',
+    script: 'find build/microtvm_template_projects -type f | grep qemu-hack | xargs chmod +x',
     label: 'Add execute permissions for microTVM files',
   )
 }
diff --git a/jenkins/Jenkinsfile.j2 b/jenkins/Jenkinsfile.j2
index 8742d07244..9eac881c54 100644
--- a/jenkins/Jenkinsfile.j2
+++ b/jenkins/Jenkinsfile.j2
@@ -447,7 +447,7 @@ def cpp_unittest(image) {
 def add_microtvm_permissions() {
   {% for folder in microtvm_template_projects %}
   sh(
-    script: 'find {{ folder }} -type f | xargs chmod +x',
+    script: 'find {{ folder }} -type f | grep qemu-hack | xargs chmod +x',
     label: 'Add execute permissions for microTVM files',
   )
   {% endfor %}
diff --git a/jenkins/macros.j2 b/jenkins/macros.j2
index 2ce005a128..ce29aa2d58 100644
--- a/jenkins/macros.j2
+++ b/jenkins/macros.j2
@@ -90,7 +90,7 @@
   },
 {% endmacro %}
 
-{% macro upload_artifacts(tag, filenames, folders=[]) %}
+{% macro upload_artifacts(tag, filenames, folders=None) %}
 sh(
             script: """
               set -eux