fix(llama.cpp)

closes #6309
closes #6310
This commit is contained in:
Jacob Heider 2024-06-03 16:05:35 -04:00 committed by Jacob Heider
parent c065c8db07
commit 78b6672091

View file

@ -20,6 +20,8 @@ platforms:
dependencies:
pkgx.sh: ^1
linux:
gnu.org/gcc: '*' # clang doesn't provide omp.h, and we need libstdc++
build:
dependencies:
@ -29,14 +31,9 @@ build:
python.org: ~3.11
env:
VIRTUAL_ENV: ${{prefix}}/venv
CC: clang
CXX: clang++
LD: clang
script:
# segfaults on some GHA runners
- run: |
sed -i.bak -e's/\(MK_.* -march=native -mtune=native\)/#\1/g' Makefile
rm Makefile.bak
- run: sed -i -e's/\(MK_.* -march=native -mtune=native\)/#\1/g' Makefile
if: linux/x86-64
# this commit breaks linux/aarch64 - fixed in 1732