docker-images: Changed path from Google Registry to GitHub
Replaced all instances of the Google Docker registry (gcr.io/gem5-test/) with the GitHub Docker registry (ghcr.io/gem5/).
This commit is contained in:
committed by
Bobby R. Bruce
parent
5b721b033f
commit
45df1dbb55
@@ -73,7 +73,7 @@ opts=(".opt"
|
||||
builds_per_compiler=1
|
||||
|
||||
# Base URL of the gem5 testing images.
|
||||
base_url="gcr.io/gem5-test"
|
||||
base_url="ghcr.io/gem5"
|
||||
|
||||
# Arguments passed into scons on every build target test.
|
||||
if [ $# -eq 0 ];then
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
|
||||
set -e
|
||||
|
||||
DOCKER_IMAGE_ALL_DEP=gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest
|
||||
DOCKER_IMAGE_CLANG_COMPILE=gcr.io/gem5-test/clang-version-14:latest
|
||||
DOCKER_IMAGE_ALL_DEP=ghcr.io/gem5/ubuntu-22.04_all-dependencies:latest
|
||||
DOCKER_IMAGE_CLANG_COMPILE=ghcr.io/gem5/clang-version-14:latest
|
||||
PRESUBMIT_STAGE2=tests/jenkins/presubmit-stage2.sh
|
||||
GEM5ART_TESTS=tests/jenkins/gem5art-tests.sh
|
||||
|
||||
|
||||
@@ -70,13 +70,13 @@ unit_test () {
|
||||
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
|
||||
ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag} \
|
||||
scons build/ALL/unittests.${build} -j${compile_threads} \
|
||||
--ignore-style
|
||||
}
|
||||
|
||||
# Ensure we have the latest docker images.
|
||||
docker pull gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag}
|
||||
docker pull ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag}
|
||||
|
||||
# Run the unit tests.
|
||||
unit_test opt
|
||||
@@ -85,7 +85,7 @@ unit_test debug
|
||||
# Run the gem5 long tests.
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}"/tests --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
|
||||
ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag} \
|
||||
./main.py run --length long -j${compile_threads} -t${run_threads} -vv
|
||||
|
||||
# Unfortunately, due docker being unable run KVM, we do so separately.
|
||||
@@ -105,10 +105,10 @@ cd "${gem5_root}/tests"
|
||||
cd "${gem5_root}"
|
||||
|
||||
# For the GPU tests we compile and run the GPU ISA inside a gcn-gpu container.
|
||||
docker pull gcr.io/gem5-test/gcn-gpu:${tag}
|
||||
docker pull ghcr.io/gem5/gcn-gpu:${tag}
|
||||
docker run --rm -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" \
|
||||
gcr.io/gem5-test/gcn-gpu:${tag} bash -c \
|
||||
ghcr.io/gem5/gcn-gpu:${tag} bash -c \
|
||||
"scons build/${gpu_isa}/gem5.opt -j${compile_threads} --ignore-style \
|
||||
|| (rm -rf build && scons build/${gpu_isa}/gem5.opt \
|
||||
-j${compile_threads} --ignore-style)"
|
||||
@@ -123,7 +123,7 @@ mkdir -p tests/testing-results
|
||||
# basic GPU functionality is working.
|
||||
docker run --rm -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" \
|
||||
gcr.io/gem5-test/gcn-gpu:${tag} build/${gpu_isa}/gem5.opt \
|
||||
ghcr.io/gem5/gcn-gpu:${tag} build/${gpu_isa}/gem5.opt \
|
||||
configs/example/apu_se.py --reg-alloc-policy=dynamic -n3 -c square
|
||||
|
||||
# get HeteroSync
|
||||
@@ -135,7 +135,7 @@ wget -qN http://dist.gem5.org/dist/develop/test-progs/heterosync/gcn3/allSyncPri
|
||||
# atomics are tested.
|
||||
docker run --rm -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" \
|
||||
gcr.io/gem5-test/gcn-gpu:${tag} build/${gpu_isa}/gem5.opt \
|
||||
ghcr.io/gem5/gcn-gpu:${tag} build/${gpu_isa}/gem5.opt \
|
||||
configs/example/apu_se.py --reg-alloc-policy=dynamic -n3 -c \
|
||||
allSyncPrims-1kernel --options="sleepMutex 10 16 4"
|
||||
|
||||
@@ -146,7 +146,7 @@ docker run --rm -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
# atomics are tested.
|
||||
docker run --rm -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" \
|
||||
gcr.io/gem5-test/gcn-gpu:${tag} build/${gpu_isa}/gem5.opt \
|
||||
ghcr.io/gem5/gcn-gpu:${tag} build/${gpu_isa}/gem5.opt \
|
||||
configs/example/apu_se.py --reg-alloc-policy=dynamic -n3 -c \
|
||||
allSyncPrims-1kernel --options="lfTreeBarrUniq 10 16 4"
|
||||
|
||||
@@ -157,7 +157,7 @@ build_and_run_SST () {
|
||||
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --rm --memory="${docker_mem_limit}" \
|
||||
gcr.io/gem5-test/sst-env:${tag} bash -c "\
|
||||
ghcr.io/gem5/sst-env:${tag} bash -c "\
|
||||
scons build/${isa}/libgem5_${variant}.so -j${compile_threads} \
|
||||
--without-tcmalloc --duplicate-sources --ignore-style && \
|
||||
cd ext/sst && \
|
||||
@@ -173,7 +173,7 @@ build_and_run_systemc () {
|
||||
rm -rf "${gem5_root}/build/ARM"
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_min-dependencies:${tag} bash -c "\
|
||||
ghcr.io/gem5/ubuntu-22.04_min-dependencies:${tag} bash -c "\
|
||||
scons -j${compile_threads} --ignore-style --duplicate-sources \
|
||||
build/ARM/gem5.opt && \
|
||||
scons --with-cxx-config --without-python --without-tcmalloc \
|
||||
@@ -183,7 +183,7 @@ scons --with-cxx-config --without-python --without-tcmalloc \
|
||||
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/systemc-env:${tag} bash -c "\
|
||||
ghcr.io/gem5/systemc-env:${tag} bash -c "\
|
||||
cd util/systemc/gem5_within_systemc && \
|
||||
make -j${compile_threads} && \
|
||||
../../../build/ARM/gem5.opt ../../../configs/deprecated/example/se.py -c \
|
||||
|
||||
@@ -72,7 +72,7 @@ fi
|
||||
# Run the gem5 very-long tests.
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}"/tests --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
|
||||
ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag} \
|
||||
./main.py run --length very-long -j${threads} -t${run_threads} -vv
|
||||
|
||||
mkdir -p tests/testing-results
|
||||
@@ -81,7 +81,7 @@ mkdir -p tests/testing-results
|
||||
# before pulling gem5 resources, make sure it doesn't exist already
|
||||
docker run -u $UID:$GID --rm --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" \
|
||||
gcr.io/gem5-test/gcn-gpu:${tag} bash -c \
|
||||
ghcr.io/gem5/gcn-gpu:${tag} bash -c \
|
||||
"rm -rf ${gem5_root}/gem5-resources"
|
||||
|
||||
# delete m5out, Pannotia datasets, and output files in case a failed regression
|
||||
@@ -127,7 +127,7 @@ cd "${gem5_root}"
|
||||
# avoid needing to set all of these, we instead build a docker for it, which
|
||||
# has all these variables pre-set in its Dockerfile
|
||||
# To avoid compiling gem5 multiple times, all GPU benchmarks will use this
|
||||
docker pull gcr.io/gem5-test/gcn-gpu:${tag}
|
||||
docker pull ghcr.io/gem5/gcn-gpu:${tag}
|
||||
docker build -t hacc-test-weekly ${gem5_root}/gem5-resources/src/gpu/halo-finder
|
||||
|
||||
docker run --rm -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
@@ -419,23 +419,23 @@ rm -rf "${gem5_root}/build/ALL"
|
||||
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
|
||||
ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag} \
|
||||
scons build/ALL/gem5.opt -j${threads}
|
||||
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
|
||||
ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag} \
|
||||
./build/ALL/gem5.opt \
|
||||
configs/example/gem5_library/dramsys/arm-hello-dramsys.py
|
||||
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
|
||||
ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag} \
|
||||
./build/ALL/gem5.opt \
|
||||
configs/example/gem5_library/dramsys/dramsys-traffic.py
|
||||
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
|
||||
ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag} \
|
||||
./build/ALL/gem5.opt \
|
||||
configs/example/dramsys.py
|
||||
|
||||
Reference in New Issue
Block a user