@@ -52,8 +52,6 @@ modified_dirs=$(echo "$MODIFIED_FILES" | cut -d'/' -f1 | sort -u)
5252echo " Directories modified:" >&2
5353echo " $modified_dirs " >&2
5454
55- . ./.ci/compute-projects.sh
56-
5755# Project specific pipelines.
5856
5957# If libc++ or one of the runtimes directories changed.
7371# needs while letting them run on the infrastructure provided by LLVM.
7472
7573# Figure out which projects need to be built on each platform
76- all_projects=" bolt clang clang-tools-extra compiler-rt cross-project-tests flang libc libclc lld lldb llvm mlir openmp polly pstl"
77- modified_projects=" $( keep-modified-projects ${all_projects} ) "
78-
79- linux_projects_to_test=$( exclude-linux $( compute-projects-to-test 0 ${modified_projects} ) )
80- linux_check_targets=$( check-targets ${linux_projects_to_test} | sort | uniq)
81- linux_projects=$( add-dependencies ${linux_projects_to_test} | sort | uniq)
74+ source <( git diff --name-only origin/${BUILDKITE_PULL_REQUEST_BASE_BRANCH} ...HEAD | python3 .ci/compute_projects.py Linux)
75+ linux_projects=${projects_to_build}
76+ linux_check_targets=${project_check_targets}
77+ linux_runtimes=${runtimes_to_build}
78+ linux_runtime_check_targets=${runtimes_check_targets}
8279
83- linux_runtimes_to_test= $( compute-runtimes-to-test ${linux_projects_to_test} )
84- linux_runtime_check_targets= $( check-targets ${linux_runtimes_to_test} | sort | uniq )
85- linux_runtimes= $( echo ${linux_runtimes_to_test} | sort | uniq )
80+ source <( git diff --name-only origin/ ${BUILDKITE_PULL_REQUEST_BASE_BRANCH} ...HEAD | python3 .ci/compute_projects.py Windows )
81+ windows_projects= ${projects_to_build}
82+ windows_check_targets= ${project_check_targets}
8683
87- windows_projects_to_test=$( exclude-windows $( compute-projects-to-test 1 ${modified_projects} ) )
88- windows_check_targets=$( check-targets ${windows_projects_to_test} | sort | uniq)
89- windows_projects=$( add-dependencies ${windows_projects_to_test} | sort | uniq)
9084
9185# Generate the appropriate pipeline
9286if [[ " ${linux_projects} " != " " ]]; then
0 commit comments