-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (22 loc) · 960 Bytes
/
Dockerfile
File metadata and controls
29 lines (22 loc) · 960 Bytes
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
#RegentParticleDSL
#This includes HDF5
FROM ubuntu:14.04
MAINTAINER Aidan Chalk <aidan.chalk@stfc.ac.uk>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get install -y build-essential clang-3.5 git libclang-3.5-dev libncurses5-dev llvm-3.5-dev wget zlib1g-dev libhdf5-dev cmake3 vim && \
apt-get clean
RUN git clone -b master https://github.com/StanfordLegion/legion.git
RUN cd legion/language
RUN LLVM_CONFIG=llvm-config-3.5 python3 legion/language/install.py --rdir=auto --hdf5 --no-terra-cmake
RUN ln -s /legion/language/regent.py /usr/local/bin/regent
RUN cd /
RUN git clone https://github.com/StanfordLegion/regent.vim.git
RUN mkdir ~/.vim/
RUN mkdir ~/.vim/syntax/
RUN cp regent.vim/regent.vim ~/.vim/syntax/.
RUN echo "au BufNewFile,BufRead *.rg set filetype=regent" >> ~/.vimrc
RUN rm -rf regent.vim
RUN git clone https://github.com/stfc/RegentParticleDSL.git
ENV HDF5_INCLUDE_PATH=/usr/include/
CMD ["/bin/bash"]