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

Chore: Refactor nitro lib #325

Closed
wants to merge 22 commits into from

Conversation

duongcongtoai
Copy link

@duongcongtoai duongcongtoai commented Jan 8, 2024

  • split header files into include directory
  • added a interface target llama_interface, so we can make the import path of llama files more descriptive (log.h -> llama_interface/log.h)
  • moved nitro object files into src folder, and use glob to compile all .cpp file, downside is that we have to run cmake . everytime we add new .cpp file

CMakeLists.txt Outdated
${CMAKE_THREAD_LIBS_INIT})
# find_package(Drogon CONFIG REQUIRED)
# target_link_libraries(${PROJECT_NAME} PRIVATE Drogon::Drogon common llava
# ${CMAKE_THREAD_LIBS_INIT})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what was replaced with in this section

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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