-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
36 lines (30 loc) · 1.42 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM ubuntu:22.04
RUN apt-get update && apt-get -y upgrade
RUN apt-get install --assume-yes --no-install-recommends ca-certificates build-essential cmake git
RUN apt-get install --assume-yes --no-install-recommends liburing-dev libssl-dev libtbb-dev libatlas-base-dev libgtest-dev libxerces-c-dev libgsl-dev
RUN apt-get install --assume-yes --no-install-recommends libboost-regex-dev libsqlite3-dev
RUN apt-get install --assume-yes --no-install-recommends texlive-latex-extra texlive-fonts-recommended texlive-latex-recommended texlive-fonts-extra
RUN apt-get install --assume-yes --no-install-recommends autoconf automake libtool libboost-all-dev libssl-dev
# Build sqlplot-tools
RUN git clone https://github.com/bingmann/sqlplot-tools.git /opt/sqlplot-tools
RUN mkdir /opt/sqlplot-tools/build
WORKDIR /opt/sqlplot-tools/build
RUN cmake -DCMAKE_BUILD_TYPE=Release -DWITH_POSTGRESQL=OFF -DWITH_MYSQL=OFF ..
RUN cmake --build . -j 8
COPY . /opt/pachash
WORKDIR /opt/pachash/patches
RUN ./apply-patches.sh
# Build PaCHash basics
RUN mkdir /opt/pachash/external/pachash/build
WORKDIR /opt/pachash/external/pachash/build
RUN cmake -DCMAKE_BUILD_TYPE=Release ..
RUN cmake --build . -j 8
# Build PaCHash competitor experiments
WORKDIR /opt/pachash/external/silt
RUN autoupdate
RUN mkdir /opt/pachash/build
WORKDIR /opt/pachash/build
RUN cmake -DCMAKE_BUILD_TYPE=Release ..
RUN cmake --build . -j 8
# Actual benchmark
CMD bash /opt/dockerVolume/figure-4.sh