Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions build-scripts/ubuntu-2204/build-3rd-parties.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
set -e
set -x

OUTPUT_PATH=${1:-.}
# Ensure the output is an absolute path and not a relative path
OUTPUT_PATH="$(realpath -m ${1:-.})"
wheel2debconf="$(dirname "$(realpath "$0")")"/wheel2deb.yml


Expand All @@ -23,6 +24,7 @@ function build_rocksdb_deb {
# Install it in the system as it is needed by python-rocksdb.
make install
cd -
mkdir -p ${OUTPUT_PATH}
cp /tmp/rocksdb/package/rocksdb_${VERSION}_amd64.deb $OUTPUT_PATH
rm -rf /tmp/rocksdb
}
Expand Down Expand Up @@ -140,7 +142,7 @@ pushd `dirname ${SCRIPT_PATH}` >/dev/null

# Install any python requirements needed for the builds.
pip install -r requirements.txt
pip3 install wheel2deb && apt-get install -y debhelper
pip3 install wheel2deb && apt update && apt install -y debhelper
apt-get install -y cython3

# Build rocksdb at first
Expand Down