CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
39 lines
1.2 KiB
Bash
39 lines
1.2 KiB
Bash
# Copyright Advanced Micro Devices, Inc.
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
# This script builds the upstream libhsakmt WSL rocdxg target from inside the
|
|
# WSL-hosted top-level TheRock build. It is intentionally narrow and only stages
|
|
# the upstream install tree back into this subproject's artifact directory.
|
|
#
|
|
# The GitHub Actions wsl-bash wrapper uses fail-fast shell settings, but this
|
|
# generated script is launched later by CMake as a fresh bash process.
|
|
set -euo pipefail
|
|
|
|
rocdxg_source_dir="@THEROCK_WSL_ROCDXG_SOURCE_DIR@"
|
|
win_sdk="@THEROCK_WSL_WIN_SDK@"
|
|
build_root="@_build_root@"
|
|
install_root="@_install_root@"
|
|
stage_root="@_stage_root@"
|
|
|
|
if [ ! -d "$rocdxg_source_dir" ]; then
|
|
echo "ROCDXG source directory not found: $rocdxg_source_dir"
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! -d "$win_sdk" ]; then
|
|
echo "Windows SDK include path not found: $win_sdk"
|
|
exit 1
|
|
fi
|
|
|
|
mkdir -p "$build_root" "$install_root" "$stage_root"
|
|
|
|
cmake -B "$build_root" -S "$rocdxg_source_dir" -G Ninja \
|
|
-DCMAKE_BUILD_TYPE="@CMAKE_BUILD_TYPE@" \
|
|
-DCMAKE_INSTALL_PREFIX="$install_root" \
|
|
-DCMAKE_INSTALL_LIBDIR="@CMAKE_INSTALL_LIBDIR@" \
|
|
-DWIN_SDK="$win_sdk"
|
|
cmake --build "$build_root" --target rocdxg -- -k 0
|
|
cmake --install "$build_root"
|
|
|
|
cp -a "$install_root/." "$stage_root/"
|