Skip to content

Commit

Permalink
remove testing of AOCC due to EULA
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdeakin committed Jun 26, 2023
1 parent a73df7e commit a7fd993
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
27 changes: 14 additions & 13 deletions src/ci-prepare-bionic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,19 +117,20 @@ verify_dir_exists() {
}

setup_aocc() {
echo "Preparing AOCC"

local aocc_ver="2.3.0"
local tarball="aocc-$aocc_ver.tar.xz"
# XXX it's actually XZ compressed, so it should be tar.xz
local AOCC_URL="http://developer.amd.com/wordpress/media/files/aocc-compiler-2.3.0.tar"
# local AOCC_URL="http://localhost:8000/aocc-compiler-2.3.0.tar"

get_and_untar "$tarball" "$AOCC_URL"
export_var AOCC_CXX "$PWD/aocc-compiler-$aocc_ver/bin/clang++"
verify_bin_exists "$AOCC_CXX"
"$AOCC_CXX" --version
check_size
#echo "Preparing AOCC"
echo "TODO AOCC requires EULA to download"

# local aocc_ver="2.3.0"
# local tarball="aocc-$aocc_ver.tar.xz"
# # XXX it's actually XZ compressed, so it should be tar.xz
# local AOCC_URL="http://developer.amd.com/wordpress/media/files/aocc-compiler-2.3.0.tar"
# # local AOCC_URL="http://localhost:8000/aocc-compiler-2.3.0.tar"

# get_and_untar "$tarball" "$AOCC_URL"
# export_var AOCC_CXX "$PWD/aocc-compiler-$aocc_ver/bin/clang++"
# verify_bin_exists "$AOCC_CXX"
# "$AOCC_CXX" --version
# check_size
}

setup_nvhpc() {
Expand Down
4 changes: 2 additions & 2 deletions src/ci-test-compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -309,13 +309,13 @@ case "$COMPILER" in
gcc) build_gcc ;;
clang) build_clang ;;
nvhpc) build_nvhpc ;;
aocc) build_aocc ;;
aomp) build_aomp ;;
hip) build_hip ;;
dpcpp) build_dpcpp ;;
hipsycl) build_hipsycl ;;

# XXX below are local only; licence or very large download required, candidate for local runner
aocc) build_aocc ;;
computecpp) build_computecpp ;;
icpx) build_icpx ;;
icpc) build_icpc ;;
Expand All @@ -324,12 +324,12 @@ all)
build_gcc
build_clang
build_nvhpc
build_aocc
build_aomp
build_hip
build_dpcpp
build_hipsycl

build_aocc
build_computecpp
build_icpx
build_icpc
Expand Down

0 comments on commit a7fd993

Please sign in to comment.