Skip to content

Commit

Permalink
renamed bytejack_rs and bytejack to boot_rs and boot
Browse files Browse the repository at this point in the history
  • Loading branch information
wangpatrick57 committed Jul 7, 2024
1 parent 99e7014 commit 03908e0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dbms/postgres/build_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -euxo pipefail

REPO_REAL_PARENT_DPATH="$1"

# download and make postgres from the boot repository
# Download and make postgres from the boot repository.
mkdir -p "${REPO_REAL_PARENT_DPATH}"
cd "${REPO_REAL_PARENT_DPATH}"
git clone [email protected]:lmwnshn/boot.git --single-branch --branch vldb_2024 --depth 1
Expand All @@ -13,25 +13,25 @@ cd ./boot
make clean
make install-world-bin -j4

# download and make bytejack
cd ./cmudb/extension/bytejack_rs/
# Download and make boot.
cd ./cmudb/extension/boot_rs/
cargo build --release
cbindgen . -o target/bytejack_rs.h --lang c
cbindgen . -o target/boot_rs.h --lang c
cd "${REPO_REAL_PARENT_DPATH}/boot"

cd ./cmudb/extension/bytejack/
cd ./cmudb/extension/boot/
make clean
make install -j
cd "${REPO_REAL_PARENT_DPATH}/boot"

# download and make hypopg
# Download and make hypopg.
git clone [email protected]:HypoPG/hypopg.git
cd ./hypopg
PG_CONFIG="${REPO_REAL_PARENT_DPATH}/boot/build/postgres/bin/pg_config" make install
cd "${REPO_REAL_PARENT_DPATH}/boot"

# download and make pg_hint_plan
# we need -L to follow links
# Download and make pg_hint_plan.
# We need -L to follow links.
curl -L https://github.com/ossc-db/pg_hint_plan/archive/refs/tags/REL15_1_5_1.tar.gz -o REL15_1_5_1.tar.gz
tar -xzf REL15_1_5_1.tar.gz
rm REL15_1_5_1.tar.gz
Expand Down

0 comments on commit 03908e0

Please sign in to comment.