mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-26 06:39:57 +00:00
20 lines
404 B
Bash
Executable File
20 lines
404 B
Bash
Executable File
#!/bin/bash
|
|
# Builds the node module for manylinux. Invoked by ci/build_linux_artifacts.sh.
|
|
set -e
|
|
ARCH=${1:-x86_64}
|
|
|
|
if [ "$ARCH" = "x86_64" ]; then
|
|
export OPENSSL_LIB_DIR=/usr/local/lib64/
|
|
else
|
|
export OPENSSL_LIB_DIR=/usr/local/lib/
|
|
fi
|
|
export OPENSSL_STATIC=1
|
|
export OPENSSL_INCLUDE_DIR=/usr/local/include/openssl
|
|
|
|
source $HOME/.bashrc
|
|
|
|
cd node
|
|
npm ci
|
|
npm run build-release
|
|
npm run pack-build
|