tests,util: Add Clang version 10 and 11 to Cloudbuild

This change will build the clang compilation images for version 10 and
11 in gem5's Google Cloud Build.  These can then be used in the gem5
compilation tests.

Change-Id: I9fc902bbaf3262c018231873abfe7fdedd13172c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45682
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Bobby R. Bruce
2021-05-18 10:58:07 -07:00
parent d2b494e7ef
commit db9f03fbf0

View File

@@ -87,6 +87,20 @@ steps:
'--build-arg', 'version=9',
'util/dockerfiles/ubuntu-18.04_clang-version']
- name: 'gcr.io/cloud-builders/docker'
args: ['build',
'-t',
'gcr.io/$PROJECT_ID/clang-version-10:latest',
'--build-arg', 'version=10',
'util/dockerfiles/ubuntu-20.04_clang-version']
- name: 'gcr.io/cloud-builders/docker'
args: ['build',
'-t',
'gcr.io/$PROJECT_ID/clang-version-11:latest',
'--build-arg', 'version=11',
'util/dockerfiles/ubuntu-20.04_clang-version']
- name: 'gcr.io/cloud-builders/docker'
args: ['build',
'-t',
@@ -106,5 +120,7 @@ images: ['gcr.io/$PROJECT_ID/ubuntu-20.04_all-dependencies:latest',
'gcr.io/$PROJECT_ID/clang-version-7:latest',
'gcr.io/$PROJECT_ID/clang-version-8:latest',
'gcr.io/$PROJECT_ID/clang-version-9:latest',
'gcr.io/$PROJECT_ID/clang-version-10:latest',
'gcr.io/$PROJECT_ID/clang-version-11:latest',
'gcr.io/$PROJECT_ID/gcn-gpu:latest']
timeout: 18000s # 5 Hours