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

Add on_load function to volk package script to fix installing error on latest xmake version. #4632

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

JX-Master
Copy link
Contributor

The package script file for volk library does not include a linkage specification, which will fail the linkage validation on latest xmake version:

error: package(volk): links not found!
  => install volk 1.3.283+0 .. failed
error: install failed!

See https://github.com/JX-Master/LunaSDK/actions/runs/9902626221/job/27356844358 for full log.

This pull request fixes this bug by adding a on_load callback function to explicitly specify the library as header-only, so that the linkage validation will not cause installation failure.

@waruqi waruqi merged commit e676808 into xmake-io:dev Jul 12, 2024
65 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.

None yet

2 participants