## 🧹 ルートディレクトリ整理 - batファイル(21個) → tools/windows/llvm-build-attempts/へ移動 - ログファイル → logs/archive/へ移動 - LLVM実行ファイル(計104MB) → .gitignoreに追加して削除 ## 📝 .gitignore更新 - app_*_llvm, app_link, string_len_app を除外 - 大容量バイナリファイルのアップロード防止 ## 🔧 追加のリファクタリング - src/jit/lower/builder/tls.rs: TLS関連を独立モジュール化 ## 📊 整理結果 - ルートディレクトリ: 0個の一時ファイル(完全クリーン) - リポジトリサイズ: 189MB(適切) - 最大追跡ファイル: 5.2MB(許容範囲内) GitHub公開準備完了!🚀 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
36 lines
994 B
Batchfile
36 lines
994 B
Batchfile
@echo off
|
|
echo Installing LLVM 18.0.x via vcpkg and building Nyash...
|
|
|
|
REM Check if vcpkg exists
|
|
if not exist "C:\vcpkg\vcpkg.exe" (
|
|
echo ERROR: vcpkg not found at C:\vcpkg\vcpkg.exe
|
|
echo Please install vcpkg first
|
|
exit /b 1
|
|
)
|
|
|
|
echo Step 1: Installing LLVM via vcpkg with 24 threads...
|
|
cd C:\vcpkg
|
|
vcpkg install "llvm[core]:x64-windows"
|
|
|
|
echo Step 2: Setting environment variables...
|
|
set LLVM_SYS_180_PREFIX=C:\vcpkg\installed\x64-windows
|
|
set LLVM_SYS_NO_LIBFFI=1
|
|
set LLVM_SYS_180_STRICT_VERSIONING=0
|
|
set PATH=C:\vcpkg\installed\x64-windows\bin;%PATH%
|
|
|
|
echo Step 3: Checking LLVM installation...
|
|
if exist "C:\vcpkg\installed\x64-windows\bin\llvm-config.exe" (
|
|
echo LLVM installed successfully!
|
|
C:\vcpkg\installed\x64-windows\bin\llvm-config.exe --version
|
|
) else (
|
|
echo ERROR: llvm-config.exe not found
|
|
exit /b 1
|
|
)
|
|
|
|
echo Step 4: Building Nyash with LLVM support...
|
|
cd C:\git\nyash-project\nyash
|
|
cargo clean
|
|
cargo build --release --features llvm -j24
|
|
|
|
echo Done!
|
|
pause |