Skip to content

Commit 2a3c510

Browse files
committed
CI/CD: don't build libfabric
1 parent 84ce02b commit 2a3c510

File tree

2 files changed

+18
-33
lines changed

2 files changed

+18
-33
lines changed

docker/sos_fedora/Dockerfile

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,21 @@ RUN mkdir /home/shmem
77

88
RUN dnf update -y && \
99
dnf install -y git vim wget pkg-config make automake gcc gcc-c++ kernel-devel libtool lbzip2 hwloc hwloc-devel \
10-
libevent libevent-devel python3 python3-devel python3-pip mpich && \
10+
libevent libevent-devel libfabric libfabric-devel python3 python3-devel python3-pip mpich && \
1111
dnf clean all
1212

1313
ENV CC=gcc
1414
ENV CXX=g++
1515

16-
# Build Libfabric
17-
RUN cd $INSTALL_DIR && \
18-
git clone -b v1.13.x --depth 10 https://github.com/ofiwg/libfabric.git libfabric && \
19-
cd libfabric && \
20-
./autogen.sh && \
21-
./configure --prefix=$INSTALL_DIR/libfabric/install && \
22-
make -j && make install
23-
2416
# Build SOS
25-
RUN cd $INSTALL_DIR && \
26-
git clone https://github.com/Sandia-OpenSHMEM/SOS.git && \
27-
cd SOS && \
28-
./autogen.sh && \
29-
# To build SOS w/ basic Libfabric \
30-
./configure --prefix=$INSTALL_DIR/SOS/install --with-ofi=$INSTALL_DIR/libfabric/install \
31-
--without-ucx --without-portals4 --enable-pmi-simple --disable-fortran && \
32-
make -j && make install && \
17+
RUN cd $INSTALL_DIR && \
18+
git clone https://github.com/Sandia-OpenSHMEM/SOS.git && \
19+
cd SOS && \
20+
./autogen.sh && \
21+
# To build SOS w/ basic Libfabric \
22+
./configure --prefix=$INSTALL_DIR/SOS/install --with-ofi \
23+
--without-ucx --without-portals4 --enable-pmi-simple --disable-fortran && \
24+
make -j && make install && \
3325
make check TESTS= -j
3426

3527
ENV PATH="/home/shmem/SOS/install/bin:/usr/lib64/mpich/bin:${PATH}"

docker/sos_ubuntu/Dockerfile

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,19 @@ RUN apt-get update -y && apt-get install -y \
1818
flex \
1919
libhwloc-dev \
2020
libevent-dev \
21+
libfabric1 libfabric-dev \
2122
mpich \
2223
python3 python3-pip python-is-python3
2324

24-
# Build Libfabric
25-
RUN cd $INSTALL_DIR && \
26-
git clone -b v1.7.x --depth 10 https://github.com/ofiwg/libfabric.git libfabric && \
27-
cd libfabric && \
28-
./autogen.sh && \
29-
./configure --prefix=$INSTALL_DIR/libfabric/install && \
30-
make -j && make install
31-
3225
# Build SOS
33-
RUN cd $INSTALL_DIR && \
34-
git clone https://github.com/Sandia-OpenSHMEM/SOS.git && \
35-
cd SOS && \
36-
./autogen.sh && \
37-
# To build SOS w/ basic Libfabric \
38-
./configure --prefix=$INSTALL_DIR/SOS/install --with-ofi=$INSTALL_DIR/libfabric/install \
39-
--without-ucx --without-portals4 --enable-pmi-simple --disable-fortran && \
40-
make -j && make install && \
26+
RUN cd $INSTALL_DIR && \
27+
git clone https://github.com/Sandia-OpenSHMEM/SOS.git && \
28+
cd SOS && \
29+
./autogen.sh && \
30+
# To build SOS w/ basic Libfabric \
31+
./configure --prefix=$INSTALL_DIR/SOS/install --with-ofi \
32+
--without-ucx --without-portals4 --enable-pmi-simple --disable-fortran && \
33+
make -j && make install && \
4134
make check TESTS= -j
4235

4336
ENV PATH="/home/shmem/SOS/install/bin:${PATH}"

0 commit comments

Comments
 (0)