Elffuss BraidHub

kikocis/lancedb public

main · 395 BRawPermalink
1#!/bin/bash
2# Builds the nodejs module for manylinux. Invoked by ci/build_linux_artifacts_nodejs.sh.
3set -e
4ARCH=${1:-x86_64}
5
6if [ "$ARCH" = "x86_64" ]; then
7 export OPENSSL_LIB_DIR=/usr/local/lib64/
8else
9 export OPENSSL_LIB_DIR=/usr/local/lib/
10fi
11export OPENSSL_STATIC=1
12export OPENSSL_INCLUDE_DIR=/usr/local/include/openssl
13
14source $HOME/.bashrc
15
16cd nodejs
17npm ci
18npm run build-release