Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SYCL][CI] Add new cmake target #17866

Draft
wants to merge 1 commit into
base: sycl
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/workflows/sycl-linux-build.yml
Original file line number Diff line number Diff line change
@@ -242,14 +242,7 @@ jobs:
if: ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
# TODO replace utility installation with a single CMake target
run: |
cmake --build $GITHUB_WORKSPACE/build --target utils/FileCheck/install
cmake --build $GITHUB_WORKSPACE/build --target utils/count/install
cmake --build $GITHUB_WORKSPACE/build --target utils/not/install
cmake --build $GITHUB_WORKSPACE/build --target utils/lit/install
cmake --build $GITHUB_WORKSPACE/build --target utils/llvm-lit/install
cmake --build $GITHUB_WORKSPACE/build --target install-llvm-size
cmake --build $GITHUB_WORKSPACE/build --target install-llvm-cov
cmake --build $GITHUB_WORKSPACE/build --target install-llvm-profdata
cmake --build $GITHUB_WORKSPACE/build --target install-auxiliary-tools
cmake --build $GITHUB_WORKSPACE/build --target install-compiler-rt
- name: Additional Install for "--shared-libs" build
if: ${{ always() && !cancelled() && steps.build.conclusion == 'success' && contains(inputs.build_configure_extra_args, '--shared-libs') }}
9 changes: 1 addition & 8 deletions .github/workflows/sycl-windows-build.yml
Original file line number Diff line number Diff line change
@@ -185,14 +185,7 @@ jobs:
# TODO replace utility installation with a single CMake target
run: |
cmake --build build --target deploy-sycl-toolchain
cmake --build build --target utils/FileCheck/install
cmake --build build --target utils/count/install
cmake --build build --target utils/not/install
cmake --build build --target utils/lit/install
cmake --build build --target utils/llvm-lit/install
cmake --build build --target install-llvm-size
cmake --build build --target install-llvm-cov
cmake --build build --target install-llvm-profdata
cmake --build build --target install-auxiliary-utils
cmake --build build --target install-compiler-rt
- name: Pack toolchain
if: ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
12 changes: 12 additions & 0 deletions sycl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -404,6 +404,18 @@ add_custom_target( sycl-toolchain ALL
COMMENT "Building SYCL compiler toolchain..."
)

add_custom_target(install-auxiliary-utils
DEPENDS
utils/FileCheck/install
utils/count/install
utils/not/install
utils/lit/install
utils/llvm-lit/install
install-llvm-size
install-llvm-cov
install-llvm-profdata
)

if (WIN32)
add_dependencies(sycl-toolchain ur_win_proxy_loader)
endif()