File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -72,24 +72,17 @@ jobs:
7272 strategy :
7373 fail-fast : false
7474 matrix :
75- preset : [pybind]
75+ preset : [pybind, llm ]
7676 with :
7777 job-name : build
7878 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
7979 submodules : recursive
8080 timeout : 90
8181 script : |
8282 set -eux
83- conda init powershell
84- powershell -Command "& {
85- \$ErrorActionPreference = 'Stop'
86- Set-PSDebug -Trace 1
83+ conda create --yes --quiet -n et python=3.12
84+ conda activate et
8785
88- conda create --yes --quiet -n et python=3.12
89- conda activate et
90-
91- python install_requirements.py
92- cmake --preset ${{ matrix.preset }}
93- \$numCores = [System.Environment]::GetEnvironmentVariable('NUMBER_OF_PROCESSORS') - 1
94- cmake --build cmake-out -j \$numCores
95- }"
86+ ./install_requirements.sh
87+ cmake -G "Visual Studio 17 2022" -T ClangCL --preset ${{ matrix.preset }}
88+ cmake --build cmake-out -j$(( $(nproc) - 1 ))
Original file line number Diff line number Diff line change @@ -75,6 +75,12 @@ if(NOT PYTHON_EXECUTABLE)
7575endif ()
7676announce_configured_options(PYTHON_EXECUTABLE)
7777
78+ if (WIN32 )
79+ if (NOT "${CMAKE_GENERATOR_TOOLSET} " STREQUAL "" AND NOT CMAKE_GENERATOR_TOOLSET MATCHES "Clang" )
80+ message (FATAL_ERROR "Windows builds require Clang compiler. Current CMAKE_GENERATOR_TOOLSET: ${CMAKE_GENERATOR_TOOLSET} " )
81+ endif ()
82+ endif ()
83+
7884announce_configured_options(CMAKE_CXX_COMPILER_ID)
7985announce_configured_options(CMAKE_TOOLCHAIN_FILE)
8086announce_configured_options(BUCK2)
You can’t perform that action at this time.
0 commit comments