Merge branch 'develop' into sandybridge
This commit is contained in:
commit
98d004c50b
6
Makefile
6
Makefile
|
@ -257,12 +257,16 @@ LAPACK_URL=http://www.netlib.org/lapack/lapack-3.4.1.tgz
|
||||||
lapack-3.4.1.tgz :
|
lapack-3.4.1.tgz :
|
||||||
ifndef NOFORTRAN
|
ifndef NOFORTRAN
|
||||||
#http://stackoverflow.com/questions/7656425/makefile-ifeq-logical-or
|
#http://stackoverflow.com/questions/7656425/makefile-ifeq-logical-or
|
||||||
ifeq ($(OSNAME), $(filter $(OSNAME),Darwin FreeBSD NetBSD))
|
ifeq ($(OSNAME), $(filter $(OSNAME),Darwin NetBSD))
|
||||||
curl -O $(LAPACK_URL)
|
curl -O $(LAPACK_URL)
|
||||||
|
else
|
||||||
|
ifeq ($(OSNAME), FreeBSD)
|
||||||
|
fetch $(LAPACK_URL)
|
||||||
else
|
else
|
||||||
wget $(LAPACK_URL)
|
wget $(LAPACK_URL)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
large.tgz :
|
large.tgz :
|
||||||
ifndef NOFORTRAN
|
ifndef NOFORTRAN
|
||||||
|
|
|
@ -135,7 +135,7 @@ static __inline int num_cpu_avail(int level) {
|
||||||
int openmp_nthreads=0;
|
int openmp_nthreads=0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ((blas_cpu_number == 1)
|
if (blas_cpu_number == 1
|
||||||
|
|
||||||
#ifdef USE_OPENMP
|
#ifdef USE_OPENMP
|
||||||
|| omp_in_parallel()
|
|| omp_in_parallel()
|
||||||
|
|
Loading…
Reference in New Issue