mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-03 18:32:55 +00:00
untested 4 artifacts at: https://github.com/FuPeiJiang/lancedb/actions/runs/11926579058 node-native-linux-aarch64-musl 22.6 MB node-native-linux-x86_64-musl 23.6 MB nodejs-native-linux-aarch64-musl 26.7 MB nodejs-native-linux-x86_64-musl 27 MB this follows the same process as: https://github.com/lancedb/lancedb/pull/1816#issuecomment-2484816669 Closes #1388 Closes #1107 --------- Co-authored-by: Will Jones <willjones127@gmail.com>
20 lines
455 B
Bash
20 lines
455 B
Bash
#!/bin/bash
|
|
# Builds the nodejs module for manylinux. Invoked by ci/build_linux_artifacts_nodejs.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
|
|
|
|
#Alpine doesn't have .bashrc
|
|
FILE=$HOME/.bashrc && test -f $FILE && source $FILE
|
|
|
|
cd nodejs
|
|
npm ci
|
|
npm run build-release
|