diff --git a/ci/jenkins/data.py b/ci/jenkins/data.py index 6eeb0bc7316c..e52aaf32a4b2 100644 --- a/ci/jenkins/data.py +++ b/ci/jenkins/data.py @@ -49,10 +49,6 @@ "tag": "tlcpack/ci-arm:20221013-060115-61c9742ea", "platform": "ARM", }, - "ci_cortexm": { - "tag": "tlcpack/ci-cortexm:20221013-060115-61c9742ea", - "platform": "CPU", - }, "ci_cpu": { "tag": "tlcpack/ci-cpu:20221013-060115-61c9742ea", "platform": "CPU", @@ -73,14 +69,6 @@ "tag": "tlcpack/ci-lint:20221013-060115-61c9742ea", "platform": "CPU", }, - "ci_minimal": { - "tag": "tlcpack/ci-minimal:20221013-060115-61c9742ea", - "platform": "CPU", - }, - "ci_riscv": { - "tag": "tlcpack/ci-riscv:20221013-060115-61c9742ea", - "platform": "CPU", - }, "ci_wasm": { "tag": "tlcpack/ci-wasm:20221013-060115-61c9742ea", "platform": "CPU", diff --git a/ci/jenkins/docker-images.ini b/ci/jenkins/docker-images.ini index 6d42008c43cf..0dff7a77c131 100644 --- a/ci/jenkins/docker-images.ini +++ b/ci/jenkins/docker-images.ini @@ -18,12 +18,9 @@ # This data file is read during when Jenkins runs job to determine docker images. [jenkins] ci_arm: tlcpack/ci-arm:20241119-020227-6fc0598c -ci_cortexm: tlcpack/ci-cortexm:20241119-020227-6fc0598c ci_cpu: tlcpack/ci_cpu:20241119-020227-6fc0598c ci_gpu: tlcpack/ci-gpu:20241119-020227-6fc0598c ci_hexagon: tlcpack/ci-hexagon:20241119-020227-6fc0598c ci_i386: tlcpack/ci-i386:20241119-020227-6fc0598c ci_lint: tlcpack/ci-lint:20241119-020227-6fc0598c -ci_minimal: tlcpack/ci-minimal:20241119-020227-6fc0598c -ci_riscv: tlcpack/ci-riscv:20241119-020227-6fc0598c ci_wasm: tlcpack/ci-wasm:20241119-020227-6fc0598c diff --git a/ci/jenkins/generated/arm_jenkinsfile.groovy b/ci/jenkins/generated/arm_jenkinsfile.groovy index 03a28855e52b..0eab7ac6cbd4 100644 --- a/ci/jenkins/generated/arm_jenkinsfile.groovy +++ b/ci/jenkins/generated/arm_jenkinsfile.groovy @@ -60,7 +60,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 2025-02-08T14:55:01.980657 +// Generated at 2025-02-09T12:21:01.773823 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // These are set at runtime from data in ci/jenkins/docker-images.yml, update @@ -82,14 +82,11 @@ ci_riscv = '' properties([ parameters([ string(name: 'ci_arm_param', defaultValue: ''), - string(name: 'ci_cortexm_param', defaultValue: ''), string(name: 'ci_cpu_param', defaultValue: ''), string(name: 'ci_gpu_param', defaultValue: ''), string(name: 'ci_hexagon_param', defaultValue: ''), string(name: 'ci_i386_param', defaultValue: ''), string(name: 'ci_lint_param', defaultValue: ''), - string(name: 'ci_minimal_param', defaultValue: ''), - string(name: 'ci_riscv_param', defaultValue: ''), string(name: 'ci_wasm_param', defaultValue: ''), ]) ]) @@ -97,14 +94,11 @@ properties([ // Placeholders for newly built Docker image names (if rebuild_docker_images // is used) built_ci_arm = null; - built_ci_cortexm = null; built_ci_cpu = null; built_ci_gpu = null; built_ci_hexagon = null; built_ci_i386 = null; built_ci_lint = null; - built_ci_minimal = null; - built_ci_riscv = null; built_ci_wasm = null; // Global variable assigned during Sanity Check that holds the sha1 which should be @@ -364,7 +358,7 @@ def prepare(node_type) { if (env.DETERMINE_DOCKER_IMAGES == 'yes') { sh( - script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cortexm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_minimal ci_riscv ci_wasm ", + script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_wasm ", label: 'Decide whether to use tlcpack or tlcpackstaging for Docker images', ) // Pull image names from the results of should_rebuild_docker.py @@ -373,11 +367,6 @@ def prepare(node_type) { label: "Find docker image name for ci_arm", returnStdout: true, ).trim() - ci_cortexm = sh( - script: "cat .docker-image-names/ci_cortexm", - label: "Find docker image name for ci_cortexm", - returnStdout: true, - ).trim() ci_cpu = sh( script: "cat .docker-image-names/ci_cpu", label: "Find docker image name for ci_cpu", @@ -403,16 +392,6 @@ def prepare(node_type) { label: "Find docker image name for ci_lint", returnStdout: true, ).trim() - ci_minimal = sh( - script: "cat .docker-image-names/ci_minimal", - label: "Find docker image name for ci_minimal", - returnStdout: true, - ).trim() - ci_riscv = sh( - script: "cat .docker-image-names/ci_riscv", - label: "Find docker image name for ci_riscv", - returnStdout: true, - ).trim() ci_wasm = sh( script: "cat .docker-image-names/ci_wasm", label: "Find docker image name for ci_wasm", @@ -421,27 +400,21 @@ def prepare(node_type) { } ci_arm = params.ci_arm_param ?: ci_arm - ci_cortexm = params.ci_cortexm_param ?: ci_cortexm ci_cpu = params.ci_cpu_param ?: ci_cpu ci_gpu = params.ci_gpu_param ?: ci_gpu ci_hexagon = params.ci_hexagon_param ?: ci_hexagon ci_i386 = params.ci_i386_param ?: ci_i386 ci_lint = params.ci_lint_param ?: ci_lint - ci_minimal = params.ci_minimal_param ?: ci_minimal - ci_riscv = params.ci_riscv_param ?: ci_riscv ci_wasm = params.ci_wasm_param ?: ci_wasm sh (script: """ echo "Docker images being used in this build:" echo " ci_arm = ${ci_arm}" - echo " ci_cortexm = ${ci_cortexm}" echo " ci_cpu = ${ci_cpu}" echo " ci_gpu = ${ci_gpu}" echo " ci_hexagon = ${ci_hexagon}" echo " ci_i386 = ${ci_i386}" echo " ci_lint = ${ci_lint}" - echo " ci_minimal = ${ci_minimal}" - echo " ci_riscv = ${ci_riscv}" echo " ci_wasm = ${ci_wasm}" """, label: 'Docker image names') diff --git a/ci/jenkins/generated/cpu_jenkinsfile.groovy b/ci/jenkins/generated/cpu_jenkinsfile.groovy index 139b0d6c6574..647ded7f264f 100644 --- a/ci/jenkins/generated/cpu_jenkinsfile.groovy +++ b/ci/jenkins/generated/cpu_jenkinsfile.groovy @@ -60,7 +60,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 2025-02-08T14:55:01.994339 +// Generated at 2025-02-09T12:21:01.787826 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // These are set at runtime from data in ci/jenkins/docker-images.yml, update @@ -82,14 +82,11 @@ ci_riscv = '' properties([ parameters([ string(name: 'ci_arm_param', defaultValue: ''), - string(name: 'ci_cortexm_param', defaultValue: ''), string(name: 'ci_cpu_param', defaultValue: ''), string(name: 'ci_gpu_param', defaultValue: ''), string(name: 'ci_hexagon_param', defaultValue: ''), string(name: 'ci_i386_param', defaultValue: ''), string(name: 'ci_lint_param', defaultValue: ''), - string(name: 'ci_minimal_param', defaultValue: ''), - string(name: 'ci_riscv_param', defaultValue: ''), string(name: 'ci_wasm_param', defaultValue: ''), ]) ]) @@ -97,14 +94,11 @@ properties([ // Placeholders for newly built Docker image names (if rebuild_docker_images // is used) built_ci_arm = null; - built_ci_cortexm = null; built_ci_cpu = null; built_ci_gpu = null; built_ci_hexagon = null; built_ci_i386 = null; built_ci_lint = null; - built_ci_minimal = null; - built_ci_riscv = null; built_ci_wasm = null; // Global variable assigned during Sanity Check that holds the sha1 which should be @@ -364,7 +358,7 @@ def prepare(node_type) { if (env.DETERMINE_DOCKER_IMAGES == 'yes') { sh( - script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cortexm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_minimal ci_riscv ci_wasm ", + script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_wasm ", label: 'Decide whether to use tlcpack or tlcpackstaging for Docker images', ) // Pull image names from the results of should_rebuild_docker.py @@ -373,11 +367,6 @@ def prepare(node_type) { label: "Find docker image name for ci_arm", returnStdout: true, ).trim() - ci_cortexm = sh( - script: "cat .docker-image-names/ci_cortexm", - label: "Find docker image name for ci_cortexm", - returnStdout: true, - ).trim() ci_cpu = sh( script: "cat .docker-image-names/ci_cpu", label: "Find docker image name for ci_cpu", @@ -403,16 +392,6 @@ def prepare(node_type) { label: "Find docker image name for ci_lint", returnStdout: true, ).trim() - ci_minimal = sh( - script: "cat .docker-image-names/ci_minimal", - label: "Find docker image name for ci_minimal", - returnStdout: true, - ).trim() - ci_riscv = sh( - script: "cat .docker-image-names/ci_riscv", - label: "Find docker image name for ci_riscv", - returnStdout: true, - ).trim() ci_wasm = sh( script: "cat .docker-image-names/ci_wasm", label: "Find docker image name for ci_wasm", @@ -421,27 +400,21 @@ def prepare(node_type) { } ci_arm = params.ci_arm_param ?: ci_arm - ci_cortexm = params.ci_cortexm_param ?: ci_cortexm ci_cpu = params.ci_cpu_param ?: ci_cpu ci_gpu = params.ci_gpu_param ?: ci_gpu ci_hexagon = params.ci_hexagon_param ?: ci_hexagon ci_i386 = params.ci_i386_param ?: ci_i386 ci_lint = params.ci_lint_param ?: ci_lint - ci_minimal = params.ci_minimal_param ?: ci_minimal - ci_riscv = params.ci_riscv_param ?: ci_riscv ci_wasm = params.ci_wasm_param ?: ci_wasm sh (script: """ echo "Docker images being used in this build:" echo " ci_arm = ${ci_arm}" - echo " ci_cortexm = ${ci_cortexm}" echo " ci_cpu = ${ci_cpu}" echo " ci_gpu = ${ci_gpu}" echo " ci_hexagon = ${ci_hexagon}" echo " ci_i386 = ${ci_i386}" echo " ci_lint = ${ci_lint}" - echo " ci_minimal = ${ci_minimal}" - echo " ci_riscv = ${ci_riscv}" echo " ci_wasm = ${ci_wasm}" """, label: 'Docker image names') diff --git a/ci/jenkins/generated/docker_jenkinsfile.groovy b/ci/jenkins/generated/docker_jenkinsfile.groovy index 59dcf89af958..b7947ab2bf5d 100644 --- a/ci/jenkins/generated/docker_jenkinsfile.groovy +++ b/ci/jenkins/generated/docker_jenkinsfile.groovy @@ -60,7 +60,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 2025-02-08T12:31:09.767578 +// Generated at 2025-02-09T12:21:01.715947 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // These are set at runtime from data in ci/jenkins/docker-images.yml, update @@ -82,14 +82,11 @@ ci_riscv = '' properties([ parameters([ string(name: 'ci_arm_param', defaultValue: ''), - string(name: 'ci_cortexm_param', defaultValue: ''), string(name: 'ci_cpu_param', defaultValue: ''), string(name: 'ci_gpu_param', defaultValue: ''), string(name: 'ci_hexagon_param', defaultValue: ''), string(name: 'ci_i386_param', defaultValue: ''), string(name: 'ci_lint_param', defaultValue: ''), - string(name: 'ci_minimal_param', defaultValue: ''), - string(name: 'ci_riscv_param', defaultValue: ''), string(name: 'ci_wasm_param', defaultValue: ''), ]) ]) @@ -97,14 +94,11 @@ properties([ // Placeholders for newly built Docker image names (if rebuild_docker_images // is used) built_ci_arm = null; - built_ci_cortexm = null; built_ci_cpu = null; built_ci_gpu = null; built_ci_hexagon = null; built_ci_i386 = null; built_ci_lint = null; - built_ci_minimal = null; - built_ci_riscv = null; built_ci_wasm = null; // Global variable assigned during Sanity Check that holds the sha1 which should be @@ -364,7 +358,7 @@ def prepare(node_type) { if (env.DETERMINE_DOCKER_IMAGES == 'yes') { sh( - script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cortexm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_minimal ci_riscv ci_wasm ", + script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_wasm ", label: 'Decide whether to use tlcpack or tlcpackstaging for Docker images', ) // Pull image names from the results of should_rebuild_docker.py @@ -373,11 +367,6 @@ def prepare(node_type) { label: "Find docker image name for ci_arm", returnStdout: true, ).trim() - ci_cortexm = sh( - script: "cat .docker-image-names/ci_cortexm", - label: "Find docker image name for ci_cortexm", - returnStdout: true, - ).trim() ci_cpu = sh( script: "cat .docker-image-names/ci_cpu", label: "Find docker image name for ci_cpu", @@ -403,16 +392,6 @@ def prepare(node_type) { label: "Find docker image name for ci_lint", returnStdout: true, ).trim() - ci_minimal = sh( - script: "cat .docker-image-names/ci_minimal", - label: "Find docker image name for ci_minimal", - returnStdout: true, - ).trim() - ci_riscv = sh( - script: "cat .docker-image-names/ci_riscv", - label: "Find docker image name for ci_riscv", - returnStdout: true, - ).trim() ci_wasm = sh( script: "cat .docker-image-names/ci_wasm", label: "Find docker image name for ci_wasm", @@ -421,27 +400,21 @@ def prepare(node_type) { } ci_arm = params.ci_arm_param ?: ci_arm - ci_cortexm = params.ci_cortexm_param ?: ci_cortexm ci_cpu = params.ci_cpu_param ?: ci_cpu ci_gpu = params.ci_gpu_param ?: ci_gpu ci_hexagon = params.ci_hexagon_param ?: ci_hexagon ci_i386 = params.ci_i386_param ?: ci_i386 ci_lint = params.ci_lint_param ?: ci_lint - ci_minimal = params.ci_minimal_param ?: ci_minimal - ci_riscv = params.ci_riscv_param ?: ci_riscv ci_wasm = params.ci_wasm_param ?: ci_wasm sh (script: """ echo "Docker images being used in this build:" echo " ci_arm = ${ci_arm}" - echo " ci_cortexm = ${ci_cortexm}" echo " ci_cpu = ${ci_cpu}" echo " ci_gpu = ${ci_gpu}" echo " ci_hexagon = ${ci_hexagon}" echo " ci_i386 = ${ci_i386}" echo " ci_lint = ${ci_lint}" - echo " ci_minimal = ${ci_minimal}" - echo " ci_riscv = ${ci_riscv}" echo " ci_wasm = ${ci_wasm}" """, label: 'Docker image names') @@ -621,14 +594,11 @@ def deploy() { ).trim() def tag = "${date_Ymd_HMS}-${upstream_revision.substring(0, 8)}" update_docker(built_ci_arm, "tlcpackstaging/ci_arm:${tag}") - update_docker(built_ci_cortexm, "tlcpackstaging/ci_cortexm:${tag}") update_docker(built_ci_cpu, "tlcpackstaging/ci_cpu:${tag}") update_docker(built_ci_gpu, "tlcpackstaging/ci_gpu:${tag}") update_docker(built_ci_hexagon, "tlcpackstaging/ci_hexagon:${tag}") update_docker(built_ci_i386, "tlcpackstaging/ci_i386:${tag}") update_docker(built_ci_lint, "tlcpackstaging/ci_lint:${tag}") - update_docker(built_ci_minimal, "tlcpackstaging/ci_minimal:${tag}") - update_docker(built_ci_riscv, "tlcpackstaging/ci_riscv:${tag}") update_docker(built_ci_wasm, "tlcpackstaging/ci_wasm:${tag}") } finally { sh( @@ -672,20 +642,6 @@ def deploy() { label: 'Tag tlcpackstaging/ci_arm image to tlcpack', ) } - if (ci_cortexm.contains("tlcpackstaging")) { - // Push image to tlcpack - def tag = ci_cortexm.split(":")[1] - sh( - script: """ - set -eux - . ${jenkins_scripts_root}/retry.sh - docker pull tlcpackstaging/ci_cortexm:${tag} - docker tag tlcpackstaging/ci_cortexm:${tag} tlcpack/ci-cortexm:${tag} - retry 5 docker push tlcpack/ci-cortexm:${tag} - """, - label: 'Tag tlcpackstaging/ci_cortexm image to tlcpack', - ) - } if (ci_cpu.contains("tlcpackstaging")) { // Push image to tlcpack def tag = ci_cpu.split(":")[1] @@ -756,34 +712,6 @@ def deploy() { label: 'Tag tlcpackstaging/ci_lint image to tlcpack', ) } - if (ci_minimal.contains("tlcpackstaging")) { - // Push image to tlcpack - def tag = ci_minimal.split(":")[1] - sh( - script: """ - set -eux - . ${jenkins_scripts_root}/retry.sh - docker pull tlcpackstaging/ci_minimal:${tag} - docker tag tlcpackstaging/ci_minimal:${tag} tlcpack/ci-minimal:${tag} - retry 5 docker push tlcpack/ci-minimal:${tag} - """, - label: 'Tag tlcpackstaging/ci_minimal image to tlcpack', - ) - } - if (ci_riscv.contains("tlcpackstaging")) { - // Push image to tlcpack - def tag = ci_riscv.split(":")[1] - sh( - script: """ - set -eux - . ${jenkins_scripts_root}/retry.sh - docker pull tlcpackstaging/ci_riscv:${tag} - docker tag tlcpackstaging/ci_riscv:${tag} tlcpack/ci-riscv:${tag} - retry 5 docker push tlcpack/ci-riscv:${tag} - """, - label: 'Tag tlcpackstaging/ci_riscv image to tlcpack', - ) - } if (ci_wasm.contains("tlcpackstaging")) { // Push image to tlcpack def tag = ci_wasm.split(":")[1] @@ -833,17 +761,6 @@ if (rebuild_docker_images) { } } }, - 'ci_cortexm': { - node('CPU') { - timeout(time: max_time, unit: 'MINUTES') { - init_git() - // We're purposefully not setting the built image here since they - // are not yet being uploaded to tlcpack - // ci_cortexm = build_image('ci_cortexm') - built_ci_cortexm = build_image('ci_cortexm'); - } - } - }, 'ci_cpu': { node('CPU') { timeout(time: max_time, unit: 'MINUTES') { @@ -899,28 +816,6 @@ if (rebuild_docker_images) { } } }, - 'ci_minimal': { - node('CPU') { - timeout(time: max_time, unit: 'MINUTES') { - init_git() - // We're purposefully not setting the built image here since they - // are not yet being uploaded to tlcpack - // ci_minimal = build_image('ci_minimal') - built_ci_minimal = build_image('ci_minimal'); - } - } - }, - 'ci_riscv': { - node('CPU') { - timeout(time: max_time, unit: 'MINUTES') { - init_git() - // We're purposefully not setting the built image here since they - // are not yet being uploaded to tlcpack - // ci_riscv = build_image('ci_riscv') - built_ci_riscv = build_image('ci_riscv'); - } - } - }, 'ci_wasm': { node('CPU') { timeout(time: max_time, unit: 'MINUTES') { diff --git a/ci/jenkins/generated/gpu_jenkinsfile.groovy b/ci/jenkins/generated/gpu_jenkinsfile.groovy index 931f519a7f3a..8c169ffd36d1 100644 --- a/ci/jenkins/generated/gpu_jenkinsfile.groovy +++ b/ci/jenkins/generated/gpu_jenkinsfile.groovy @@ -60,7 +60,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 2025-02-08T12:31:09.859697 +// Generated at 2025-02-09T12:21:01.812601 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // These are set at runtime from data in ci/jenkins/docker-images.yml, update @@ -82,14 +82,11 @@ ci_riscv = '' properties([ parameters([ string(name: 'ci_arm_param', defaultValue: ''), - string(name: 'ci_cortexm_param', defaultValue: ''), string(name: 'ci_cpu_param', defaultValue: ''), string(name: 'ci_gpu_param', defaultValue: ''), string(name: 'ci_hexagon_param', defaultValue: ''), string(name: 'ci_i386_param', defaultValue: ''), string(name: 'ci_lint_param', defaultValue: ''), - string(name: 'ci_minimal_param', defaultValue: ''), - string(name: 'ci_riscv_param', defaultValue: ''), string(name: 'ci_wasm_param', defaultValue: ''), ]) ]) @@ -97,14 +94,11 @@ properties([ // Placeholders for newly built Docker image names (if rebuild_docker_images // is used) built_ci_arm = null; - built_ci_cortexm = null; built_ci_cpu = null; built_ci_gpu = null; built_ci_hexagon = null; built_ci_i386 = null; built_ci_lint = null; - built_ci_minimal = null; - built_ci_riscv = null; built_ci_wasm = null; // Global variable assigned during Sanity Check that holds the sha1 which should be @@ -364,7 +358,7 @@ def prepare(node_type) { if (env.DETERMINE_DOCKER_IMAGES == 'yes') { sh( - script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cortexm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_minimal ci_riscv ci_wasm ", + script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_wasm ", label: 'Decide whether to use tlcpack or tlcpackstaging for Docker images', ) // Pull image names from the results of should_rebuild_docker.py @@ -373,11 +367,6 @@ def prepare(node_type) { label: "Find docker image name for ci_arm", returnStdout: true, ).trim() - ci_cortexm = sh( - script: "cat .docker-image-names/ci_cortexm", - label: "Find docker image name for ci_cortexm", - returnStdout: true, - ).trim() ci_cpu = sh( script: "cat .docker-image-names/ci_cpu", label: "Find docker image name for ci_cpu", @@ -403,16 +392,6 @@ def prepare(node_type) { label: "Find docker image name for ci_lint", returnStdout: true, ).trim() - ci_minimal = sh( - script: "cat .docker-image-names/ci_minimal", - label: "Find docker image name for ci_minimal", - returnStdout: true, - ).trim() - ci_riscv = sh( - script: "cat .docker-image-names/ci_riscv", - label: "Find docker image name for ci_riscv", - returnStdout: true, - ).trim() ci_wasm = sh( script: "cat .docker-image-names/ci_wasm", label: "Find docker image name for ci_wasm", @@ -421,27 +400,21 @@ def prepare(node_type) { } ci_arm = params.ci_arm_param ?: ci_arm - ci_cortexm = params.ci_cortexm_param ?: ci_cortexm ci_cpu = params.ci_cpu_param ?: ci_cpu ci_gpu = params.ci_gpu_param ?: ci_gpu ci_hexagon = params.ci_hexagon_param ?: ci_hexagon ci_i386 = params.ci_i386_param ?: ci_i386 ci_lint = params.ci_lint_param ?: ci_lint - ci_minimal = params.ci_minimal_param ?: ci_minimal - ci_riscv = params.ci_riscv_param ?: ci_riscv ci_wasm = params.ci_wasm_param ?: ci_wasm sh (script: """ echo "Docker images being used in this build:" echo " ci_arm = ${ci_arm}" - echo " ci_cortexm = ${ci_cortexm}" echo " ci_cpu = ${ci_cpu}" echo " ci_gpu = ${ci_gpu}" echo " ci_hexagon = ${ci_hexagon}" echo " ci_i386 = ${ci_i386}" echo " ci_lint = ${ci_lint}" - echo " ci_minimal = ${ci_minimal}" - echo " ci_riscv = ${ci_riscv}" echo " ci_wasm = ${ci_wasm}" """, label: 'Docker image names') diff --git a/ci/jenkins/generated/hexagon_jenkinsfile.groovy b/ci/jenkins/generated/hexagon_jenkinsfile.groovy index f9bcee9a796b..0155a7a843a9 100644 --- a/ci/jenkins/generated/hexagon_jenkinsfile.groovy +++ b/ci/jenkins/generated/hexagon_jenkinsfile.groovy @@ -60,7 +60,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 2025-02-08T12:31:09.807572 +// Generated at 2025-02-09T12:21:01.760323 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // These are set at runtime from data in ci/jenkins/docker-images.yml, update @@ -82,14 +82,11 @@ ci_riscv = '' properties([ parameters([ string(name: 'ci_arm_param', defaultValue: ''), - string(name: 'ci_cortexm_param', defaultValue: ''), string(name: 'ci_cpu_param', defaultValue: ''), string(name: 'ci_gpu_param', defaultValue: ''), string(name: 'ci_hexagon_param', defaultValue: ''), string(name: 'ci_i386_param', defaultValue: ''), string(name: 'ci_lint_param', defaultValue: ''), - string(name: 'ci_minimal_param', defaultValue: ''), - string(name: 'ci_riscv_param', defaultValue: ''), string(name: 'ci_wasm_param', defaultValue: ''), ]) ]) @@ -97,14 +94,11 @@ properties([ // Placeholders for newly built Docker image names (if rebuild_docker_images // is used) built_ci_arm = null; - built_ci_cortexm = null; built_ci_cpu = null; built_ci_gpu = null; built_ci_hexagon = null; built_ci_i386 = null; built_ci_lint = null; - built_ci_minimal = null; - built_ci_riscv = null; built_ci_wasm = null; // Global variable assigned during Sanity Check that holds the sha1 which should be @@ -364,7 +358,7 @@ def prepare(node_type) { if (env.DETERMINE_DOCKER_IMAGES == 'yes') { sh( - script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cortexm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_minimal ci_riscv ci_wasm ", + script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_wasm ", label: 'Decide whether to use tlcpack or tlcpackstaging for Docker images', ) // Pull image names from the results of should_rebuild_docker.py @@ -373,11 +367,6 @@ def prepare(node_type) { label: "Find docker image name for ci_arm", returnStdout: true, ).trim() - ci_cortexm = sh( - script: "cat .docker-image-names/ci_cortexm", - label: "Find docker image name for ci_cortexm", - returnStdout: true, - ).trim() ci_cpu = sh( script: "cat .docker-image-names/ci_cpu", label: "Find docker image name for ci_cpu", @@ -403,16 +392,6 @@ def prepare(node_type) { label: "Find docker image name for ci_lint", returnStdout: true, ).trim() - ci_minimal = sh( - script: "cat .docker-image-names/ci_minimal", - label: "Find docker image name for ci_minimal", - returnStdout: true, - ).trim() - ci_riscv = sh( - script: "cat .docker-image-names/ci_riscv", - label: "Find docker image name for ci_riscv", - returnStdout: true, - ).trim() ci_wasm = sh( script: "cat .docker-image-names/ci_wasm", label: "Find docker image name for ci_wasm", @@ -421,27 +400,21 @@ def prepare(node_type) { } ci_arm = params.ci_arm_param ?: ci_arm - ci_cortexm = params.ci_cortexm_param ?: ci_cortexm ci_cpu = params.ci_cpu_param ?: ci_cpu ci_gpu = params.ci_gpu_param ?: ci_gpu ci_hexagon = params.ci_hexagon_param ?: ci_hexagon ci_i386 = params.ci_i386_param ?: ci_i386 ci_lint = params.ci_lint_param ?: ci_lint - ci_minimal = params.ci_minimal_param ?: ci_minimal - ci_riscv = params.ci_riscv_param ?: ci_riscv ci_wasm = params.ci_wasm_param ?: ci_wasm sh (script: """ echo "Docker images being used in this build:" echo " ci_arm = ${ci_arm}" - echo " ci_cortexm = ${ci_cortexm}" echo " ci_cpu = ${ci_cpu}" echo " ci_gpu = ${ci_gpu}" echo " ci_hexagon = ${ci_hexagon}" echo " ci_i386 = ${ci_i386}" echo " ci_lint = ${ci_lint}" - echo " ci_minimal = ${ci_minimal}" - echo " ci_riscv = ${ci_riscv}" echo " ci_wasm = ${ci_wasm}" """, label: 'Docker image names') diff --git a/ci/jenkins/generated/i386_jenkinsfile.groovy b/ci/jenkins/generated/i386_jenkinsfile.groovy index 4587b991ff86..565109193695 100644 --- a/ci/jenkins/generated/i386_jenkinsfile.groovy +++ b/ci/jenkins/generated/i386_jenkinsfile.groovy @@ -60,7 +60,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 2025-02-08T12:31:09.782928 +// Generated at 2025-02-09T12:21:01.734278 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // These are set at runtime from data in ci/jenkins/docker-images.yml, update @@ -82,14 +82,11 @@ ci_riscv = '' properties([ parameters([ string(name: 'ci_arm_param', defaultValue: ''), - string(name: 'ci_cortexm_param', defaultValue: ''), string(name: 'ci_cpu_param', defaultValue: ''), string(name: 'ci_gpu_param', defaultValue: ''), string(name: 'ci_hexagon_param', defaultValue: ''), string(name: 'ci_i386_param', defaultValue: ''), string(name: 'ci_lint_param', defaultValue: ''), - string(name: 'ci_minimal_param', defaultValue: ''), - string(name: 'ci_riscv_param', defaultValue: ''), string(name: 'ci_wasm_param', defaultValue: ''), ]) ]) @@ -97,14 +94,11 @@ properties([ // Placeholders for newly built Docker image names (if rebuild_docker_images // is used) built_ci_arm = null; - built_ci_cortexm = null; built_ci_cpu = null; built_ci_gpu = null; built_ci_hexagon = null; built_ci_i386 = null; built_ci_lint = null; - built_ci_minimal = null; - built_ci_riscv = null; built_ci_wasm = null; // Global variable assigned during Sanity Check that holds the sha1 which should be @@ -364,7 +358,7 @@ def prepare(node_type) { if (env.DETERMINE_DOCKER_IMAGES == 'yes') { sh( - script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cortexm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_minimal ci_riscv ci_wasm ", + script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_wasm ", label: 'Decide whether to use tlcpack or tlcpackstaging for Docker images', ) // Pull image names from the results of should_rebuild_docker.py @@ -373,11 +367,6 @@ def prepare(node_type) { label: "Find docker image name for ci_arm", returnStdout: true, ).trim() - ci_cortexm = sh( - script: "cat .docker-image-names/ci_cortexm", - label: "Find docker image name for ci_cortexm", - returnStdout: true, - ).trim() ci_cpu = sh( script: "cat .docker-image-names/ci_cpu", label: "Find docker image name for ci_cpu", @@ -403,16 +392,6 @@ def prepare(node_type) { label: "Find docker image name for ci_lint", returnStdout: true, ).trim() - ci_minimal = sh( - script: "cat .docker-image-names/ci_minimal", - label: "Find docker image name for ci_minimal", - returnStdout: true, - ).trim() - ci_riscv = sh( - script: "cat .docker-image-names/ci_riscv", - label: "Find docker image name for ci_riscv", - returnStdout: true, - ).trim() ci_wasm = sh( script: "cat .docker-image-names/ci_wasm", label: "Find docker image name for ci_wasm", @@ -421,27 +400,21 @@ def prepare(node_type) { } ci_arm = params.ci_arm_param ?: ci_arm - ci_cortexm = params.ci_cortexm_param ?: ci_cortexm ci_cpu = params.ci_cpu_param ?: ci_cpu ci_gpu = params.ci_gpu_param ?: ci_gpu ci_hexagon = params.ci_hexagon_param ?: ci_hexagon ci_i386 = params.ci_i386_param ?: ci_i386 ci_lint = params.ci_lint_param ?: ci_lint - ci_minimal = params.ci_minimal_param ?: ci_minimal - ci_riscv = params.ci_riscv_param ?: ci_riscv ci_wasm = params.ci_wasm_param ?: ci_wasm sh (script: """ echo "Docker images being used in this build:" echo " ci_arm = ${ci_arm}" - echo " ci_cortexm = ${ci_cortexm}" echo " ci_cpu = ${ci_cpu}" echo " ci_gpu = ${ci_gpu}" echo " ci_hexagon = ${ci_hexagon}" echo " ci_i386 = ${ci_i386}" echo " ci_lint = ${ci_lint}" - echo " ci_minimal = ${ci_minimal}" - echo " ci_riscv = ${ci_riscv}" echo " ci_wasm = ${ci_wasm}" """, label: 'Docker image names') diff --git a/ci/jenkins/generated/lint_jenkinsfile.groovy b/ci/jenkins/generated/lint_jenkinsfile.groovy index 4042eb815288..d85f6af857f6 100644 --- a/ci/jenkins/generated/lint_jenkinsfile.groovy +++ b/ci/jenkins/generated/lint_jenkinsfile.groovy @@ -60,7 +60,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 2025-02-08T12:31:09.795535 +// Generated at 2025-02-09T12:21:01.747933 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // These are set at runtime from data in ci/jenkins/docker-images.yml, update @@ -82,14 +82,11 @@ ci_riscv = '' properties([ parameters([ string(name: 'ci_arm_param', defaultValue: ''), - string(name: 'ci_cortexm_param', defaultValue: ''), string(name: 'ci_cpu_param', defaultValue: ''), string(name: 'ci_gpu_param', defaultValue: ''), string(name: 'ci_hexagon_param', defaultValue: ''), string(name: 'ci_i386_param', defaultValue: ''), string(name: 'ci_lint_param', defaultValue: ''), - string(name: 'ci_minimal_param', defaultValue: ''), - string(name: 'ci_riscv_param', defaultValue: ''), string(name: 'ci_wasm_param', defaultValue: ''), ]) ]) @@ -97,14 +94,11 @@ properties([ // Placeholders for newly built Docker image names (if rebuild_docker_images // is used) built_ci_arm = null; - built_ci_cortexm = null; built_ci_cpu = null; built_ci_gpu = null; built_ci_hexagon = null; built_ci_i386 = null; built_ci_lint = null; - built_ci_minimal = null; - built_ci_riscv = null; built_ci_wasm = null; // Global variable assigned during Sanity Check that holds the sha1 which should be @@ -364,7 +358,7 @@ def prepare(node_type) { if (env.DETERMINE_DOCKER_IMAGES == 'yes') { sh( - script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cortexm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_minimal ci_riscv ci_wasm ", + script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_wasm ", label: 'Decide whether to use tlcpack or tlcpackstaging for Docker images', ) // Pull image names from the results of should_rebuild_docker.py @@ -373,11 +367,6 @@ def prepare(node_type) { label: "Find docker image name for ci_arm", returnStdout: true, ).trim() - ci_cortexm = sh( - script: "cat .docker-image-names/ci_cortexm", - label: "Find docker image name for ci_cortexm", - returnStdout: true, - ).trim() ci_cpu = sh( script: "cat .docker-image-names/ci_cpu", label: "Find docker image name for ci_cpu", @@ -403,16 +392,6 @@ def prepare(node_type) { label: "Find docker image name for ci_lint", returnStdout: true, ).trim() - ci_minimal = sh( - script: "cat .docker-image-names/ci_minimal", - label: "Find docker image name for ci_minimal", - returnStdout: true, - ).trim() - ci_riscv = sh( - script: "cat .docker-image-names/ci_riscv", - label: "Find docker image name for ci_riscv", - returnStdout: true, - ).trim() ci_wasm = sh( script: "cat .docker-image-names/ci_wasm", label: "Find docker image name for ci_wasm", @@ -421,27 +400,21 @@ def prepare(node_type) { } ci_arm = params.ci_arm_param ?: ci_arm - ci_cortexm = params.ci_cortexm_param ?: ci_cortexm ci_cpu = params.ci_cpu_param ?: ci_cpu ci_gpu = params.ci_gpu_param ?: ci_gpu ci_hexagon = params.ci_hexagon_param ?: ci_hexagon ci_i386 = params.ci_i386_param ?: ci_i386 ci_lint = params.ci_lint_param ?: ci_lint - ci_minimal = params.ci_minimal_param ?: ci_minimal - ci_riscv = params.ci_riscv_param ?: ci_riscv ci_wasm = params.ci_wasm_param ?: ci_wasm sh (script: """ echo "Docker images being used in this build:" echo " ci_arm = ${ci_arm}" - echo " ci_cortexm = ${ci_cortexm}" echo " ci_cpu = ${ci_cpu}" echo " ci_gpu = ${ci_gpu}" echo " ci_hexagon = ${ci_hexagon}" echo " ci_i386 = ${ci_i386}" echo " ci_lint = ${ci_lint}" - echo " ci_minimal = ${ci_minimal}" - echo " ci_riscv = ${ci_riscv}" echo " ci_wasm = ${ci_wasm}" """, label: 'Docker image names') diff --git a/ci/jenkins/generated/wasm_jenkinsfile.groovy b/ci/jenkins/generated/wasm_jenkinsfile.groovy index b6ad3a1ffa38..a0cb13d55849 100644 --- a/ci/jenkins/generated/wasm_jenkinsfile.groovy +++ b/ci/jenkins/generated/wasm_jenkinsfile.groovy @@ -60,7 +60,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 2025-02-08T12:31:09.848878 +// Generated at 2025-02-09T12:21:01.801132 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // These are set at runtime from data in ci/jenkins/docker-images.yml, update @@ -82,14 +82,11 @@ ci_riscv = '' properties([ parameters([ string(name: 'ci_arm_param', defaultValue: ''), - string(name: 'ci_cortexm_param', defaultValue: ''), string(name: 'ci_cpu_param', defaultValue: ''), string(name: 'ci_gpu_param', defaultValue: ''), string(name: 'ci_hexagon_param', defaultValue: ''), string(name: 'ci_i386_param', defaultValue: ''), string(name: 'ci_lint_param', defaultValue: ''), - string(name: 'ci_minimal_param', defaultValue: ''), - string(name: 'ci_riscv_param', defaultValue: ''), string(name: 'ci_wasm_param', defaultValue: ''), ]) ]) @@ -97,14 +94,11 @@ properties([ // Placeholders for newly built Docker image names (if rebuild_docker_images // is used) built_ci_arm = null; - built_ci_cortexm = null; built_ci_cpu = null; built_ci_gpu = null; built_ci_hexagon = null; built_ci_i386 = null; built_ci_lint = null; - built_ci_minimal = null; - built_ci_riscv = null; built_ci_wasm = null; // Global variable assigned during Sanity Check that holds the sha1 which should be @@ -364,7 +358,7 @@ def prepare(node_type) { if (env.DETERMINE_DOCKER_IMAGES == 'yes') { sh( - script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cortexm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_minimal ci_riscv ci_wasm ", + script: "./${jenkins_scripts_root}/determine_docker_images.py ci_arm ci_cpu ci_gpu ci_hexagon ci_i386 ci_lint ci_wasm ", label: 'Decide whether to use tlcpack or tlcpackstaging for Docker images', ) // Pull image names from the results of should_rebuild_docker.py @@ -373,11 +367,6 @@ def prepare(node_type) { label: "Find docker image name for ci_arm", returnStdout: true, ).trim() - ci_cortexm = sh( - script: "cat .docker-image-names/ci_cortexm", - label: "Find docker image name for ci_cortexm", - returnStdout: true, - ).trim() ci_cpu = sh( script: "cat .docker-image-names/ci_cpu", label: "Find docker image name for ci_cpu", @@ -403,16 +392,6 @@ def prepare(node_type) { label: "Find docker image name for ci_lint", returnStdout: true, ).trim() - ci_minimal = sh( - script: "cat .docker-image-names/ci_minimal", - label: "Find docker image name for ci_minimal", - returnStdout: true, - ).trim() - ci_riscv = sh( - script: "cat .docker-image-names/ci_riscv", - label: "Find docker image name for ci_riscv", - returnStdout: true, - ).trim() ci_wasm = sh( script: "cat .docker-image-names/ci_wasm", label: "Find docker image name for ci_wasm", @@ -421,27 +400,21 @@ def prepare(node_type) { } ci_arm = params.ci_arm_param ?: ci_arm - ci_cortexm = params.ci_cortexm_param ?: ci_cortexm ci_cpu = params.ci_cpu_param ?: ci_cpu ci_gpu = params.ci_gpu_param ?: ci_gpu ci_hexagon = params.ci_hexagon_param ?: ci_hexagon ci_i386 = params.ci_i386_param ?: ci_i386 ci_lint = params.ci_lint_param ?: ci_lint - ci_minimal = params.ci_minimal_param ?: ci_minimal - ci_riscv = params.ci_riscv_param ?: ci_riscv ci_wasm = params.ci_wasm_param ?: ci_wasm sh (script: """ echo "Docker images being used in this build:" echo " ci_arm = ${ci_arm}" - echo " ci_cortexm = ${ci_cortexm}" echo " ci_cpu = ${ci_cpu}" echo " ci_gpu = ${ci_gpu}" echo " ci_hexagon = ${ci_hexagon}" echo " ci_i386 = ${ci_i386}" echo " ci_lint = ${ci_lint}" - echo " ci_minimal = ${ci_minimal}" - echo " ci_riscv = ${ci_riscv}" echo " ci_wasm = ${ci_wasm}" """, label: 'Docker image names') diff --git a/docker/Dockerfile.ci_cortexm b/docker/Dockerfile.ci_cortexm deleted file mode 100644 index 142b1e41ad36..000000000000 --- a/docker/Dockerfile.ci_cortexm +++ /dev/null @@ -1,24 +0,0 @@ -# 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. - -# CI docker CPU env -# tag: v0.62 -FROM ubuntu:22.04 - -COPY utils/apt-install-and-clear.sh /usr/local/bin/apt-install-and-clear - -# Keep it for now diff --git a/docker/Dockerfile.ci_cpu b/docker/Dockerfile.ci_cpu index fe58ccbd63fb..d41a7e6e1b13 100644 --- a/docker/Dockerfile.ci_cpu +++ b/docker/Dockerfile.ci_cpu @@ -85,14 +85,6 @@ RUN bash /install/ubuntu_install_java.sh COPY install/ubuntu_install_universal.sh /install/ubuntu_install_universal.sh RUN bash /install/ubuntu_install_universal.sh -# Chisel deps for TSIM -COPY install/ubuntu_install_sbt.sh /install/ubuntu_install_sbt.sh -RUN bash /install/ubuntu_install_sbt.sh - -# Verilator deps -COPY install/ubuntu_install_verilator.sh /install/ubuntu_install_verilator.sh -RUN bash /install/ubuntu_install_verilator.sh - # TensorFlow deps COPY install/ubuntu_install_tensorflow.sh /install/ubuntu_install_tensorflow.sh RUN bash /install/ubuntu_install_tensorflow.sh diff --git a/docker/Dockerfile.ci_minimal b/docker/Dockerfile.ci_minimal deleted file mode 100644 index e7eeb12f9d13..000000000000 --- a/docker/Dockerfile.ci_minimal +++ /dev/null @@ -1,72 +0,0 @@ -# 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. - -# CI docker minimal CPU env -FROM ubuntu:22.04 - -COPY utils/apt-install-and-clear.sh /usr/local/bin/apt-install-and-clear - -RUN apt-get update --fix-missing - -COPY install/ubuntu_setup_tz.sh /install/ubuntu_setup_tz.sh -RUN bash /install/ubuntu_setup_tz.sh - -COPY install/ubuntu_install_core.sh /install/ubuntu_install_core.sh -RUN bash /install/ubuntu_install_core.sh - -# Install libraries for cross-compiling TVM to Aarch64 -COPY install/ubuntu2204_install_aarch64_cross_compile.sh /install/ubuntu2204_install_aarch64_cross_compile.sh -RUN bash /install/ubuntu2204_install_aarch64_cross_compile.sh - -COPY install/ubuntu_install_cmake_source.sh /install/ubuntu_install_cmake_source.sh -RUN bash /install/ubuntu_install_cmake_source.sh - -COPY install/ubuntu_install_googletest.sh /install/ubuntu_install_googletest.sh -RUN bash /install/ubuntu_install_googletest.sh - -ENV TVM_VENV /venv/apache-tvm-py3.9 -COPY python/bootstrap/lockfiles /install/python/bootstrap/lockfiles -COPY install/ubuntu_install_python.sh /install/ubuntu_install_python.sh -RUN bash /install/ubuntu_install_python.sh 3.9 -ENV PATH ${TVM_VENV}/bin:$PATH -ENV PYTHONNOUSERSITE 1 # Disable .local directory from affecting CI. - -COPY install/ubuntu_install_python_package.sh /install/ubuntu_install_python_package.sh -RUN bash /install/ubuntu_install_python_package.sh - -COPY install/ubuntu2204_manual_install_llvm.sh /install/ubuntu2204_manual_install_llvm.sh -RUN bash /install/ubuntu2204_manual_install_llvm.sh - -# Cross build LLVM to Aarch64 -COPY install/ubuntu2204_manual_install_llvm_cross_aarch64.sh /install/ubuntu2204_manual_install_llvm_cross_aarch64.sh -RUN bash /install/ubuntu2204_manual_install_llvm_cross_aarch64.sh - -# Rust env (build early; takes a while) -COPY install/ubuntu_install_rust.sh /install/ubuntu_install_rust.sh -RUN bash /install/ubuntu_install_rust.sh -ENV RUSTUP_HOME /opt/rust -ENV CARGO_HOME /opt/rust -ENV PATH $PATH:$CARGO_HOME/bin - -# AutoTVM deps -COPY install/ubuntu_install_redis.sh /install/ubuntu_install_redis.sh -RUN bash /install/ubuntu_install_redis.sh - -# sccache -COPY install/ubuntu_install_sccache.sh /install/ubuntu_install_sccache.sh -RUN bash /install/ubuntu_install_sccache.sh -ENV PATH /opt/sccache:$PATH diff --git a/docker/Dockerfile.ci_riscv b/docker/Dockerfile.ci_riscv deleted file mode 100644 index c26470985a92..000000000000 --- a/docker/Dockerfile.ci_riscv +++ /dev/null @@ -1,122 +0,0 @@ -# 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. - -# CI docker CPU env -# tag: v0.62 -FROM ubuntu:22.04 - -COPY utils/apt-install-and-clear.sh /usr/local/bin/apt-install-and-clear - -RUN apt-get update --fix-missing - -COPY install/ubuntu_setup_tz.sh /install/ubuntu_setup_tz.sh -RUN bash /install/ubuntu_setup_tz.sh - -COPY install/ubuntu_install_core.sh /install/ubuntu_install_core.sh -RUN bash /install/ubuntu_install_core.sh - -COPY install/ubuntu_install_cmake_source.sh /install/ubuntu_install_cmake_source.sh -RUN bash /install/ubuntu_install_cmake_source.sh - -COPY install/ubuntu_install_googletest.sh /install/ubuntu_install_googletest.sh -RUN bash /install/ubuntu_install_googletest.sh - -ENV TVM_VENV /venv/apache-tvm-py3.9 -COPY python/bootstrap/lockfiles /install/python/bootstrap/lockfiles -COPY install/ubuntu_install_python.sh /install/ubuntu_install_python.sh -RUN bash /install/ubuntu_install_python.sh 3.9 -ENV PATH ${TVM_VENV}/bin:$PATH -ENV PYTHONNOUSERSITE 1 # Disable .local directory from affecting CI. - -COPY install/ubuntu_install_python_package.sh /install/ubuntu_install_python_package.sh -RUN bash /install/ubuntu_install_python_package.sh - -COPY install/ubuntu2204_install_llvm.sh /install/ubuntu2204_install_llvm.sh -RUN bash /install/ubuntu2204_install_llvm.sh - -# Rust env (build early; takes a while) -COPY install/ubuntu_install_rust.sh /install/ubuntu_install_rust.sh -RUN bash /install/ubuntu_install_rust.sh -ENV RUSTUP_HOME /opt/rust -ENV CARGO_HOME /opt/rust -ENV PATH $PATH:$CARGO_HOME/bin - -# AutoTVM deps -COPY install/ubuntu_install_redis.sh /install/ubuntu_install_redis.sh -RUN bash /install/ubuntu_install_redis.sh - -# ANTLR deps -COPY install/ubuntu_install_java.sh /install/ubuntu_install_java.sh -RUN bash /install/ubuntu_install_java.sh - -# TensorFlow deps -COPY install/ubuntu_install_tensorflow.sh /install/ubuntu_install_tensorflow.sh -RUN bash /install/ubuntu_install_tensorflow.sh - -# TFLite deps -COPY install/ubuntu_install_tflite.sh /install/ubuntu_install_tflite.sh -RUN bash /install/ubuntu_install_tflite.sh - -# Install ONNX -COPY install/ubuntu_install_onnx.sh /install/ubuntu_install_onnx.sh -RUN bash /install/ubuntu_install_onnx.sh - -# NNEF -COPY install/ubuntu_install_nnef.sh /install/ubuntu_install_nnef.sh -RUN bash /install/ubuntu_install_nnef.sh - -# sccache -COPY install/ubuntu_install_sccache.sh /install/ubuntu_install_sccache.sh -RUN bash /install/ubuntu_install_sccache.sh -ENV PATH /opt/sccache:$PATH - -# Zephyr Project -COPY install/ubuntu_install_zephyr.sh /install/ubuntu_install_zephyr.sh -COPY install/ubuntu_init_zephyr_project.sh /install/ubuntu_init_zephyr_project.sh -RUN bash /install/ubuntu_install_zephyr.sh -ENV ZEPHYR_BASE=/opt/zephyrproject/zephyr - -#Zephyr SDK -COPY install/ubuntu_install_zephyr_sdk.sh /install/ubuntu_install_zephyr_sdk.sh -RUN bash /install/ubuntu_install_zephyr_sdk.sh /opt/zephyr-sdk -ENV PATH /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin:$PATH - -# Download RISC-V gcc toolchain (linux) -COPY install/ubuntu_download_xuantie_gcc_linux.sh /install/ubuntu_download_xuantie_gcc_linux.sh -RUN bash /install/ubuntu_download_xuantie_gcc_linux.sh /opt/riscv/riscv64-unknown-linux-gnu - -# Download RISC-V gcc toolchain (baremetal) -COPY install/ubuntu_download_xuantie_gcc_newlib.sh /install/ubuntu_download_xuantie_gcc_newlib.sh -RUN bash /install/ubuntu_download_xuantie_gcc_newlib.sh /opt/riscv/riscv64-unknown-elf - -# Install RISC-V QEMU -COPY install/ubuntu_download_xuantie_qemu.sh /install/ubuntu_download_xuantie_qemu.sh -RUN bash /install/ubuntu_download_xuantie_qemu.sh /opt/riscv/qemu/ - -# Install CSI-NN2 -COPY install/ubuntu_download_csinn2_compute_lib.sh /install/ubuntu_download_csinn2_compute_lib.sh -RUN bash /install/ubuntu_download_csinn2_compute_lib.sh - -# Build spike (riscv-isa-sim) and proxy kernel (pk) -COPY install/ubuntu_install_spike_sim.sh /install/ubuntu_install_spike_sim.sh -RUN bash /install/ubuntu_install_spike_sim.sh /opt/riscv/riscv64-unknown-elf/ - -# Update PATH -ENV PATH /opt/riscv/riscv64-unknown-linux-gnu/bin:$PATH -ENV PATH /opt/riscv/riscv64-unknown-elf/bin:$PATH -ENV PATH /opt/riscv/qemu/bin:$PATH -ENV PATH /opt/riscv/spike/bin:$PATH