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

CI: fix release build (Ubuntu+Mac) #8170

Merged
merged 2 commits into from
Jun 27, 2024
Merged

Conversation

loonerin
Copy link
Contributor

PR #8006 changes defaults to build shared libs. However, CI for releases expects static builds.

Other platforms likely need the same change.

PR ggerganov#8006 changes defaults to build shared libs. However, CI for releases
expects static builds.
@slaren
Copy link
Collaborator

slaren commented Jun 27, 2024

Likely only the windows builds correctly add the shared libraries in the release. The rest should be disabled, or fixed so that the shared library is added to the artifact.

@loonerin
Copy link
Contributor Author

loonerin commented Jun 27, 2024

Likely only the windows builds correctly add the shared libraries in the release. The rest should be disabled, or fixed so that the shared library is added to the artifact.

That's my assumption too, but as I don't have access to other platforms to test, this PR is just for Linux.

edit: had a colleague test Mac so added fix for Mac as well.

@loonerin loonerin changed the title CI: fix release build (Ubuntu) CI: fix release build (Ubuntu+Mac) Jun 27, 2024
@github-actions github-actions bot added the devops improvements to build systems and github actions label Jun 27, 2024
@slaren slaren merged commit 558f44b into ggerganov:master Jun 27, 2024
48 of 49 checks passed
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Jun 30, 2024
* CI: fix release build (Ubuntu)

PR ggerganov#8006 changes defaults to build shared libs. However, CI for releases
expects static builds.

* CI: fix release build (Mac)

---------

Co-authored-by: loonerin <[email protected]>
MagnusS0 pushed a commit to MagnusS0/llama.cpp-normistral-tokenizer that referenced this pull request Jul 1, 2024
* CI: fix release build (Ubuntu)

PR ggerganov#8006 changes defaults to build shared libs. However, CI for releases
expects static builds.

* CI: fix release build (Mac)

---------

Co-authored-by: loonerin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops improvements to build systems and github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants