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 static linking of ctranslate2 #148

Merged
merged 14 commits into from
May 27, 2023
Merged

Conversation

wsxiaoys
Copy link
Member

@wsxiaoys wsxiaoys commented May 26, 2023

so we can distribute single binary for deployment.

acknowledgement: rust-lang/cmake-rs#149

@wsxiaoys wsxiaoys force-pushed the ctranslate2-static-linking branch from e36ef7c to 5f66ca1 Compare May 26, 2023 19:41
@wsxiaoys wsxiaoys merged commit 06cf34a into main May 27, 2023
@wsxiaoys wsxiaoys deleted the ctranslate2-static-linking branch May 27, 2023 04:34
Xentention pushed a commit to Xentention/tabby that referenced this pull request Jul 23, 2023
* support static linking of ctranslate2

* update

* remove submodule rust-cxx-cmake-bridge

* support alwayslink with whole-archive

* update

* move export_libs

* update docker config

* update ctranslate2

* remove

* update

* update build.rs

* parse external libs

* cleanup

* add cargo fmt
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.

1 participant