mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-25 14:29:56 +00:00
This will start publishing `@lancedb/lancedb` with the new nodejs package on our releases.
27 lines
551 B
Bash
Executable File
27 lines
551 B
Bash
Executable File
#!/bin/bash
|
|
# Builds openssl from source so we can statically link to it
|
|
|
|
# this is to avoid the error we get with the system installation:
|
|
# /usr/bin/ld: <library>: version node not found for symbol SSLeay@@OPENSSL_1.0.1
|
|
# /usr/bin/ld: failed to set dynamic section sizes: Bad value
|
|
set -e
|
|
|
|
git clone -b OpenSSL_1_1_1u \
|
|
--single-branch \
|
|
https://github.com/openssl/openssl.git
|
|
|
|
pushd openssl
|
|
|
|
if [[ $1 == x86_64* ]]; then
|
|
ARCH=linux-x86_64
|
|
else
|
|
# gnu target
|
|
ARCH=linux-aarch64
|
|
fi
|
|
|
|
./Configure no-shared $ARCH
|
|
|
|
make
|
|
|
|
make install
|