-
-
Notifications
You must be signed in to change notification settings - Fork 815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optimize wasi-sdk detect #4799
optimize wasi-sdk detect #4799
Conversation
xmake/platforms/wasm/xmake.lua
Outdated
@@ -36,11 +36,15 @@ platform("wasm") | |||
{ | |||
{category = "Emscripten Configuration" } | |||
, {nil, "emsdk", "kv", nil, "The emsdk directory" } | |||
, {category = "WASI-SDK Configuration" } | |||
, {nil, "wasi_sdk", "kv", nil, "The wasi-sdk directory" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
目前 参数已经太多了,不建议再去对每个 toolchain 添加 option,尽可能收敛。否则以后支持上百 toolchain,不得加上百个 xxxsdk 参数
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
那就只支持环境变量?我是想着都支持了比较方便用户。。。
commit 不要用中文 |
commit do not use Chinese |
if opt.verbose or option.get("verbose") then | ||
cprint("checking for wasi-sdk directory ... ${color.success}%s", sdk.sdkdir) | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
空行去了
#4798 (comment)