File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -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)
You can’t perform that action at this time.
0 commit comments