build: fix libxlmass errors building on Power CPU
authorLei YU <mine260309@gmail.com>
Wed, 24 May 2017 06:18:45 +0000 (14:18 +0800)
committerLei YU <mine260309@gmail.com>
Wed, 24 May 2017 06:51:52 +0000 (14:51 +0800)
IBM MASS library is upgraded to 8.1.5 and 8.1.3 is not available.
Update README.md and Makefile.power to use version 8.1.5 of libxlmass.

Makefile.power
README.md

index 79db837..a49372a 100644 (file)
@@ -43,7 +43,7 @@ endif
 
 ifeq ($(USE_MASS), 1)
 # Path to MASS libs, change it if the libs are installed at any other location
-MASSPATH        = /opt/ibm/xlmass/8.1.3/lib
+MASSPATH        = /opt/ibm/xlmass/8.1.5/lib
 COMMON_OPT     += -mveclibabi=mass -ftree-vectorize -funsafe-math-optimizations -DUSE_MASS
 EXTRALIB       += -L$(MASSPATH) -lmass -lmassvp8 -lmass_simdp8
 endif
index 709da78..06bef97 100644 (file)
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@ The library can be installed as below -
     wget -q http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/ubuntu/public.gpg -O- | sudo apt-key add -</br>
     echo "deb http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/ubuntu/ trusty main" | sudo tee /etc/apt/sources.list.d/ibm-xl-compiler-eval.list</br>
     sudo apt-get update</br>
-    sudo apt-get install libxlmass-devel.8.1.3</br>
+    sudo apt-get install libxlmass-devel.8.1.5</br>
 
  * On RHEL/CentOS:
 
@@ -62,7 +62,7 @@ The library can be installed as below -
     sudo rpm --import repomd.xml.key</br>
     wget http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/rhel7/ibm-xl-compiler-eval.repo</br>
     sudo cp ibm-xl-compiler-eval.repo /etc/yum.repos.d/</br>
-    sudo yum install libxlmass-devel.8.1.3</br>
+    sudo yum install libxlmass-devel.8.1.5</br>
 
 After installing MASS library, compile openblas with USE_MASS=1.