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

Support Windows and BYOL Build #14

Merged
merged 4 commits into from
Jan 15, 2024
Merged

Support Windows and BYOL Build #14

merged 4 commits into from
Jan 15, 2024

Conversation

JacobLinCool
Copy link
Owner

@JacobLinCool JacobLinCool commented Jan 15, 2024

This PR moved all build process into gyp, no other commands are involved now. Which allows windows to use the package without setting up other build tools.

Also, a BYOL env var is supported during the building process, which allows users to use their own libwhisper.a or libwhisper.so, enabling other accelerations of whisper.cpp in different environment.

BYOL="/path/to/libwhisper.a" pnpm i smart-whisper

Copy link

changeset-bot bot commented Jan 15, 2024

🦋 Changeset detected

Latest commit: 4adfbfe

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
smart-whisper Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@JacobLinCool JacobLinCool changed the title Improved build Support Windows and BYOL Build Jan 15, 2024
@JacobLinCool JacobLinCool linked an issue Jan 15, 2024 that may be closed by this pull request
@JacobLinCool JacobLinCool merged commit cf20fdf into main Jan 15, 2024
6 checks passed
@JacobLinCool JacobLinCool deleted the improved-build branch January 15, 2024 13:07
@github-actions github-actions bot mentioned this pull request Jan 15, 2024
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.

Support Windows
1 participant