Correct definition of icc version. Optimization changed to -O -ip, -g removed. -lifpo...
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Jun 2004 14:16:17 +0000 (14:16 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Jun 2004 14:16:17 +0000 (14:16 +0000)
build/Makefile.linuxicc

index b19f5ce..7fbd755 100644 (file)
@@ -1,14 +1,15 @@
 # Makefile for AliRoot for Linux with the Intel icc compiler
 
+# The compilers
+CXX           = icc
+CC            = icc
+
 # Compiler version:
 ICC_MAJOR    := $(shell $(CXX) -V 2>&1 | awk '{ if (NR==1) print $$8 }' | \
                 cut -d'.' -f1)
 ICC_MINOR    := $(shell $(CXX) -V 2>&1 | awk '{ if (NR==1) print $$8 }' | \
                 cut -d'.' -f2)
 
-# The compilers
-CXX           = icc
-CC            = icc
 ifeq ($(ICC_MAJOR),8)
 F77           = ifort
 else
@@ -16,8 +17,8 @@ F77           = ifc
 endif
 
 # Global optimisation
-OPT           = -O -g
-NOOPT         = -g -O0
+OPT           = -O -ip
+NOOPT         = -O0
 
 CXXOPT        = $(OPT)
 CXXNOOPT      = $(NOOPT)
@@ -66,7 +67,7 @@ SYSLIBS =
 EXEFLAGS     += -L/usr/local/lib -lXt
 ifeq ($(ICC_MAJOR),8)
 EXEFLAGS     += -L$(shell which ifort | sed -e 's|bin/ifort|lib|') \
-                -lifcore
+                -lifcore -lifport
 else
 EXEFLAGS     += -L$(shell which ifc | sed -e 's|bin/ifc|lib|') \
                 -lF90 -lCEPCF90 -lintrins