Skip to content

Instantly share code, notes, and snippets.

View Moisan's full-sized avatar

Thierry Moisan Moisan

View GitHub Profile
@Moisan
Moisan / llama_cpp.rb
Created March 28, 2024 19:07
llama.cpp formula
# Documentation: https://docs.brew.sh/Formula-Cookbook
# https://rubydoc.brew.sh/Formula
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
class LlamaCpp < Formula
desc "LLM inference in C/C++"
homepage "https://github.com/ggerganov/llama.cpp"
# pull from git tag to get submodules
url "https://github.com/ggerganov/llama.cpp.git",
tag: "b2568",
revision: "be55134a535f7218c53f39211755b1c7550851b2"
@Moisan
Moisan / gist:6974bef3bbe73de64c5436123d9a9f25
Created February 23, 2021 14:28
gperftools 2.9 configure.ac
## Process this file with autoconf to produce configure.
## In general, the safest way to proceed is to run ./autogen.sh
# make sure we're interpreted by some minimal autoconf
AC_PREREQ([2.59])
AC_INIT([gperftools],[2.9.0],[[email protected]])
# Update this value for every release! (A:B:C will map to foo.so.(A-C).C.B)
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
TCMALLOC_SO_VERSION=9:8:5
@Moisan
Moisan / gist:4d5bbbe4d3dc6e793cf6dec877c9090f
Last active February 23, 2021 14:29
gperftools 2.9 configure.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by gperftools configure 2.9.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/gperftools/2.9.0
## --------- ##
## Platform. ##
@Moisan
Moisan / gist:390a77b097a4584047ad29c567300f83
Created August 21, 2019 19:35
flow 105 mac build failure
Started by upstream project "Homebrew Core Pull Requests" build number 46984
originally caused by:
GitHub pull request #43058 of commit 753742f66072c23615252144dc608bf7e346ff21, no merge conflicts.
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on mojave_stadium_1 (mojave macos) in workspace /Users/brew/Jenkins/workspace/core
No credentials specified
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/Homebrew/homebrew-core/ # timeout=10
item feature other_feature
item1 blue A
item1 red B
item1 green A
item2 green A