Skip to content

Commit

Permalink
Update benchbase build setup (cmu-db#53)
Browse files Browse the repository at this point in the history
Commit b6507bab7cce67b27f7a8a799861f4379762065c on the benchbase repository alters how benchbase artifacts are produced. This diff updates doit benchbase_build to use the new artifacts.
  • Loading branch information
17zhangw authored Mar 5, 2022
1 parent 118871d commit 7be27cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dodos/benchbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ def task_benchbase_build():
f"mkdir -p {ARTIFACTS_PATH}",
lambda: os.chdir(BUILD_PATH),
# Compile BenchBase.
"./mvnw clean package -Dmaven.test.skip=true",
"./mvnw clean package -Dmaven.test.skip=true -P postgres",
lambda: os.chdir("target"),
"tar xvzf benchbase-2021-SNAPSHOT.tgz",
"tar xvzf benchbase-postgres.tgz",
# Move artifacts out.
lambda: os.chdir(doit.get_initial_workdir()),
f"mv {BUILD_PATH / f'target/benchbase-2021-SNAPSHOT/*'} {ARTIFACTS_PATH}",
f"mv {BUILD_PATH / f'target/benchbase-postgres/*'} {ARTIFACTS_PATH}",
# Reset working directory.
lambda: os.chdir(doit.get_initial_workdir()),
],
Expand Down

0 comments on commit 7be27cc

Please sign in to comment.