File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -233,10 +233,7 @@ linux_projects=$(add-dependencies ${linux_projects_to_test} | sort | uniq)
233233
234234windows_projects_to_test=$( exclude-windows $( compute-projects-to-test ${modified_projects} ) )
235235windows_check_targets=$( check-targets ${windows_projects_to_test} | sort | uniq)
236- # Temporary disable the windows job.
237- # See https://discourse.llvm.org/t/rfc-future-of-windows-pre-commit-ci/76840
238- # windows_projects=$(add-dependencies ${windows_projects_to_test} | sort | uniq)
239- windows_projects=" "
236+ windows_projects=$( add-dependencies ${windows_projects_to_test} | sort | uniq)
240237
241238# Generate the appropriate pipeline
242239if [[ " ${linux_projects} " != " " ]]; then
Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ targets="${2}"
3838
3939echo " --- cmake"
4040pip install -q -r ${MONOREPO_ROOT} /mlir/python/requirements.txt
41+
42+ # The CMAKE_*_LINKER_FLAGS to disable the manifest come from research
43+ # on fixing a build reliability issue on the build server, please
44+ # see https://github.com/llvm/llvm-project/pull/82393 and
45+ # https://discourse.llvm.org/t/rfc-future-of-windows-pre-commit-ci/76840/40
46+ # for further information.
4147cmake -S ${MONOREPO_ROOT} /llvm -B ${BUILD_DIR} \
4248 -D LLVM_ENABLE_PROJECTS=" ${projects} " \
4349 -G Ninja \
@@ -49,7 +55,10 @@ cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
4955 -D COMPILER_RT_BUILD_ORC=OFF \
5056 -D CMAKE_C_COMPILER_LAUNCHER=sccache \
5157 -D CMAKE_CXX_COMPILER_LAUNCHER=sccache \
52- -D MLIR_ENABLE_BINDINGS_PYTHON=ON
58+ -D MLIR_ENABLE_BINDINGS_PYTHON=ON \
59+ -D CMAKE_EXE_LINKER_FLAGS=" /MANIFEST:NO" \
60+ -D CMAKE_MODULE_LINKER_FLAGS=" /MANIFEST:NO" \
61+ -D CMAKE_SHARED_LINKER_FLAGS=" /MANIFEST:NO"
5362
5463echo " --- ninja"
5564# Targets are not escaped as they are passed as separate arguments.
You can’t perform that action at this time.
0 commit comments