-ifeq ($(BUILDTEST),yes)
- print-summary:
+print-summary:
@echo "dealii-feature: revision=`svn info .. | grep Revision | sed 's/Revision: //'`"
@echo "dealii-feature: user=$(USER)"
@echo "dealii-feature: host=`hostname`"
@echo "dealii-feature: Trilinos=$(subst ..,,$(DEAL_II_TRILINOS_VERSION_MAJOR).$(DEAL_II_TRILINOS_VERSION_MINOR).$(DEAL_II_TRILINOS_VERSION_SUBMINOR))"
@echo "dealii-feature: MUMPS=$(subst no,,$(USE_CONTRIB_MUMPS))"
@echo "dealii-feature: METIS=$(subst no,,$(USE_CONTRIB_METIS))"
- @echo "dealii-feature: UMFPACK=$(USE_CONTRIB_UMFPACK)"
- @echo "dealii-feature: HSL=$(subst no,,$(USE_CONTRIB_METIS))"
- @echo "dealii-feature: BLAS=@DEAL_II_USE_BLAS@"
- @echo "dealii-feature: LAPACK=@DEAL_II_USE_BLAS@"
-endif
+ @cd scripts ; make report_features && ./report_features
@echo ============================ Compiling $@
@$(CXX) $(CXXFLAGS.o) $(LDFLAGS) $< -o $@
+report_features: report_features.cc $D/common/Make.global_options
+ @echo ============================ Compiling $@
+ @$(CXX) $(CXXFLAGS.o) $(LDFLAGS) $< -o $@
+
clean:
-rm -f make_dependencies
-rm -f make_dependencies.o
--- /dev/null
+//----------------------------------------------------------------------
+// $Id$
+// Version: $Name$
+//
+// Copyright (C) 2010 by the deal.II authors
+//
+// This file is subject to QPL and may not be distributed
+// without copyright and license information. Please refer
+// to the file deal.II/doc/license.html for the text and
+// further information on this license.
+//
+//----------------------------------------------------------------------
+
+#include <base/config.h>
+
+#include <iostream>
+
+#ifdef HAVE_LIBUMFPACK
+extern "C" {
+#include <umfpack.h>
+}
+#endif
+
+#ifdef DEAL_II_USE_MUMPS
+# include <base/utilities.h>
+# include <dmumps_c.h>
+#endif
+
+
+int main()
+{
+#ifdef HAVE_LIBBLAS
+ std::cout << "dealii-feature: BLAS=yes" << std::endl;
+#endif
+
+#ifdef HAVE_LIBLAPACK
+ std::cout << "dealii-feature: LAPACK=yes" << std::endl;
+#endif
+
+#ifdef HAVE_LIBUMFPACK
+ std::cout << "dealii-feature: UMFPACK="
+ << UMFPACK_MAIN_VERSION << '.'
+ << UMFPACK_SUB_VERSION << '.'
+ << UMFPACK_SUBSUB_VERSION << std::endl;
+#endif
+
+#if defined(HAVE_HSL_MA27) || defined(HAVE_HSL_MA47)
+ std::cout << "dealii-feature: HSL=";
+#ifdef HAVE_HSL_MA27
+ std::cout << "MA27";
+#endif
+#ifdef HAVE_HSL_MA47
+ std::cout << "MA47";
+#endif
+ std::cout << std::endl;
+#endif
+}