From 78b66720915e72ff65dbbba841f70a3dc17bbc6e Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 3 Jun 2024 16:05:35 -0400 Subject: [PATCH] fix(llama.cpp) closes #6309 closes #6310 --- projects/github.com/ggerganov/llama.cpp/package.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/projects/github.com/ggerganov/llama.cpp/package.yml b/projects/github.com/ggerganov/llama.cpp/package.yml index b4abdc62..6d1ad1a7 100644 --- a/projects/github.com/ggerganov/llama.cpp/package.yml +++ b/projects/github.com/ggerganov/llama.cpp/package.yml @@ -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