fix(c/llama2): explicitly link libm to ensure compatibility with Linux

This commit is contained in:
Aofei Sheng
2024-06-24 17:50:05 +08:00
parent e27daed0ec
commit d0fb5a4b04
2 changed files with 1 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ import (
const (
LLGoFiles = "llama2/llama2.c"
LLGoPackage = "link"
LLGoPackage = "link: -lm"
)
// -----------------------------------------------------------------------------