]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Take over patches from TBB 22 copy in our tree.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Nov 2010 01:32:45 +0000 (01:32 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Nov 2010 01:32:45 +0000 (01:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@22815 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/tbb/tbb30_104oss/Makefile
deal.II/contrib/tbb/tbb30_104oss/build/Makefile.tbb
deal.II/contrib/tbb/tbb30_104oss/build/common_rules.inc
deal.II/contrib/tbb/tbb30_104oss/build/windows.inc

index f8faec09b4a9552de94176d531600ef102dfb621..5d6d930a37e1134774d34974e9070140dd8d6da6 100644 (file)
@@ -37,22 +37,22 @@ default: tbb tbbmalloc
 all: tbb tbbmalloc test examples
 
 tbb: mkdir
-       $(MAKE) -C "$(work_dir)_debug"  -r -f $(tbb_root)/build/Makefile.tbb cfg=debug tbb_root=$(tbb_root)
-       $(MAKE) -C "$(work_dir)_release"  -r -f $(tbb_root)/build/Makefile.tbb cfg=release tbb_root=$(tbb_root)
+       @$(MAKE) -C "$(work_dir)_debug"  -r -f $(tbb_root)/build/Makefile.tbb cfg=debug tbb_root=$(tbb_root)
+       @$(MAKE) -C "$(work_dir)_release"  -r -f $(tbb_root)/build/Makefile.tbb cfg=release tbb_root=$(tbb_root)
 
 tbbmalloc: mkdir
-       $(MAKE) -C "$(work_dir)_debug"  -r -f $(tbb_root)/build/Makefile.tbbmalloc cfg=debug malloc tbb_root=$(tbb_root)
-       $(MAKE) -C "$(work_dir)_release"  -r -f $(tbb_root)/build/Makefile.tbbmalloc cfg=release malloc tbb_root=$(tbb_root)
+       @$(MAKE) -C "$(work_dir)_debug"  -r -f $(tbb_root)/build/Makefile.tbbmalloc cfg=debug malloc tbb_root=$(tbb_root)
+       @$(MAKE) -C "$(work_dir)_release"  -r -f $(tbb_root)/build/Makefile.tbbmalloc cfg=release malloc tbb_root=$(tbb_root)
 
 test: tbb tbbmalloc
-       -$(MAKE) -C "$(work_dir)_debug"  -r -f $(tbb_root)/build/Makefile.tbbmalloc cfg=debug malloc_test tbb_root=$(tbb_root)
-       -$(MAKE) -C "$(work_dir)_debug"  -r -f $(tbb_root)/build/Makefile.test cfg=debug tbb_root=$(tbb_root)
-       -$(MAKE) -C "$(work_dir)_release"  -r -f $(tbb_root)/build/Makefile.tbbmalloc cfg=release malloc_test tbb_root=$(tbb_root)
-       -$(MAKE) -C "$(work_dir)_release"  -r -f $(tbb_root)/build/Makefile.test cfg=release tbb_root=$(tbb_root) 
+       -@$(MAKE) -C "$(work_dir)_debug"  -r -f $(tbb_root)/build/Makefile.tbbmalloc cfg=debug malloc_test tbb_root=$(tbb_root)
+       -@$(MAKE) -C "$(work_dir)_debug"  -r -f $(tbb_root)/build/Makefile.test cfg=debug tbb_root=$(tbb_root)
+       -@$(MAKE) -C "$(work_dir)_release"  -r -f $(tbb_root)/build/Makefile.tbbmalloc cfg=release malloc_test tbb_root=$(tbb_root)
+       -@$(MAKE) -C "$(work_dir)_release"  -r -f $(tbb_root)/build/Makefile.test cfg=release tbb_root=$(tbb_root) 
 
 rml: mkdir
-       $(MAKE) -C "$(work_dir)_debug"  -r -f $(tbb_root)/build/Makefile.rml cfg=debug tbb_root=$(tbb_root)
-       $(MAKE) -C "$(work_dir)_release"  -r -f $(tbb_root)/build/Makefile.rml cfg=release tbb_root=$(tbb_root)
+       @$(MAKE) -C "$(work_dir)_debug"  -r -f $(tbb_root)/build/Makefile.rml cfg=debug tbb_root=$(tbb_root)
+       @$(MAKE) -C "$(work_dir)_release"  -r -f $(tbb_root)/build/Makefile.rml cfg=release tbb_root=$(tbb_root)
 
 
 examples: tbb tbbmalloc
index 2f49eabe3082b0cd633eaed96d2974e84e4bb4c6..3b580004fdeb621926308f2b0936259efda14591 100644 (file)
@@ -36,7 +36,7 @@ DEBUG_SUFFIX=$(findstring _debug,_$(cfg))
 #------------------------------------------------------------
 # Define static pattern rules dealing with .cpp source files
 #------------------------------------------------------------
-$(warning CONFIG: cfg=$(cfg) arch=$(arch) compiler=$(compiler) os=$(tbb_os) runtime=$(runtime))
+$(warning CONFIG: cfg=$(cfg) arch=$(arch) compiler=$(compiler) os=$(tbb_os) runtime=$(runtime))
 
 default_tbb: $(TBB.DLL)
 .PHONY: default_tbb tbbvars clean
@@ -102,7 +102,8 @@ include $(tbb_root)/build/common_rules.inc
 
 ifneq (,$(TBB.DEF))
 tbb.def: $(TBB.DEF)
-       $(CMD) "$(CPLUS) $(PREPROC_ONLY) $(TBB.DEF) $(INCLUDES) $(CPLUS_FLAGS) >tbb.def 2>$(NUL) || exit 0"
+       @echo "=====tbb=========================MT== $(cfg)/$@"
+       @$(CMD) "$(CPLUS) $(PREPROC_ONLY) $(TBB.DEF) $(INCLUDES) $(CPLUS_FLAGS) >tbb.def 2>$(NUL) || exit 0"
 
 LIB_LINK_FLAGS += $(EXPORT_KEY)tbb.def
 $(TBB.DLL): tbb.def
@@ -113,11 +114,13 @@ tbbvars.sh:
 
 $(TBB.DLL): BUILDING_LIBRARY = $(TBB.DLL)
 $(TBB.DLL): $(TBB.OBJ) $(TBB.RES) tbbvars.sh $(TBB_NO_VERSION.DLL)
-       $(LIB_LINK_CMD) $(LIB_OUTPUT_KEY)$(TBB.DLL) $(TBB.OBJ) $(TBB.RES) $(LIB_LINK_LIBS) $(LIB_LINK_FLAGS)
+       @echo "=====tbb=========================MT== $(cfg)/$@"
+       @$(LIB_LINK_CMD) $(LIB_OUTPUT_KEY)$(TBB.DLL) $(TBB.OBJ) $(TBB.RES) $(LIB_LINK_LIBS) $(LIB_LINK_FLAGS)
 
 ifneq (,$(TBB_NO_VERSION.DLL))
 $(TBB_NO_VERSION.DLL):
-       echo "INPUT ($(TBB.DLL))" > $(TBB_NO_VERSION.DLL)
+       @echo "=====tbb=========================MT== $(cfg)/$@"
+       @echo "INPUT ($(TBB.DLL))" > $(TBB_NO_VERSION.DLL)
 endif
 
 #clean:
index 95dbad207149cc9ed0cdc9684a9256604bfcca20..07ec7b3f31c5fa8598fce2578385b6fe3e4aa8b1 100644 (file)
@@ -57,13 +57,16 @@ CONLY ?= $(CPLUS)
 
 # The most generic rules
 %.$(OBJ): %.cpp
-       $(CPLUS) $(COMPILE_ONLY) $(CPLUS_FLAGS) $(CXX_ONLY_FLAGS) $(CXX_WARN_SUPPRESS) $(INCLUDES) $<
+       @echo "=====tbb=========================MT== $(cfg)/$(<F)"
+       @$(CPLUS) $(COMPILE_ONLY) $(CPLUS_FLAGS) $(CXX_ONLY_FLAGS) $(CXX_WARN_SUPPRESS) $(INCLUDES) $<
 
 %.$(OBJ): %.c
-       $(CONLY) $(COMPILE_ONLY) $(C_FLAGS) $(INCLUDES) $<
+       @echo "=====tbb=========================MT== $(cfg)/$(<F)"
+       @$(CONLY) $(COMPILE_ONLY) $(C_FLAGS) $(INCLUDES) $<
 
 %.$(OBJ): %.asm
-       $(ASM) $(ASM_FLAGS) $<
+       @echo "=====tbb=========================MT== $(cfg)/$(<F)"
+       @$(ASM) $(ASM_FLAGS) $<
 
 %.$(OBJ): %.s
        cpp <$< | grep -v '^#' >$*.tmp
@@ -90,14 +93,17 @@ ifeq (1,$(TBB_NOSTRICT))
 # The files below need the -strict-ansi flag downgraded to -ansi to compile
 
 $(KNOWN_NOSTRICT): %.$(OBJ): %.cpp
-       $(CPLUS) $(COMPILE_ONLY) $(CPLUS_FLAGS_NOSTRICT) $(CXX_ONLY_FLAGS) $(CXX_WARN_SUPPRESS) $(INCLUDES) $<
+       @echo "=====tbb=========================MT== $(cfg)/$(<F)"
+       @$(CPLUS) $(COMPILE_ONLY) $(CPLUS_FLAGS_NOSTRICT) $(CXX_ONLY_FLAGS) $(CXX_WARN_SUPPRESS) $(INCLUDES) $<
 endif
 
 $(KNOWN_WARNINGS): %.$(OBJ): %.cpp
-       $(CPLUS) $(COMPILE_ONLY) $(subst $(WARNING_KEY),,$(CPLUS_FLAGS)) $(CXX_ONLY_FLAGS) $(INCLUDES) $<
+       @echo "=====tbb=========================MT== $(cfg)/$(<F)"
+       @$(CPLUS) $(COMPILE_ONLY) $(subst $(WARNING_KEY),,$(CPLUS_FLAGS)) $(CXX_ONLY_FLAGS) $(INCLUDES) $<
 
 tbb_misc.$(OBJ): tbb_misc.cpp version_string.tmp
-       $(CPLUS) $(COMPILE_ONLY) $(CPLUS_FLAGS) $(CXX_ONLY_FLAGS) $(INCLUDE_KEY). $(INCLUDES) $<
+       @echo "=====tbb=========================MT== $(cfg)/$(<F)"
+       @$(CPLUS) $(COMPILE_ONLY) $(CPLUS_FLAGS) $(CXX_ONLY_FLAGS) $(INCLUDE_KEY). $(INCLUDES) $<
 
 tbb_misc.E: tbb_misc.cpp version_string.tmp
        $(CPLUS) $(CPLUS_FLAGS) $(CXX_ONLY_FLAGS) $(INCLUDE_KEY). $(INCLUDES) $(PREPROC_ONLY) $< >$@
@@ -112,12 +118,14 @@ $(TBB.MANIFEST):
        cl /nologo $(C_FLAGS) tbbmanifest.c
 
 version_string.tmp: $(TBB.MANIFEST)
-       $(MAKE_VERSIONS)
-       cmd /C "echo #define TBB_MANIFEST 1 >> version_string.tmp"
+       @echo "=====tbb=========================MT== $(cfg)/$@"
+       @$(MAKE_VERSIONS)
+       @cmd /C "echo #define TBB_MANIFEST 1 >> version_string.tmp"
 
 else
 version_string.tmp:
-       $(MAKE_VERSIONS)
+       @echo "=====tbb=========================MT== $(cfg)/$@"
+       @$(MAKE_VERSIONS)
 endif
 
 
index 3900ed382b14aec1ee06fe01ea17305dde373fdf..fe446bbf49fcdb8d0de3ffa06447760042664b58 100644 (file)
@@ -50,7 +50,7 @@ CWD=$(shell cmd /C echo %CD%)
 RM=cmd /C del /Q /F
 RD=cmd /C rmdir
 MD=cmd /c mkdir
-SLASH=\\
+SLASH=/
 NUL = nul
 
 OBJ = obj

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.