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

arch=""
[ $el7 -ne 0 ] && arch="64"
[ -f /etc/gentoo-release ] && arch="64"

ands_path=/mnt/ands
vma_lib_path=/usr/local/lib/
vma_lib_ext=""

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

vma_lib=${vma_lib_path}/libvma.so${vma_lib_ext}

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