Verified Commit db971366 authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

enable mercury support for sm auto routing

parent eb59130d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ RUN yum -y -q update && yum -y -q install \
	devtoolset-7-gcc \
	devtoolset-7-gcc-c++ \
    valgrind-devel \
    libuuid-devel \
&& yum -y -q clean all

# Enable gcc/g++ 7.x
@@ -102,6 +103,7 @@ RUN yum -y -q update && yum -y -q install \
	devtoolset-7-gcc \
	devtoolset-7-gcc-c++ \
    valgrind-devel \
    libuuid-devel \
&& yum -y -q clean all


+12 −3
Original line number Diff line number Diff line
@@ -287,9 +287,18 @@ if [ "$NA_LAYER" == "cci" ] || [ "$NA_LAYER" == "all" ]; then
    git apply ${PATCH_DIR}/mercury_cci_verbs_lookup.patch
fi
cd ${CURR}/build
$CMAKE -DMERCURY_USE_SELF_FORWARD:BOOL=ON -DMERCURY_USE_CHECKSUMS:BOOL=OFF -DBUILD_TESTING:BOOL=ON \
-DMERCURY_USE_BOOST_PP:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_INSTALL_PREFIX=${INSTALL} \
-DCMAKE_BUILD_TYPE:STRING=Debug -DMERCURY_USE_EAGER_BULK:BOOL=ON ${USE_BMI} ${USE_CCI} ${USE_OFI} ../
$CMAKE \
    -DCMAKE_BUILD_TYPE:STRING=Debug \
    -DBUILD_TESTING:BOOL=ON \
    -DMERCURY_USE_SM_ROUTING:BOOL=ON \
    -DMERCURY_USE_SELF_FORWARD:BOOL=ON \
    -DMERCURY_USE_CHECKSUMS:BOOL=OFF \
    -DMERCURY_USE_BOOST_PP:BOOL=ON \
    -DMERCURY_USE_EAGER_BULK:BOOL=ON \
    -DBUILD_SHARED_LIBS:BOOL=ON \
    -DCMAKE_INSTALL_PREFIX=${INSTALL} \
    ${USE_BMI} ${USE_CCI} ${USE_OFI} \
    ../
make -j${CORES}
make install