Skip to content

chore: add .agents/environment.yaml for automated dev setup#334

Open
devin-ai-integration[bot] wants to merge 1 commit intomasterfrom
devin/1773324306-add-environment-yaml
Open

chore: add .agents/environment.yaml for automated dev setup#334
devin-ai-integration[bot] wants to merge 1 commit intomasterfrom
devin/1773324306-add-environment-yaml

Conversation

@devin-ai-integration
Copy link
Copy Markdown

Make sure to read the contributing guidelines before submitting a PR

Summary

Adds a .agents/environment.yaml file so that Devin AI sessions can automatically set up a working local development environment for llama.cpp.

The configuration was derived by reading the repo's build docs, inspecting CMakeLists.txt, and performing a full build from scratch on a clean Ubuntu 22.04 VM.

What's included

  • initialize: Installs cmake, ccache, libcurl4-openssl-dev, and pre-commit (one-time setup)
  • maintenance: Installs pre-commit hooks and runs an incremental CMake build each session
  • knowledge: Documents how to lint, test (CTest), build (CPU-only), and run the CLI/server

Review checklist

  • Verify the apt package list (cmake ccache libcurl4-openssl-dev) is sufficient for a CPU-only build
  • Confirm that running cmake --build build in the maintenance step every session is acceptable (it's incremental, so it's fast on subsequent runs)
  • Check whether cd build && ctest --output-on-failure is the preferred way to run tests, vs. ctest --test-dir build --output-on-failure
  • Decide if GPU-related build knowledge (CUDA, Metal, etc.) should be added or if CPU-only is appropriate as the default

Notes

  • The repo's .pre-commit-config.yaml has a pre-existing dependency conflict: flake8-no-print requires flake8==4.0.1 but the config pins flake8 rev 7.0.0. This is unrelated to this PR.

Link to Devin session: https://app.devin.ai/sessions/7b2c6e17b066468dbfbfc1d8c1abcc8f
Requested by: @Joseph-Gross

Co-Authored-By: Joseph Gross <josephgross157@gmail.com>
@devin-ai-integration
Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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.

0 participants