Skip to content

fix build cross-platform#1

Open
giangndm wants to merge 6 commits into
lrbalt:mainfrom
giangndm:fix-build-crossplatform-macos
Open

fix build cross-platform#1
giangndm wants to merge 6 commits into
lrbalt:mainfrom
giangndm:fix-build-crossplatform-macos

Conversation

@giangndm

Copy link
Copy Markdown

This PR add build from Soxr source fallback incase of pkg-config cannot find libsoxr.

The motivation of this PR is to build cross-platform versions with github-actions. Example with macOS aarch64, pkg-config cannot find library with macos-lastest x64 runner.

@Boscop

Boscop commented Jul 14, 2024

Copy link
Copy Markdown

@giangndm With this, it should be possible to build this crate and link dynamically to the soxr DLL on Windows, right?

@giangndm

Copy link
Copy Markdown
Author

@Boscop I only tested in mac and linux env. Did it error with Windows?

Comment thread .gitmodules
@@ -0,0 +1,3 @@
[submodule "soxr"]
path = soxr
url = https://github.com/chirlu/soxr

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Can we do without this submodule? I'd rather not reference a personal repo

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