[dmd-internals] [D-Programming-Language/dmd] dcb520: add PGO and LTO build options to makefile

GitHub via dmd-internals dmd-internals at puremagic.com
Tue Jul 21 18:44:52 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: dcb52088a5cc0a1bbd191f6cb5f382b130ce9cae
      https://github.com/D-Programming-Language/dmd/commit/dcb52088a5cc0a1bbd191f6cb5f382b130ce9cae
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-07-22 (Wed, 22 Jul 2015)

  Changed paths:
    M src/posix.mak

  Log Message:
  -----------
  add PGO and LTO build options to makefile

- workflow PGO

  rm -rf src/pgo
  make -C src -f posix.mak ENABLE_PGO_GENERATE=1
  .. use the generated dmd binary (e.g. build phobos)
  make -C src -f posix.mak clean
  make -C src -f posix.mak ENABLE_PGO_USE=1

- workflow LTO

  make -C src -f posix.mak ENABLE_LTO=1

- combining both is possible and beneficial


  Commit: f00318b0cf89791ba2c7de477a34d9de0fadfb39
      https://github.com/D-Programming-Language/dmd/commit/f00318b0cf89791ba2c7de477a34d9de0fadfb39
  Author: Walter Bright <walter at walterbright.com>
  Date:   2015-07-21 (Tue, 21 Jul 2015)

  Changed paths:
    M src/posix.mak

  Log Message:
  -----------
  Merge pull request #4651 from MartinNowak/pgo_lto

add PGO and LTO build options to makefile


Compare: https://github.com/D-Programming-Language/dmd/compare/687d594d5433...f00318b0cf89


More information about the dmd-internals mailing list