Revision 93423011ebdb0cc0c2dbd4edffdc21e2923f590f authored by Olivier Couet on 23 June 2008, 15:36:54 UTC, committed by Olivier Couet on 23 June 2008, 15:36:54 UTC
"Make option BAR work with option HIST" This test worked nicely when Hoption.Bar >= 10 (option "BAR" and "HBAR"). But, in some cases, it disabled th case Hoption.Bar = 1 (simple option "B"). git-svn-id: http://root.cern.ch/svn/root/trunk@24484 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent cf52f89
Makefile.linuxx8664icc
# -*- mode: makefile -*-
#
# Makefile of ROOT for Linux on AMD64 and Intel EM64T with icc >= v8 compiler
PLATFORM = linux
DEBUGFLAGS = -g
OPTFLAGS = -O
ifeq (debug,$(findstring debug,$(ROOTBUILD)))
OPT = $(DEBUGFLAGS)
NOOPT = -O0
else
OPT = $(OPTFLAGS)
NOOPT = -O0
endif
# Compiler:
CXX = icc
CC = icc
CXXFLAGS = -fPIC -wd1476 $(EXTRA_CXXFLAGS)
CFLAGS = -fPIC $(EXTRA_CFLAGS) -restrict
CINTCXXFLAGS = -fPIC $(EXTRA_CXXFLAGS) \
-DG__REGEXP -DG__UNIX -DG__SHAREDLIB \
-DG__OSFDLL -DG__ROOT -DG__REDIRECTIO \
-DG__STD_EXCEPTION -DG__64BIT
CINTCFLAGS = -fPIC $(EXTRA_CFLAGS) -restrict \
-DG__REGEXP -DG__UNIX -DG__SHAREDLIB \
-DG__OSFDLL -DG__ROOT -DG__REDIRECTIO \
-DG__STD_EXCEPTION -DG__64BIT
# Compiler version:
ICC_MAJOR := $(shell $(CXX) -v 2>&1 | awk '{ if (NR==1) print $$2 }' | \
cut -d'.' -f1)
ICC_MINOR := $(shell $(CXX) -v 2>&1 | awk '{ if (NR==1) print $$2 }' | \
cut -d'.' -f2)
ifeq ($(ICC_MAJOR),9)
CXXFLAGS += -wd1572
CFLAGS += -wd1572
CINTCXXFLAGS += -wd1572
CINTCFLAGS += -wd1572
USE_PCH = -use_pch
CREATE_PCH = -create_pch
ICC_GE_9 = 9
endif
ifeq ($(ICC_MAJOR),10)
CXXFLAGS += -wd1572
CFLAGS += -wd1572
CINTCXXFLAGS += -wd1572
CINTCFLAGS += -wd1572
USE_PCH = -pch-use
CREATE_PCH = -pch-create
ICC_GE_9 = 10
endif
# Linker:
LD = icpc
LDFLAGS = $(OPT) $(EXTRA_LDFLAGS)
SOFLAGS = -shared -Wl,-soname,
SOEXT = so
# System libraries:
SYSLIBS = -lm -ldl $(OSTHREADLIBDIR) $(OSTHREADLIB) -rdynamic
XLIBS = $(XPMLIBDIR) $(XPMLIB) $(X11LIBDIR) -lXext -lX11
CILIBS = -lm -ldl -rdynamic
CRYPTLIBS = -lcrypt
# Fortran:
F77 =
ifeq ($(shell which ifort 2>&1 | sed -ne "s/.*\/ifort/ifort/p"),ifort)
F77 := ifort
F77FLAGS := -fPIC
# check for libg2c and libfrtbegin
ifneq ($(shell g77 -print-file-name=libg2c.so),libg2c.so)
LIBG2C := $(shell g77 -print-file-name=libg2c.so) -lnsl
else
LIBG2C := $(shell g77 -print-file-name=libg2c.a) -lnsl
endif
LIBFRTBEGIN := $(shell g77 -print-file-name=libfrtbegin.a)
F77LIBS := $(LIBFRTBEGIN) $(LIBG2C) \
-L$(shell which ifort | sed -e 's|bin/ifort|lib|') \
-lifcore
endif
# Precompiled headers:
PCHSUPPORTED := $(ENABLEPCH)
ifeq ($(PCHSUPPORTED),yes)
PCHFILE = include/precompile.pchi
PCHCXXFLAGS = -DUSEPCH -include precompile.h $(USE_PCH) $(PCHFILE)
PCHEXTRAOBJBUILD = $(CXX) $(OPT) $(CXXFLAGS) -DUSEPCH \
-include precompile.h $(CREATE_PCH) $(PCHFILE) \
-c $(PCHEXTRASRC) -o $(PCHEXTRAOBJ)
endif
# Extras
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...