Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
go-version: "1.23"

- name: Build
run: go build -o /dev/null ./cmd/coginfer
run: CGO_ENABLED=0 go build -o /dev/null ./cmd/coginfer

- name: Lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v9
with:
version: latest
args: --timeout=3m
Expand Down
4 changes: 2 additions & 2 deletions internal/llm/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
package llm

/*
#cgo LDFLAGS: -L${SRCDIR}/../../vendor/llama.cpp/build -llama -lm -lstdc++
#cgo CFLAGS: -I${SRCDIR}/../../vendor/llama.cpp/include
#cgo LDFLAGS: -L${SRCDIR}/../../vendor/llama.cpp/build -L${SRCDIR}/../../vendor/llama.cpp/build/src -lllama -lm -lstdc++
#cgo CFLAGS: -I${SRCDIR}/../../vendor/llama.cpp/include -I${SRCDIR}/../../vendor/llama.cpp/ggml/include

#include <stdlib.h>
#include "llama.h"

Check failure on line 10 in internal/llm/bridge.go

View workflow job for this annotation

GitHub Actions / build

fatal error: llama.h: No such file or directory

Check failure on line 10 in internal/llm/bridge.go

View workflow job for this annotation

GitHub Actions / build

fatal error: llama.h: No such file or directory

Check failure on line 10 in internal/llm/bridge.go

View workflow job for this annotation

GitHub Actions / build

fatal error: llama.h: No such file or directory
*/
import "C"

Expand Down
Loading