File tree Expand file tree Collapse file tree 3 files changed +17
-8
lines changed Expand file tree Collapse file tree 3 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ echo "--- cmake"
50
50
pip install -q -r " ${MONOREPO_ROOT} " /mlir/python/requirements.txt
51
51
pip install -q -r " ${MONOREPO_ROOT} " /.ci/requirements.txt
52
52
53
+ export CC=cl
54
+ export CXX=cl
55
+ export LD=link
56
+
53
57
# The CMAKE_*_LINKER_FLAGS to disable the manifest come from research
54
58
# on fixing a build reliability issue on the build server, please
55
59
# see https://github.com/llvm/llvm-project/pull/82393 and
@@ -71,9 +75,7 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
71
75
-D MLIR_ENABLE_BINDINGS_PYTHON=ON \
72
76
-D CMAKE_EXE_LINKER_FLAGS=" /MANIFEST:NO" \
73
77
-D CMAKE_MODULE_LINKER_FLAGS=" /MANIFEST:NO" \
74
- -D CMAKE_SHARED_LINKER_FLAGS=" /MANIFEST:NO" \
75
- -D LLVM_PARALLEL_COMPILE_JOBS=16 \
76
- -D LLVM_PARALLEL_LINK_JOBS=4
78
+ -D CMAKE_SHARED_LINKER_FLAGS=" /MANIFEST:NO"
77
79
78
80
echo " --- ninja"
79
81
# Targets are not escaped as they are passed as separate arguments.
Original file line number Diff line number Diff line change 30
30
uses :
hendrikmuhs/[email protected]
31
31
with :
32
32
variant : " sccache"
33
- - name : Build and Test
34
- continue-on-error : true
33
+ - name : Compute Projects
34
+ id : vars
35
35
run : |
36
36
modified_files=$(git diff --name-only HEAD~1...HEAD)
37
37
modified_dirs=$(echo "$modified_files" | cut -d'/' -f1 | sort | uniq)
56
56
echo "Building projects: ${windows_projects}"
57
57
echo "Running project checks targets: ${windows_check_targets}"
58
58
59
- .ci/monolithic-windows.sh "$(echo ${windows_projects} | tr ' ' ';')" "$(echo ${windows_check_targets})"
60
-
59
+ #echo "windows-projects=${windows_projects}" >> $GITHUB_OUTPUT
60
+ #echo "windows-check-targets=${windows_check_targets}" >> $GITHUB_OUTPUT
61
+ echo "windows-projects=llvm" >> $GITHUB_OUTPUT
62
+ echo "windows-check-targets=check-llvm" >> $GITHUB_OUTPUT
63
+ - name : Build and Test
64
+ shell : cmd
65
+ run : |
66
+ call C:\\BuildTools\\Common7\\Tools\\VsDevCmd.bat -arch=amd64 -host_arch=amd64
67
+ bash .ci/monolithic-windows.sh "llvm;clang" "check-llvm check-clang"
Original file line number Diff line number Diff line change 1
1
# See docs/CMake.html for instructions about how to build LLVM with CMake.
2
-
2
+ # comment
3
3
cmake_minimum_required (VERSION 3.20.0 )
4
4
5
5
include (CMakeDependentOption )
You can’t perform that action at this time.
0 commit comments