summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorl00546269 <liujingjue@huawei.com>2020-03-04 16:47:23 +0800
committerl00546269 <liujingjue@huawei.com>2020-03-04 16:47:23 +0800
commit13f9afbd997ffa9bf30a861ec243559fc09e45f5 (patch)
tree8518ac069ef13dbc97deadc3eb3ca85e5750fe8e /Makefile
parentad9e53154dd630c65a0995094c903a4a2149a51a (diff)
downloadopenblas-13f9afbd997ffa9bf30a861ec243559fc09e45f5.tar.gz
openblas-13f9afbd997ffa9bf30a861ec243559fc09e45f5.tar.bz2
openblas-13f9afbd997ffa9bf30a861ec243559fc09e45f5.zip
[OpenBLAS]:modifed the Makefile
[Description]:add c/fortran compiler version information in final note
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a22e16bab..018855a2a 100644
--- a/Makefile
+++ b/Makefile
@@ -56,10 +56,11 @@ ifneq ($(INTERFACE64), 0)
@echo " Use 64 bits int (equivalent to \"-i8\" in Fortran) "
endif
endif
-
- @echo " C compiler ... $(C_COMPILER) (command line : $(CC))"
+ @cverinfo=`$(CC) --version | sed -n '1p'`; \
+ echo " C compiler ... $(C_COMPILER) (cmd & version : $${cverinfo})"
ifeq ($(NOFORTRAN), $(filter 0,$(NOFORTRAN)))
- @echo " Fortran compiler ... $(F_COMPILER) (command line : $(FC))"
+ @fverinfo=`$(FC) --version | sed -n '1p'`; \
+ echo " Fortran compiler ... $(F_COMPILER) (cmd & version : $${fverinfo})"
endif
ifneq ($(OSNAME), AIX)
@echo -n " Library Name ... $(LIBNAME)"
@@ -68,9 +69,9 @@ else
endif
ifndef SMP
- @echo " (Single threaded) "
+ @echo " (Single-threading) "
else
- @echo " (Multi threaded; Max num-threads is $(NUM_THREADS))"
+ @echo " (Multi-threading; Max num-threads is $(NUM_THREADS))"
endif
ifeq ($(USE_OPENMP), 1)