From 0a1ae0bfcc9e78e458f7c3e9b8bd8b56eb4a45e3 Mon Sep 17 00:00:00 2001 From: Eric Lunderberg Date: Mon, 27 Sep 2021 08:18:55 -0500 Subject: [PATCH] [CI] Added a dummy task_config_build_gpu_vulkan.sh, to be removed later. The CI builds use the Jenkinsfile located in the ci-docker-staging branch, but the scripts in the PR that is being run. Temporarily adding back a task_config_build_gpu_vulkan.sh, which just calls the renamed task_config_build_gpu_other.sh. --- Jenkinsfile | 2 +- ...rocm.sh => task_config_build_gpu_other.sh} | 3 ++ tests/scripts/task_config_build_gpu_vulkan.sh | 28 +++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) rename tests/scripts/{task_config_build_gpu_rocm.sh => task_config_build_gpu_other.sh} (90%) create mode 100755 tests/scripts/task_config_build_gpu_vulkan.sh diff --git a/Jenkinsfile b/Jenkinsfile index ee39455ca0567..b2852955323f7 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -209,7 +209,7 @@ stage('Build') { make(ci_gpu, 'build', '-j2') pack_lib('gpu', tvm_multilib) // compiler test - sh "${docker_run} ${ci_gpu} ./tests/scripts/task_config_build_gpu_rocm.sh" + sh "${docker_run} ${ci_gpu} ./tests/scripts/task_config_build_gpu_other.sh" make(ci_gpu, 'build2', '-j2') } } diff --git a/tests/scripts/task_config_build_gpu_rocm.sh b/tests/scripts/task_config_build_gpu_other.sh similarity index 90% rename from tests/scripts/task_config_build_gpu_rocm.sh rename to tests/scripts/task_config_build_gpu_other.sh index e28272c6e4d15..c11669a2ab0d4 100755 --- a/tests/scripts/task_config_build_gpu_rocm.sh +++ b/tests/scripts/task_config_build_gpu_other.sh @@ -16,6 +16,9 @@ # specific language governing permissions and limitations # under the License. +# This file is a compiler test to ensure that runtimes can compile +# correctly, even if they aren't actively tested in the CI. + set -e set -u diff --git a/tests/scripts/task_config_build_gpu_vulkan.sh b/tests/scripts/task_config_build_gpu_vulkan.sh new file mode 100755 index 0000000000000..93adc9667da7b --- /dev/null +++ b/tests/scripts/task_config_build_gpu_vulkan.sh @@ -0,0 +1,28 @@ +#!/bin/bash +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +# TODO(Lunderberg): Remove this file once the Jenkinsfile in the +# ci-docker-staging branch no longer references it. + +# This file is a backwards compatibility file, as the TVM CI uses the +# Jenkinsfile from the ci-docker-staging branch, but the task scripts +# from the PR branch. + +set -euo pipefail + +./tests/scripts/task_config_build_gpu_other.sh