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)
233
233
234
234
windows_projects_to_test=$( exclude-windows $( compute-projects-to-test ${modified_projects} ) )
235
235
windows_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)
240
237
241
238
# Generate the appropriate pipeline
242
239
if [[ " ${linux_projects} " != " " ]]; then
Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ targets="${2}"
38
38
39
39
echo " --- cmake"
40
40
pip 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.
41
47
cmake -S ${MONOREPO_ROOT} /llvm -B ${BUILD_DIR} \
42
48
-D LLVM_ENABLE_PROJECTS=" ${projects} " \
43
49
-G Ninja \
@@ -49,7 +55,10 @@ cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
49
55
-D COMPILER_RT_BUILD_ORC=OFF \
50
56
-D CMAKE_C_COMPILER_LAUNCHER=sccache \
51
57
-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"
53
62
54
63
echo " --- ninja"
55
64
# Targets are not escaped as they are passed as separate arguments.
You can’t perform that action at this time.
0 commit comments