Elffuss BraidHub

kikocis/lancedb public

main · 404 B · executableRawPermalink
1#!/bin/bash
2# Builds the node module for manylinux. Invoked by ci/build_linux_artifacts.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 node
17npm ci
18npm run build-release
19npm run pack-build