-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[meson] fix build_machine configuration #17845
[meson] fix build_machine configuration #17845
Conversation
I suggest @NancyLi1013 and @Neumann-A as reviewers as they already have some context about the issue. |
Ping @Neumann-A for review this PR. |
I spotted an issue, wait for the next patch. |
8c93e22
to
93e4235
Compare
I got my changes in. Good for review I suppose. |
93e4235
to
41f514a
Compare
Ping @Neumann-A for review this PR again. |
nothing to review as long as CI for Linux and osx are red |
41f514a
to
235d190
Compare
This failure seems unrelated:
|
235d190
to
a9a9536
Compare
fribidi:x64-osx:
glib:x64-osx:
|
a9a9536
to
0658336
Compare
The osx build issue should be addressed with the last change. |
0658336
to
d1aa23a
Compare
Please get failure log here. |
@JackBoosY do you know how I can get the logs for dav1d? |
It seems that dav1d did build but maybe for the wrong architecture?
Do you have post install checks to make sure that the binary architecture is the desired one? |
I don't have access to a recent x64 macos machine, so I can't test it further on OSX. |
vcpkg@vcpkg % nm packages/dav1d_x64-osx/lib/libdav1d.a| grep _dav1d_avg_avx2
0000000000006bf0 T _dav1d_avg_avx2
0000000000006ce1 t _dav1d_avg_avx2.ret
0000000000006eaa t _dav1d_avg_avx2.w128
0000000000006e87 t _dav1d_avg_avx2.w128_loop
0000000000006d60 t _dav1d_avg_avx2.w16
0000000000006d34 t _dav1d_avg_avx2.w16_loop
0000000000006ddb t _dav1d_avg_avx2.w32
0000000000006daf t _dav1d_avg_avx2.w32_loop
0000000000006c33 t _dav1d_avg_avx2.w4
0000000000006e47 t _dav1d_avg_avx2.w64
0000000000006e1c t _dav1d_avg_avx2.w64_loop
0000000000006d11 t _dav1d_avg_avx2.w8
0000000000006ce5 t _dav1d_avg_avx2.w8_loop
U _dav1d_avg_avx2
vcpkg@vcpkg % find buildtrees/dav1d/x64-osx-dbg -name "*.a"
buildtrees/dav1d/x64-osx-dbg/src/libdav1d.a dav1d does use these symbols, and it only depends on the build tools. decl_avg_fn(dav1d_avg_avx2);
#define decl_avg_fn(name) \
void (name)(pixel *dst, ptrdiff_t dst_stride, \
const int16_t *tmp1, const int16_t *tmp2, int w, int h \
HIGHBD_DECL_SUFFIX)
typedef decl_avg_fn(*avg_fn); In meson log:
|
Thank you very much @JackBoosY |
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.
This LGTM, thanks for the PR!
Also it affects to the
It will run the |
That can be, I'm sorry I'm super busy at the moment, maybe you can try to make a pull request with your fix? |
Trying to solve UPD: Unfortunatelly my change doesn't affect to But the lib still builds for the x86_64, I don't understand why. |
For Apple M1 macbook, the default triplet should be |
This pull request fixes the build_machine arguments passed to meson.
It partially addresses #17676