-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
64 lines (57 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Dockerfile
FROM debian:stretch-slim
ARG MAKEFLAGS
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
libtool \
pkg-config \
libltdl-dev \
build-essential \
git \
gfortran \
bison \
flex \
gperf \
libsqlite3-dev \
python \
curl \
ca-certificates \
libxml2-dev \
binutils-dev \
libiberty-dev \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /usr/local/src/extrae && \
curl -SL https://github.com/bsc-performance-tools/extrae/archive/3.7.0.tar.gz \
| tar -xzC /usr/local/src/extrae --strip-components=1 && \
cd /usr/local/src/extrae && \
./bootstrap && \
./configure \
--without-mpi \
--without-unwind \
--without-dyninst \
--without-papi \
--disable-openmp \
--disable-pthread \
--disable-smpss && \
make && \
make install && \
make distclean
COPY nanox /usr/local/src/nanox
RUN cd /usr/local/src/nanox && \
./bootstrap && \
./configure \
--with-extrae=/usr/local && \
make && \
make install && \
make distclean
COPY mcxx /usr/local/src/mcxx
RUN cd /usr/local/src/mcxx && \
autoreconf -fiv && \
./configure \
--enable-ompss \
--with-nanox=/usr/local && \
make && \
make install && \
make distclean
CMD ["bash"]