Skip to content
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

Merged
merged 4 commits into from
Mar 6, 2024
Merged

optimize wasi-sdk detect #4799

merged 4 commits into from
Mar 6, 2024

Conversation

vkensou
Copy link
Contributor

@vkensou vkensou commented Mar 5, 2024

@@ -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" }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

目前 参数已经太多了,不建议再去对每个 toolchain 添加 option,尽可能收敛。否则以后支持上百 toolchain,不得加上百个 xxxsdk 参数

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

那就只支持环境变量?我是想着都支持了比较方便用户。。。

@waruqi
Copy link
Member

waruqi commented Mar 5, 2024

commit 不要用中文

@Issues-translate-bot
Copy link

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


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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

空行去了

@waruqi waruqi added this to the v2.8.9 milestone Mar 6, 2024
@waruqi waruqi merged commit b3b3bf6 into xmake-io:dev Mar 6, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants