Revision f83cb328f6e6bc81c67e49c5dd1972716c42d165 authored by Paul Russo on 23 June 2008, 15:48:41 UTC, committed by Paul Russo on 23 June 2008, 15:48:41 UTC
to the rawtype node, not the top node. Fix G__test_static, G__AUTOARYDISCRETEOBJ needs to test the statictype property directly. -- Philippe Canal and Paul Russo git-svn-id: http://root.cern.ch/svn/root/trunk@24487 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 230b409
Makefile.linuxicc
# -*- mode: makefile -*-
#
# Makefile of ROOT for Linux with glibc and Intel 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
CINTCFLAGS = -fPIC $(EXTRA_CFLAGS) -restrict \
-DG__REGEXP -DG__UNIX -DG__SHAREDLIB \
-DG__OSFDLL -DG__ROOT -DG__REDIRECTIO \
-DG__STD_EXCEPTION
# 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
ifneq ($(ICC_MINOR),0)
ICC_GE_101 = 101
endif
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 :=
# 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 = $(LD) $(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 ...