xmake-io / xmake-repo

📦 An official xmake package repository
https://xrepo.xmake.io
Apache License 2.0
669 stars 393 forks source link

使用llvm时候报 llvm toolchain not found! #4858

Open Dozingfiretruck opened 1 month ago

Dozingfiretruck commented 1 month ago

Xmake 版本

2.9.4

操作系统版本和架构

win10

描述问题

使用llvm时候报 llvm toolchain not found!

image

期待的结果

正常编译

工程配置

image

附加信息和错误日志

image

waruqi commented 1 month ago

配置不对,toolchain 都没跟 package 绑定。

仔细看 example 里的配置。https://github.com/xmake-io/xmake/blob/b0524faed10267bfe351f79186c1cac649682223/tests/projects/package/toolchain_llvm/xmake.lua#L7

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


The configuration is incorrect and the toolchain is not bound to the package.

Take a closer look at the configuration in the example. https://github.com/xmake-io/xmake/blob/b0524faed10267bfe351f79186c1cac649682223/tests/projects/package/toolchain_llvm/xmake.lua#L7