From b22b54bf9264a18d4352e9a87de109c965f89a99 Mon Sep 17 00:00:00 2001 From: Andrey Maslennikov Date: Tue, 18 Sep 2018 09:47:51 +0300 Subject: [PATCH] platform/mellanox: cleanup autodetect config Signed-off-by: Andrey Maslennikov (cherry picked from commit ced50a98ff3f9e5b7812503ee895a2b2db581983) --- contrib/platform/mellanox/optimized | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/contrib/platform/mellanox/optimized b/contrib/platform/mellanox/optimized index ae89528ce5..93dbb78e1b 100644 --- a/contrib/platform/mellanox/optimized +++ b/contrib/platform/mellanox/optimized @@ -23,26 +23,11 @@ if [ "$mellanox_autodetect" == "yes" ]; then with_ucx=$ucx_dir fi - mxm_dir=${mxm_dir:="$(pkg-config --variable=prefix mxm)"} - if [ -d $mxm_dir ]; then - with_mxm=$mxm_dir - fi - - fca_dir=${fca_dir:="$(pkg-config --variable=prefix fca)"} - if [ -d $fca_dir ]; then - with_fca=$fca_dir - fi - hcoll_dir=${hcoll_dir:="$(pkg-config --variable=prefix hcoll)"} if [ -d $hcoll_dir ]; then with_hcoll=$hcoll_dir fi - knem_dir=${knem_dir:="$(pkg-config --variable=prefix knem)"} - if [ -d $knem_dir ]; then - with_knem=$knem_dir - fi - slurm_dir=${slurm_dir:="/usr"} if [ -f $slurm_dir/include/slurm/slurm.h ]; then with_slurm=$slurm_dir