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

Update C examples so they can be built individually #901

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

baijumeswani
Copy link
Contributor

@baijumeswani baijumeswani commented Sep 18, 2024

The C examples cmake file builds all the examples together. This can cause problems if users want to only build the language model example (and not the others).

This pull-request allows users to configure which example gets built.

The available options right now are:

PHI3 -> -DPHI3=ON
PHI3V -> -DPHI3V=ON
WHISPER -> -DWHISPER=ON

@baijumeswani baijumeswani changed the title Update C examples so they can be build individually Update C examples so they can be built individually Sep 18, 2024
@baijumeswani baijumeswani merged commit d07c94f into main Sep 18, 2024
12 of 13 checks passed
@baijumeswani baijumeswani deleted the baijumeswani/update-examples branch September 18, 2024 22:12
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.

3 participants