]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use gold instead of the traditional linker if possible. 1492/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 31 Aug 2015 16:42:20 +0000 (11:42 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 6 Sep 2015 21:08:11 +0000 (16:08 -0500)
cmake/setup_compiler_flags_gnu.cmake
cmake/setup_compiler_flags_intel.cmake
doc/news/changes.h

index 9409c36cc819c9c081acaba7480f46ea65955b38..e43680ccbf641b11e6c5d81949244439a1f13802 100644 (file)
@@ -54,6 +54,11 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-fpic")
 #
 ENABLE_IF_LINKS(DEAL_II_LINKER_FLAGS "-Wl,--as-needed")
 
+#
+# Use the 'gold' linker if possible, given that it's substantially faster.
+#
+ENABLE_IF_SUPPORTED(DEAL_II_LINKER_FLAGS "-fuse-ld=gold")
+
 #
 # Setup various warnings:
 #
index ecc2da5d72e2b374536258c2625f2a54c09f3950..62b3c9e6b8b4d0e81a2f1112c79d372ede272e06 100644 (file)
@@ -1,6 +1,6 @@
 ## ---------------------------------------------------------------------
 ##
-## Copyright (C) 2012 - 2014 by the deal.II authors
+## Copyright (C) 2012 - 2015 by the deal.II authors
 ##
 ## This file is part of the deal.II library.
 ##
@@ -45,6 +45,11 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-fpic")
 #
 ENABLE_IF_LINKS(DEAL_II_LINKER_FLAGS "-Wl,--as-needed")
 
+#
+# Use the 'gold' linker if possible, given that it's substantially faster.
+#
+ENABLE_IF_SUPPORTED(DEAL_II_LINKER_FLAGS "-fuse-ld=gold")
+
 #
 # Set ansi mode:
 #
index 436510cd574d37d30753aa486a60a6f5eaed8004..05ef18e42372e6a2325718eba7b1d967c66ae4ff 100644 (file)
@@ -114,14 +114,23 @@ inconvenience this causes.
 
 
 <ol>
+  <li> Improved: When available, deal.II now uses the "gold" linker, a
+  reimplementation of the traditional Unix "ld" linker that is substantially
+  faster. This reduces build and, in particular, test turnaround times.
+  <br>
+  (Wolfgang Bangerth, Matthias Maier, 2015/09/06)
+  </li>
+
   <li> Improved: Allow continuation lines in ParameterHandler.
   <br>
   (Alberto Sartori, 2015/09/04)
+  </li>
 
   <li> Fixed: VectorTools::integrate_difference for VectorTools::Hdiv_seminorm
   was computed incorrectly.
   <br>
   (Timo Heister, 2015/08/31)
+  </li>
 
   <li> Improved: The testsuite now supports multiple comparison files.
   Apart from the main comparison file that ends in
@@ -129,8 +138,8 @@ inconvenience this causes.
   <code>[...].output.[string]</code> are considered for comparison.
   <br>
   (Matthias Maier, 2015/08/29)
-
   </li>
+  
   <li> New: A class BlockLinearOperator has been introduced that extends
   the LinearOperator concept to block structures. A BlockLinearOperator can
   be sliced back to a LinearOperator.

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.