Files
mlc-ai--mlc-llm/ci/task/build_win.bat
T
wehub-resource-sync 770d92cb1f
Lint / lint (push) Waiting to run
Windows CI / Windows (push) Waiting to run
Build Docs / Deploy Docs (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:23:58 +08:00

15 lines
473 B
Batchfile

cd mlc-llm
rd /s /q build
mkdir build
echo set(USE_VULKAN ON) >> config.cmake
REM Conda ships a GNU coreutils link.exe in %CONDA_PREFIX%\Library\usr\bin that
REM shadows the MSVC linker on PATH and breaks the Rust (cargo) build of the
REM tokenizers crate. Remove it so cargo/rustc pick up the MSVC link.exe.
if exist "%CONDA_PREFIX%\Library\usr\bin\link.exe" del /f /q "%CONDA_PREFIX%\Library\usr\bin\link.exe"
pip install . -v
if %errorlevel% neq 0 exit %errorlevel%