Commit 63dc1f05 authored by Marc Vef's avatar Marc Vef
Browse files

mogon3 working profile and verbs

parent f183b7e4
Loading
Loading
Loading
Loading
Loading
+1 −18
Original line number Diff line number Diff line
@@ -44,23 +44,6 @@
################################################################################

pkg_install() {

    # if the profile compiles bmi, enable it
    if [[ -n "${PROFILE_DEP_NAMES['bmi']}" ]]; then
        USE_BMI="-DNA_USE_BMI:BOOL=ON"
    else
        USE_BMI="-DNA_USE_BMI:BOOL=OFF"
    fi

    # if the profile provides any flavour of libfabric, enable it
    if profile_has_dependency "^libfabric.*$"; then
        OFI_ARGS="-DNA_USE_OFI:BOOL=ON"
    elif [[ -n "${EXTRA_INSTALL_ARGS}" ]]; then
        OFI_ARGS="${EXTRA_INSTALL_ARGS}"
    else
        OFI_ARGS="-DNA_USE_OFI:BOOL=OFF"
    fi

    ID="mercury"
    CURR="${SOURCE_DIR}/${ID}"
    prepare_build_dir "${CURR}"
@@ -73,7 +56,7 @@ pkg_install() {
        -DMERCURY_USE_BOOST_PP:BOOL=ON \
        -DBUILD_SHARED_LIBS:BOOL=ON \
        -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} \
        ${USE_BMI} ${OFI_ARGS} \
        -DNA_USE_OFI:BOOL=ON -DNA_USE_UCX:BOOL=ON \
        ..
    make -j"${CORES}"
    make install
+0 −1
Original line number Diff line number Diff line
@@ -79,5 +79,4 @@ order=(
#  - PERFORM_TEST: whether tests for the package should be executed
extra_install_args=(
#    ["libfabric"]=""
    ["mercury"]="-DNA_USE_OFI:BOOL=ON"
)