-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
windows: bump llvm to 18.1.8 (#12490)
- Loading branch information
1 parent
02b589b
commit 6f8ceb0
Showing
6 changed files
with
45 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ on: | |
|
||
env: | ||
# Must specify exact version of LLVM for Windows | ||
LLVM_VERSION: 16.0.6 | ||
LLVM_VERSION: 18.1.8 | ||
BUN_VERSION: ${{ inputs.bun-version }} | ||
BUN_GARBAGE_COLLECTOR_LEVEL: 1 | ||
BUN_FEATURE_FLAG_INTERNAL_FOR_TESTING: 1 | ||
|
@@ -43,8 +43,11 @@ jobs: | |
name: Build Submodules | ||
runs-on: ${{ inputs.runs-on }} | ||
steps: | ||
# - name: Install VS2022 BuildTools 17.9.7 | ||
# run: choco install -y visualstudio2022buildtools --version=117.9.7.0 --params "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --installChannelUri https://aka.ms/vs/17/release/180911598_-255012421/channel" | ||
- name: Install Scoop | ||
run: | | ||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser | ||
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression | ||
Join-Path (Resolve-Path ~).Path "scoop\shims" >> $Env:GITHUB_PATH | ||
- name: Setup Git | ||
run: | | ||
git config --global core.autocrlf false | ||
|
@@ -75,10 +78,11 @@ jobs: | |
path: bun-deps | ||
key: bun-${{ inputs.tag }}-deps-${{ steps.hash.outputs.hash }} | ||
- if: ${{ inputs.no-cache || !steps.cache.outputs.cache-hit }} | ||
name: Install Ninja | ||
name: Install LLVM and Ninja | ||
run: | | ||
choco install -y ninja | ||
choco install -y llvm --version=${{ env.LLVM_VERSION }} --force | ||
scoop install ninja | ||
scoop install llvm@${{ env.LLVM_VERSION }} | ||
scoop install [email protected] | ||
- if: ${{ inputs.no-cache || !steps.cache.outputs.cache-hit }} | ||
name: Clone Submodules | ||
run: | | ||
|
@@ -91,7 +95,6 @@ jobs: | |
USE_LTO: 1 | ||
run: | | ||
.\scripts\env.ps1 ${{ contains(inputs.tag, '-baseline') && '-Baseline' || '' }} | ||
choco install -y nasm --version=2.16.01 | ||
$env:BUN_DEPS_OUT_DIR = (mkdir -Force "./bun-deps") | ||
.\scripts\all-dependencies.ps1 | ||
- name: Save Cache | ||
|
@@ -139,8 +142,11 @@ jobs: | |
needs: codegen | ||
runs-on: ${{ inputs.runs-on }} | ||
steps: | ||
# - name: Install VS2022 BuildTools 17.9.7 | ||
# run: choco install -y visualstudio2022buildtools --version=117.9.7.0 --params "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --installChannelUri https://aka.ms/vs/17/release/180911598_-255012421/channel" | ||
- name: Install Scoop | ||
run: | | ||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser | ||
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression | ||
Join-Path (Resolve-Path ~).Path "scoop\shims" >> $Env:GITHUB_PATH | ||
- name: Setup Git | ||
run: | | ||
git config --global core.autocrlf false | ||
|
@@ -149,10 +155,10 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Install Ninja | ||
- name: Install LLVM and Ninja | ||
run: | | ||
choco install -y ninja | ||
choco install -y llvm --version=${{ env.LLVM_VERSION }} --force | ||
scoop install ninja | ||
scoop install llvm@${{ env.LLVM_VERSION }} | ||
- name: Setup Bun | ||
uses: ./.github/actions/setup-bun | ||
with: | ||
|
@@ -219,8 +225,11 @@ jobs: | |
- build-zig | ||
- codegen | ||
steps: | ||
# - name: Install VS2022 BuildTools 17.9.7 | ||
# run: choco install -y visualstudio2022buildtools --version=117.9.7.0 --params "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --installChannelUri https://aka.ms/vs/17/release/180911598_-255012421/channel" | ||
- name: Install Scoop | ||
run: | | ||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser | ||
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression | ||
Join-Path (Resolve-Path ~).Path "scoop\shims" >> $Env:GITHUB_PATH | ||
- name: Setup Git | ||
run: | | ||
git config --global core.autocrlf false | ||
|
@@ -231,8 +240,8 @@ jobs: | |
submodules: recursive | ||
- name: Install Ninja | ||
run: | | ||
choco install -y ninja | ||
choco install -y llvm --version=${{ env.LLVM_VERSION }} --force | ||
scoop install ninja | ||
scoop install llvm@${{ env.LLVM_VERSION }} | ||
- name: Setup Bun | ||
uses: ./.github/actions/setup-bun | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters