Extend the patch to work with atlas-3.8.2

This commit is contained in:
Deji Akingunola 2008-12-16 21:43:16 +00:00
parent c1d2513918
commit 9521a4000f

View File

@ -6,8 +6,8 @@
NCLAPILIB = -lNGncl NCLAPILIB = -lNGncl
-BLASLIB = -lblas_ncl -BLASLIB = -lblas_ncl
-LAPACKLIB = -llapack_ncl -LAPACKLIB = -llapack_ncl
+BLASLIB = -lcblas +BLASLIB = -lcblas -lf77blas -lptf77blas
+LAPACKLIB = -llapack +LAPACKLIB = -llapack -latlas
SPHERELIB = -lsphere3.1_dp SPHERELIB = -lsphere3.1_dp
FFTPACK5LIB = -lfftpack5_dp FFTPACK5LIB = -lfftpack5_dp
@ -17,8 +17,8 @@
NCLAPILIB = _UseLib(-L$(NCLLIBSRC),-lnclapi) NCLAPILIB = _UseLib(-L$(NCLLIBSRC),-lnclapi)
-BLASLIB = _UseLib(-L$(BLASSRC),-lblas_ncl) -BLASLIB = _UseLib(-L$(BLASSRC),-lblas_ncl)
-LAPACKLIB = _UseLib(-L$(LAPACKSRC),-llapack_ncl) -LAPACKLIB = _UseLib(-L$(LAPACKSRC),-llapack_ncl)
+BLASLIB = _UseLib(-L%LIBDIR%/atlas,-lcblas) +BLASLIB = _UseLib(-L%LIBDIR%/atlas,-lcblas -lf77blas -lptf77blas)
+LAPACKLIB = _UseLib(-L%LIBDIR%/atlas,-llapack) +LAPACKLIB = _UseLib(-L%LIBDIR%/atlas,-llapack -latlas)
SPHERELIB = _UseLib(-L$(SPHERESRC),-lsphere3.1_dp) SPHERELIB = _UseLib(-L$(SPHERESRC),-lsphere3.1_dp)
FFTPACK5LIB = _UseLib(-L$(FFTPACK5SRC),-lfftpack5_dp) FFTPACK5LIB = _UseLib(-L$(FFTPACK5SRC),-lfftpack5_dp)