@@ -56,10 +56,21 @@ ifneq ($(INTERFACE64), 0)
5656 @echo " Use 64 bits int (equivalent to \"-i8\" in Fortran) "
5757endif
5858endif
59-
60- @echo " C compiler ... $(C_COMPILER) (command line : $(CC))"
59+ @$(CC) --version > /dev/null 2>&1;\
60+ if [ $$? -eq 0 ]; then \
61+ cverinfo=`$(CC) --version | sed -n '1p'`; \
62+ echo " C compiler ... $(C_COMPILER) (cmd & version : $${cverinfo})";\
63+ else \
64+ echo " C compiler ... $(C_COMPILER) (command line : $(CC))";\
65+ fi
6166ifeq ($(NOFORTRAN ) , $(filter 0,$(NOFORTRAN ) ) )
62- @echo " Fortran compiler ... $(F_COMPILER) (command line : $(FC))"
67+ @$(FC) --version > /dev/null 2>&1;\
68+ if [ $$? -eq 0 ]; then \
69+ fverinfo=`$(FC) --version | sed -n '1p'`; \
70+ echo " Fortran compiler ... $(F_COMPILER) (cmd & version : $${fverinfo})";\
71+ else \
72+ echo " Fortran compiler ... $(F_COMPILER) (command line : $(FC))";\
73+ fi
6374endif
6475ifneq ($(OSNAME ) , AIX)
6576 @echo -n " Library Name ... $(LIBNAME)"
6879endif
6980
7081ifndef SMP
71- @echo " (Single threaded ) "
82+ @echo " (Single-threading ) "
7283else
73- @echo " (Multi threaded ; Max num-threads is $(NUM_THREADS))"
84+ @echo " (Multi-threading ; Max num-threads is $(NUM_THREADS))"
7485endif
7586
7687ifeq ($(USE_OPENMP ) , 1)
@@ -317,7 +328,7 @@ lapack-test :
317328 $(MAKE ) -j 1 -C $(NETLIB_LAPACK_DIR ) /TESTING/EIG xeigtstc xeigtstd xeigtsts xeigtstz
318329 $(MAKE ) -j 1 -C $(NETLIB_LAPACK_DIR ) /TESTING/LIN xlintstc xlintstd xlintstds xlintstrfd xlintstrfz xlintsts xlintstz xlintstzc xlintstrfs xlintstrfc
319330ifneq ($(CROSS ) , 1)
320- ( cd $(NETLIB_LAPACK_DIR)/INSTALL; make all; ./testlsame; ./testslamch; ./testdlamch; \
331+ ( cd $(NETLIB_LAPACK_DIR)/INSTALL; $(MAKE) all; ./testlsame; ./testslamch; ./testdlamch; \
321332 ./testsecond; ./testdsecnd; ./testieee; ./testversion )
322333 (cd $(NETLIB_LAPACK_DIR); ./lapack_testing.py -r -b TESTING)
323334endif
0 commit comments