canonical / canonical/llama.cpp-builds

Add riscv build

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
2
Forks
4
PR merge metrics
No merged PRs in 30d

Description

It looks like one can cross-compile for riscv using:
```
cmake -B build \
-DCMAKE_SYSTEM_NAME=Linux \
-DCMAKE_SYSTEM_PROCESSOR=riscv64 \
-DCMAKE_C_COMPILER=riscv64-linux-gnu-gcc \
-DCMAKE_CXX_COMPILER=riscv64-linux-gnu-g++ \
-DGGML_RVV=ON
cmake --build build --config Release
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the supplied CMake configure and build commands, then inspect the repository's existing build configuration to determine where RISC-V support belongs. Done means the project configures and builds successfully for riscv64 with GGML_RVV enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, linux
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.