Skip to content

Commit

Permalink
LLVM build: Fix source update check for v19 and up
Browse files Browse the repository at this point in the history
  • Loading branch information
pal1000 committed Oct 18, 2024
1 parent 349cb84 commit 1e78139
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions buildscript/modules/llvm.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
@if /I NOT "%cfgllvmbuild%"=="y" GOTO skipllvm

@rem Get/update LLVM source code
@set updllvmsrcver=19.1.1
@set updllvmsrcver=19.1.2
@if /I "%legacyllvm%"=="y" set updllvmsrcver=18.1.8
@set llvmsrcver=0
@set llvmsrcloc="%devroot%\llvm-project\llvm\CMakeLists.txt"
@set llvmsrcloc="%devroot%\llvm-project\cmake\Modules\LLVMVersion.cmake"
@if NOT EXIST %llvmsrcloc% set llvmsrcloc="%devroot%\llvm-project\llvm\CMakeLists.txt"
@if NOT EXIST %llvmsrcloc% set llvmsrcloc="%devroot%\llvm\CMakeLists.txt"
@if NOT EXIST %llvmsrcloc% set llvmsrcloc=null
@if NOT %llvmsrcloc%==null for /f tokens^=2^ delims^=^(^)^ eol^= %%a IN ('type %llvmsrcloc%') DO @for /f tokens^=1^,2^ eol^= %%b IN ("%%a") DO @(
Expand Down
2 changes: 2 additions & 0 deletions releasenotes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
### Build script
- LLVM build: Fix source update check for [v19 and up](https://github.com/llvm/llvm-project/pull/84641).
# 24.2.4
- Updated Mesa3D to [24.2.4](https://gitlab.freedesktop.org/mesa/mesa/-/blob/24.2/docs/relnotes/24.2.4.rst?ref_type=heads&plain=0).
### Build script
Expand Down

0 comments on commit 1e78139

Please sign in to comment.