From 8bb0bbb97c79818fda4657bb7755e9179a4b0822 Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Thu, 15 Aug 2024 10:43:45 -0700 Subject: [PATCH] move shared to nightly Signed-off-by: Sarnie, Nick --- .github/workflows/sycl-nightly.yml | 13 +++++++++++++ .github/workflows/sycl-post-commit.yml | 12 ++++++------ 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/.github/workflows/sycl-nightly.yml b/.github/workflows/sycl-nightly.yml index 1b921e21adc64..0b297b7b5060b 100644 --- a/.github/workflows/sycl-nightly.yml +++ b/.github/workflows/sycl-nightly.yml @@ -23,6 +23,19 @@ jobs: # prefer widespread gzip compression. artifact_archive_name: sycl_linux.tar.gz + ubuntu2204_shared_build: + if: github.repository == 'intel/llvm' + uses: ./.github/workflows/sycl-linux-build.yml + secrets: inherit + with: + build_cache_root: "/__w/" + build_cache_suffix: sprod_shared + build_artifact_suffix: default + build_configure_extra_args: '--shared-libs --hip --cuda' + merge_ref: '' + + artifact_archive_name: sycl_linux_shared.tar.zst + ubuntu2204_test: needs: [ubuntu2204_build] if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }} diff --git a/.github/workflows/sycl-post-commit.yml b/.github/workflows/sycl-post-commit.yml index edc90bb5fecdf..cad9eb9ff17b8 100644 --- a/.github/workflows/sycl-post-commit.yml +++ b/.github/workflows/sycl-post-commit.yml @@ -28,14 +28,14 @@ permissions: read-all jobs: build-lin: - name: Linux (Self build + shared libraries + no-assertions) + name: Linux (Self build + no-assertions) if: github.repository == 'intel/llvm' uses: ./.github/workflows/sycl-linux-build.yml with: build_cache_root: "/__w/llvm" - build_cache_suffix: sprod_shared - build_artifact_suffix: sprod_shared - build_configure_extra_args: --shared-libs --no-assertions --hip --cuda --native_cpu --cmake-opt="-DSYCL_ENABLE_STACK_PRINTING=ON" --cmake-opt="-DSYCL_LIB_WITH_DEBUG_SYMBOL=ON" + build_cache_suffix: sprod_static + build_artifact_suffix: sprod_static + 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 @@ -60,7 +60,7 @@ jobs: reset_intel_gpu: true - name: AMD/HIP runner: '["Linux", "amdgpu"]' - image: ghcr.io/intel/llvm/ubuntu2204_build:latest + image: ghcr.io/intel/llvm/ubuntu2204_build:latest-0300ac924620a51f76c4929794637b82790f12ab image_options: -u 1001 --device=/dev/dri --device=/dev/kfd target_devices: ext_oneapi_hip:gpu reset_intel_gpu: false @@ -97,7 +97,7 @@ jobs: ref: ${{ github.sha }} merge_ref: '' - sycl_toolchain_artifact: sycl_linux_sprod_shared + sycl_toolchain_artifact: sycl_linux_sprod_static sycl_toolchain_archive: ${{ needs.build-lin.outputs.artifact_archive_name }} sycl_toolchain_decompress_command: ${{ needs.build-lin.outputs.artifact_decompress_command }}