Elffuss BraidHub

kikocis/lancedb public

main · 366 B · executableRawPermalink
1#!/bin/bash
2# Installs protobuf compiler. Should be run as root.
3set -e
4
5if [[ $1 == x86_64* ]]; then
6 ARCH=x86_64
7else
8 # gnu target
9 ARCH=aarch_64
10fi
11
12PB_REL=https://github.com/protocolbuffers/protobuf/releases
13PB_VERSION=23.1
14curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-$ARCH.zip
15unzip protoc-$PB_VERSION-linux-$ARCH.zip -d /usr/local