diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-08-14 21:58:29 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-08-14 21:58:29 +0200 |
commit | 5cdb425d6843c100189611c2edb37b03efc1dc5a (patch) | |
tree | 82c5e7397b2950c41c00d09ed8020e9d98ced693 /config.sh | |
parent | ad4fef28ad3fc8b73a3bf97c229e878e8c680e16 (diff) | |
download | ods-5cdb425d6843c100189611c2edb37b03efc1dc5a.tar.gz ods-5cdb425d6843c100189611c2edb37b03efc1dc5a.tar.bz2 ods-5cdb425d6843c100189611c2edb37b03efc1dc5a.tar.xz ods-5cdb425d6843c100189611c2edb37b03efc1dc5a.zip |
Make it compatible with CentOS 7.5
Diffstat (limited to 'config.sh')
-rw-r--r-- | config.sh | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -1,2 +1,15 @@ -ods_path=/mnt/ands/ods/bin/ -vma_path=/mnt/ands +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 |