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

Auto-update libsigcplusplus to 3.6.0 #3078

Merged
merged 7 commits into from
Mar 1, 2024

Conversation

waruqi
Copy link
Member

@waruqi waruqi commented Jan 11, 2024

New version of libsigcplusplus detected (package version: 3.4.0, last github version: 3.6.0)

@waruqi waruqi added the auto-update Automatic update label Jan 11, 2024
@waruqi waruqi closed this Feb 28, 2024
@waruqi waruqi reopened this Feb 28, 2024
@waruqi waruqi closed this Feb 28, 2024
@waruqi waruqi reopened this Feb 28, 2024
@star-hengxing
Copy link
Contributor

@waruqi 不知道为啥 mac arm64 失败,看起来是没找到 libstdc++ 之类的

@Issues-translate-bot
Copy link

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


@waruqi I don’t know why mac arm64 failed. It seems that libstdc++ was not found or something like that.

@waruqi
Copy link
Member Author

waruqi commented Feb 29, 2024

似乎是 linker 用了 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang

不是 clang++,所以没有自动 link 到 c++ 库。。可以尝试 patch 下,加上 -lc++

或者暂时禁用 arm64/shared

add_versions("3.4.0", "445d889079041b41b368ee3b923b7c71ae10a54da03bc746f2d0723e28ba2291")

add_configs("deprecated_api", {description = "Build deprecated API and include it in the library", default = false, type = "boolean"})
if is_plat("wasm") then
add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
end

if is_plat("macosx") then
add_syslinks("c++")
Copy link
Member Author

Choose a reason for hiding this comment

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

是包自身构建缺 link,外面加这个没用,那个是对外导出 link

Copy link
Contributor

Choose a reason for hiding this comment

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

写错了。。

@star-hengxing
Copy link
Contributor

linux/mac + meson + clang+ shared 都会出现这个问题,这应该是 meson 的锅?

@Issues-translate-bot
Copy link

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


This problem will occur in linux/mac + meson + clang+ shared. Is this the fault of meson?

import("package.tools.meson").install(package, configs)
end)

on_test(function (package)
Copy link
Member Author

Choose a reason for hiding this comment

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

on_test 为啥删了

@star-hengxing star-hengxing merged commit 09ab210 into dev Mar 1, 2024
1 of 39 checks passed
@star-hengxing star-hengxing deleted the autoupdate-libsigcplusplus-3.6.0 branch March 1, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-update Automatic update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants