Skip to content

Commit

Permalink
llvm: update version check to support major version 18 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurVasseur committed Feb 2, 2025
1 parent 5ff92c0 commit 460bb85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/l/llvm/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ package("llvm")
on_source(function (package)
import("core.base.semver")
local version = semver.new(package:requireinfo().version)
if version:major() <= 18 and version:minor() >= 1 then
if version:major() >= 18 then
if package:is_plat("windows") then
package:set("urls", "https://github.com/llvm/llvm-project/releases/download/llvmorg-$(version)/clang+llvm-$(version)-x86_64-pc-windows-msvc.tar.xz")
package:add("versions", "18.1.8", "22c5907db053026cc2a8ff96d21c0f642a90d24d66c23c6d28ee7b1d572b82e8")
Expand Down

0 comments on commit 460bb85

Please sign in to comment.