-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
1,065 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,3 +56,5 @@ code-review*.bak | |
*.exe | ||
*.out | ||
*.app | ||
|
||
**/__pycache__/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,36 +4,34 @@ MAINTAINER [email protected] | |
|
||
WORKDIR ./ | ||
|
||
RUN apt-get update | ||
RUN apt update | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
# Install tools | ||
RUN apt install -y python3-pip | ||
RUN pip3 install cmake | ||
RUN pip3 install conan | ||
RUN apt install -y gcc-10 | ||
RUN apt install -y g++-10 | ||
RUN apt-get install -y libexplain-dev | ||
RUN apt-get install -y libsnappy-dev | ||
RUN apt-get install -yq pkg-config | ||
RUN apt-get install -y git | ||
RUN apt install -y libexplain-dev | ||
RUN apt install -y libsnappy-dev | ||
RUN apt install -y pkg-config | ||
RUN apt install -y git | ||
|
||
# Build WiredTiger (latest) | ||
RUN git clone git://github.com/wiredtiger/wiredtiger.git | ||
RUN git clone --depth 1 git@github.com:wiredtiger/wiredtiger.git | ||
RUN mkdir ./wiredtiger/build | ||
WORKDIR "./wiredtiger/build" | ||
RUN cmake ../. | ||
RUN cmake .. | ||
RUN make install | ||
|
||
WORKDIR / | ||
|
||
# Build UCSB | ||
RUN git clone https://github.com/unum-cloud/ucsb.git | ||
RUN git clone --depth 1 git@github.com:unum-cloud/ucsb.git | ||
WORKDIR "./ucsb/" | ||
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10 | ||
RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10 | ||
RUN bash -i setup.sh | ||
RUN bash -i build_release.sh | ||
RUN rm -rf ./bench | ||
RUN rm -rf ./bench/results | ||
|
||
ENTRYPOINT ["./build_release/bin/ucsb_bench"] | ||
ENTRYPOINT ["./build_release/build/bin/ucsb_bench"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.