From 1400ecf61ce5f3a7a42627d062c7c8fce968aaba Mon Sep 17 00:00:00 2001 From: hristov Date: Fri, 4 Jun 2004 14:16:17 +0000 Subject: [PATCH] Correct definition of icc version. Optimization changed to -O -ip, -g removed. -lifport needed to resolve BLOCK DATA --- build/Makefile.linuxicc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/build/Makefile.linuxicc b/build/Makefile.linuxicc index b19f5cee5c6..7fbd75507bd 100644 --- a/build/Makefile.linuxicc +++ b/build/Makefile.linuxicc @@ -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 -- 2.39.3