From 3ac21bdec70b51e484da4d960fe9b8cef6e7fa17 Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Wed, 4 Dec 2024 10:09:10 -0800 Subject: [PATCH] [CI] Use clang in precommit and gcc in postcommit for Linux builds Signed-off-by: Sarnie, Nick --- .github/workflows/sycl-linux-precommit.yml | 4 ++++ .github/workflows/sycl-post-commit.yml | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sycl-linux-precommit.yml b/.github/workflows/sycl-linux-precommit.yml index 231d49b0500c5..829f1b939009d 100644 --- a/.github/workflows/sycl-linux-precommit.yml +++ b/.github/workflows/sycl-linux-precommit.yml @@ -45,6 +45,10 @@ jobs: build_cache_root: "/__w/" build_artifact_suffix: "default" build_cache_suffix: "default" + # Docker image has last nightly pre-installed and added to the PATH + build_image: "ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build" + cc: clang + cxx: clang++ changes: ${{ needs.detect_changes.outputs.filters }} determine_arc_tests: diff --git a/.github/workflows/sycl-post-commit.yml b/.github/workflows/sycl-post-commit.yml index 1abd497a9c97c..6817693e02be3 100644 --- a/.github/workflows/sycl-post-commit.yml +++ b/.github/workflows/sycl-post-commit.yml @@ -35,11 +35,7 @@ jobs: build_cache_root: "/__w/llvm" build_cache_suffix: default build_artifact_suffix: default - build_configure_extra_args: --no-assertions --hip --cuda --native_cpu --cmake-opt="-DSYCL_ENABLE_STACK_PRINTING=ON" --cmake-opt="-DSYCL_LIB_WITH_DEBUG_SYMBOL=ON" - # Docker image has last nightly pre-installed and added to the PATH - build_image: "ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build" - cc: clang - cxx: clang++ + build_configure_extra_args: --no-assertions --hip --cuda --native_cpu --cmake-opt="-DSYCL_ENABLE_STACK_PRINTING=ON" --cmake-opt="-DSYCL_LIB_WITH_DEBUG_SYMBOL=ON" merge_ref: '' e2e-lin: