Skip to content

Commit

Permalink
prevnt using tbb:thread when TBB configuration has failed
Browse files Browse the repository at this point in the history
  • Loading branch information
benkirk committed Mar 11, 2013
1 parent 88e0f46 commit 055e8cf
Show file tree
Hide file tree
Showing 78 changed files with 91 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4147,6 +4147,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
9 changes: 9 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,7 @@ SLEPC_INCLUDE
SLEPC_DIR
LIBMESH_ENABLE_PETSC_FALSE
LIBMESH_ENABLE_PETSC_TRUE
enablepetsc
MPI_INCLUDES_PATHS
MPI_INCLUDES_PATH
MPI_LIBS_PATHS
Expand Down Expand Up @@ -29074,6 +29075,8 @@ fi
fi
fi



if (test $enablempi != no) ; then
libmesh_optional_INCLUDES="$MPI_INCLUDES_PATHS $libmesh_optional_INCLUDES"
libmesh_optional_LIBS="$MPI_LIBS_PATHS $MPI_LIBS $libmesh_optional_LIBS"
Expand Down Expand Up @@ -30071,6 +30074,12 @@ CXXFLAGS="$saveCXXFLAGS"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tbb_cxx_thread" >&5
$as_echo "$ac_cv_tbb_cxx_thread" >&6; }

# if we don't have functioning TBB avoid a false positive
if test "x$enabletbb" = "xno"; then
ac_cv_tbb_cxx_thread=no
fi

if test "$ac_cv_tbb_cxx_thread" = yes; then

$as_echo "#define HAVE_TBB_CXX_THREAD 1" >>confdefs.h
Expand Down
1 change: 1 addition & 0 deletions contrib/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/boost/include/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/eigen/3.1.2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/exodusii/5.22b/exodus/cbind/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1996,6 +1996,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/exodusii/5.22b/nemesis/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/exodusii/Lib/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1121,6 +1121,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/fparser/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/fparser/extrasrc/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/gmv/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/gzstream/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/laspack/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/libHilbert/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/metis/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/nanoflann/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/nemesis/Lib/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/netcdf/Lib/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/parmetis/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/sfcurves/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/tecplot/binary/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/tecplot/tecio/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/tetgen/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions contrib/triangle/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/adaptivity/adaptivity_ex1/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/adaptivity/adaptivity_ex2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/adaptivity/adaptivity_ex3/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/adaptivity/adaptivity_ex4/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/adaptivity/adaptivity_ex5/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/adjoints/adjoints_ex1/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/adjoints/adjoints_ex2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/adjoints/adjoints_ex3/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/adjoints/adjoints_ex4/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/adjoints/adjoints_ex5/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/eigenproblems/eigenproblems_ex1/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/eigenproblems/eigenproblems_ex2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/eigenproblems/eigenproblems_ex3/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/fem_system/fem_system_ex1/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/fem_system/fem_system_ex2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/introduction/introduction_ex1/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/introduction/introduction_ex2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/introduction/introduction_ex3/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/introduction/introduction_ex4/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/introduction/introduction_ex5/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/miscellaneous/miscellaneous_ex1/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
1 change: 1 addition & 0 deletions examples/miscellaneous/miscellaneous_ex2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
gitquery = @gitquery@
have_gcov = @have_gcov@
Expand Down
Loading

0 comments on commit 055e8cf

Please sign in to comment.