Skip to content

Commit

Permalink
docker: include clang-9 for UDF support
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewseidl committed Apr 13, 2020
1 parent 5d31de0 commit 0dbe511
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,18 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
bsdmainutils \
wget \
curl \
clang-9 \
default-jre-headless && \
apt-get remove --purge -y && \
rm -rf /var/lib/apt/lists/*

COPY --from=extract /omnisci /omnisci
COPY --from=glvnd /usr/local /usr/local/

# UDF support
RUN update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-9 100
ENV CPLUS_INCLUDE_PATH=/usr/lib/llvm-9/lib/clang/9.0.0/include

RUN ln -sf /omnisci /mapd
RUN mkdir -p /usr/share/glvnd/egl_vendor.d && \
echo '{ "file_format_version" : "1.0.0", "ICD" : { "library_path" : "libEGL_nvidia.so.0" } }' > /usr/share/glvnd/egl_vendor.d/10_nvidia.json
Expand Down

0 comments on commit 0dbe511

Please sign in to comment.