-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge from 'main' to 'sycl-web' (200 commits)
CONFLICT (content): Merge conflict in clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
- Loading branch information
Showing
1,207 changed files
with
21,582 additions
and
15,413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: LLVM Premerge Checks | ||
|
||
permissions: | ||
contents: read | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- .github/workflows/premerge.yaml | ||
push: | ||
branches: | ||
- 'main' | ||
|
||
jobs: | ||
premerge-checks-linux: | ||
if: github.repository_owner == 'llvm' | ||
runs-on: llvm-premerge-linux-runners | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | ||
cancel-in-progress: true | ||
container: | ||
image: ghcr.io/llvm/ci-ubuntu-22.04:latest | ||
defaults: | ||
run: | ||
shell: bash | ||
steps: | ||
- name: Checkout LLVM | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
- name: Setup ccache | ||
uses: hendrikmuhs/ccache-action@v1.2.14 | ||
- name: Build and Test | ||
run: | | ||
git config --global --add safe.directory '*' | ||
modified_files=$(git diff --name-only HEAD~1...HEAD) | ||
modified_dirs=$(echo "$modified_files" | cut -d'/' -f1 | sort -u) | ||
echo $modified_files | ||
echo $modified_dirs | ||
. ./.ci/compute-projects.sh | ||
all_projects="bolt clang clang-tools-extra compiler-rt cross-project-tests flang libc libclc lld lldb llvm mlir openmp polly pstl" | ||
modified_projects="$(keep-modified-projects ${all_projects})" | ||
linux_projects_to_test=$(exclude-linux $(compute-projects-to-test 0 ${modified_projects})) | ||
linux_check_targets=$(check-targets ${linux_projects_to_test} | sort | uniq) | ||
linux_projects=$(add-dependencies ${linux_projects_to_test} | sort | uniq) | ||
linux_runtimes_to_test=$(compute-runtimes-to-test ${linux_projects_to_test}) | ||
linux_runtime_check_targets=$(check-targets ${linux_runtimes_to_test} | sort | uniq) | ||
linux_runtimes=$(echo ${linux_runtimes_to_test} | sort | uniq) | ||
if [[ "${linux_projects}" == "" ]]; then | ||
echo "No projects to build" | ||
exit 0 | ||
fi | ||
echo "Building projects: ${linux_projects}" | ||
echo "Running project checks targets: ${linux_check_targets}" | ||
echo "Building runtimes: ${linux_runtimes}" | ||
echo "Running runtimes checks targets: ${linux_runtime_check_targets}" | ||
export CC=/opt/llvm/bin/clang | ||
export CXX=/opt/llvm/bin/clang++ | ||
./.ci/monolithic-linux.sh "$(echo ${linux_projects} | tr ' ' ';')" "$(echo ${linux_check_targets})" "$(echo ${linux_runtimes} | tr ' ' ';')" "$(echo ${linux_runtime_check_targets})" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.