From c4df0bd87223d007fb8617e2e9faf80d593e07c9 Mon Sep 17 00:00:00 2001 From: Alberto Miranda Date: Mon, 2 Oct 2023 10:02:30 +0200 Subject: [PATCH 1/3] Freeze docker image --- docker/{0.2.0-wip => 0.2.0}/Dockerfile | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docker/{0.2.0-wip => 0.2.0}/Dockerfile (100%) diff --git a/docker/0.2.0-wip/Dockerfile b/docker/0.2.0/Dockerfile similarity index 100% rename from docker/0.2.0-wip/Dockerfile rename to docker/0.2.0/Dockerfile -- GitLab From 057872491ebfcb47b22beec6da16f4d3b6e58bae Mon Sep 17 00:00:00 2001 From: Alberto Miranda Date: Mon, 2 Oct 2023 10:03:06 +0200 Subject: [PATCH 2/3] Add docker image for `0.3.0-wip` --- docker/0.3.0-wip/Dockerfile | 133 ++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 docker/0.3.0-wip/Dockerfile diff --git a/docker/0.3.0-wip/Dockerfile b/docker/0.3.0-wip/Dockerfile new file mode 100644 index 0000000..53b3b4e --- /dev/null +++ b/docker/0.3.0-wip/Dockerfile @@ -0,0 +1,133 @@ +FROM rockylinux:9.2 + +RUN set -ex \ + && yum makecache \ + && yum -y update \ + && yum -y install dnf-plugins-core \ + && yum config-manager --set-enabled crb \ + && yum -y install \ + gcc \ + gcc-c++\ + gdb \ + git \ + gnupg \ + make \ + automake \ + libtool \ + file \ + ninja-build \ + json-c-devel \ + libibverbs-devel \ + boost-devel \ + boost-openmpi-devel \ + json-c-devel \ + openmpi-devel \ + libconfig-devel \ + # install cmake 3.21+ since we need to produce JUnit XML files + && curl -OL https://github.com/Kitware/CMake/releases/download/v3.27.6/cmake-3.27.6-Linux-x86_64.sh \ + && chmod u+x ./cmake-3.27.6-Linux-x86_64.sh \ + && ./cmake-3.27.6-Linux-x86_64.sh --skip-license --prefix=/usr \ + # cleanup + && yum clean all \ + && rm -rf /var/cache/yum \ + && rm ./cmake-3.27.6-Linux-x86_64.sh + +# Download and install dependencies +RUN set -ex \ + && export LD_LIBRARY_PATH=${DEPS_INSTALL_PATH}/lib:${DEPS_INSTALL_PATH}/lib64 \ + && export PKG_CONFIG_PATH=${DEPS_INSTALL_PATH}/lib/pkgconfig:${DEPS_INSTALL_PATH}/lib64/pkgconfig \ + && cd \ + && mkdir deps \ + && cd deps \ + && git clone https://github.com/ofiwg/libfabric --recurse-submodules \ + && git clone https://github.com/pmodels/argobots --recurse-submodules \ + && git clone https://github.com/mercury-hpc/mercury --recurse-submodules \ + && git clone https://github.com/mochi-hpc/mochi-margo --recurse-submodules \ + && git clone https://github.com/USCiLab/cereal --recurse-submodules \ + && git clone https://github.com/mochi-hpc/mochi-thallium --recurse-submodules \ + \ + && cd \ + ### argobots + && cd deps/argobots \ + && ./autogen.sh \ + && mkdir build \ + && cd build \ + && CFLAGS="-ggdb3 -O0" ../configure --prefix=${DEPS_INSTALL_PATH} \ + && make install -j \ + && cd .. \ + && rm -rf build \ + && cd \ + \ + ### libfabric + && cd deps/libfabric \ + && git checkout v1.14.0rc3 \ + && ./autogen.sh \ + && mkdir build \ + && cd build \ + && CFLAGS="-ggdb3 -O0" ../configure --prefix=${DEPS_INSTALL_PATH} \ + && make install -j \ + && cd .. \ + && rm -rf build \ + && cd \ + \ + ### mercury + && cd deps/mercury \ + && mkdir build && cd build \ + && cmake \ + -DMERCURY_USE_SELF_FORWARD:BOOL=ON \ + -DBUILD_TESTING:BOOL=ON \ + -DMERCURY_USE_BOOST_PP:BOOL=ON \ + -DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_PATH} \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DNA_USE_OFI:BOOL=ON \ + -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ + -DCMAKE_BUILD_TYPE:STRING=Debug \ + .. \ + && make install -j \ + && cd .. \ + && rm -rf build \ + && cd \ + \ + ### mochi-margo + && cd deps/mochi-margo \ + && ./prepare.sh \ + && mkdir build \ + && cd build \ + && CFLAGS="-ggdb3 -O0" ../configure --prefix=${DEPS_INSTALL_PATH} \ + && make -j install \ + && cd .. \ + && rm -rf build \ + && cd \ + \ + ### cereal + && cd deps/cereal \ + && mkdir build \ + && cd build \ + \ + && cmake \ + -DCMAKE_BUILD_TYPE:STRING=Debug \ + -DBUILD_DOC:BOOL=OFF \ + -DBUILD_SANDBOX:BOOL=OFF \ + -DBUILD_TESTS:BOOL=OFF \ + -DSKIP_PERFORMANCE_COMPARISON:BOOL=ON \ + -DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_PATH} \ + .. \ + && make -j install \ + && cd .. \ + && rm -rf build \ + && cd \ + \ + ### mochi-thallium + && cd deps/mochi-thallium \ + && mkdir build \ + && cd build \ + && cmake \ + -DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_PATH} \ + -DCMAKE_BUILD_TYPE:STRING=Debug \ + .. \ + && make -j install \ + && cd .. \ + && rm -rf build \ + && cd \ + \ + && rm -rf deps -- GitLab From c56c5eeaad6194c9c8a6e6608c55206527cd8b94 Mon Sep 17 00:00:00 2001 From: Alberto Miranda Date: Mon, 2 Oct 2023 10:03:42 +0200 Subject: [PATCH 3/3] Bump version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 536711b..1bbd57c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,7 +30,7 @@ cmake_minimum_required(VERSION 3.19) project( cargo - VERSION 0.1.0 + VERSION 0.2.0 LANGUAGES C CXX ) -- GitLab