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