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

cmake : fix deprecated option names not working #8171

Merged
merged 2 commits into from
Jun 27, 2024
Merged

Conversation

slaren
Copy link
Collaborator

@slaren slaren commented Jun 27, 2024

The deprecated options are not working correctly because the variables are not being set in the correct scope.

LLAMA_OPENMP also cannot work as is because the default is ON, but the way llama_option_depr works, it only works when enabling an option, but not when disabling it. I removed it to avoid confusion.

@slaren slaren changed the title Sl/fix cmake depr cmake : fix deprecated option names not working Jun 27, 2024
@ggerganov ggerganov self-requested a review June 27, 2024 16:31
@github-actions github-actions bot added the build Compilation issues label Jun 27, 2024
@slaren slaren merged commit 8172ee9 into master Jun 27, 2024
50 of 53 checks passed
@slaren slaren deleted the sl/fix-cmake-depr branch June 27, 2024 18:04
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Jun 30, 2024
* cmake : fix deprecated option names not working

* remove LlAMA_OPENMP
MagnusS0 pushed a commit to MagnusS0/llama.cpp-normistral-tokenizer that referenced this pull request Jul 1, 2024
* cmake : fix deprecated option names not working

* remove LlAMA_OPENMP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Compilation issues
Projects
None yet
2 participants