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

fixes for MSVC windows compilation #32

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

bachittle
Copy link
Contributor

In GGML, the GGML_OP_COUNT parameter needed to be increased, as it was exceeding its limit. Mac and Linux compilers like GCC and clang must fix this at compile time, but MSVC throws an error. Just incrementing the number to what we need fixes this.

Finally, it was also compiling as a .dll, not as a .lib, with Windows CMake, so adding the static keyword fixes this. Everything should still compile under Linux, we'll see if the CI you added proves this.

@PABannier PABannier merged commit 80799dd into PABannier:main Jan 9, 2024
3 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.

2 participants