summaryrefslogtreecommitdiffstats
path: root/tests/config.sh
blob: c1c656b774725f7d01b0d4b1d91583c6166f641a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
uname -r | grep el7 &> /dev/null
el7=$(($? == 0))

ods_path=/mnt/ands/ods/bin-fedora/
vma_path=/mnt/ands/
vma_lib_path=/mnt/ands/lib64-fedora/

[ $el7 -eq 1 ] && ods_path="${ods_path/fedora/centos}"
[ $el7 -eq 1 ] && vma_lib_path="${vma_lib_path/fedora/centos}"

# Standard library
vma_lib=${vma_lib_path}/libvma.so.8.6.10

# With Mellanox OFED extensions (./configure --enable-socketxtreme)
#vma_lib=${vma_lib_path}/mlx/libvma.so.8.6.10