Merge #20520: depends: Do not force Precompiled Headers (PCH) for bui…

Merge #20520: depends: Do not force Precompiled Headers (PCH) for building Qt on Linux

c82d15b6d189983ebf82f35ade33d830870f25c6 depends: Do not force Precompiled Headers (PCH) for building Qt on Linux (Hennadii Stepanov)

Pull request description:

  On CentOS 8 (Cirrus CI job) the forced `-pch` option breaks Qt build.

  Removing `-pch` option does not affect build time for other systems:

  - master (e2ff5e7b35d71195278d2a2ed9485f141de33d7a):
  ```
  $ time make -j 9 -C depends/ qt
  ...
  Caching qt...
  make: Leaving directory '/home/hebasto/guix/GitHub/bitcoin/depends'

  real	4m22,359s
  user	18m3,719s
  sys     1m24,769s
  ```

  - this PR:
  ```
  $ time make -j 9 -C depends/ qt
  ...
  Caching qt...
  make: Leaving directory '/home/hebasto/guix/GitHub/bitcoin/depends'

  real	4m14,862s
  user	18m3,355s
  sys 	1m24,506s
  ```

  Qt docs: https://doc.qt.io/qt-5/qmake-precompiledheaders.html

  Fixes #20423

ACKs for top commit:
  MarcoFalke:
    review ACK c82d15b6d189983ebf82f35ade33d830870f25c6

Tree-SHA512: 0f2a3712e90de881d00f8e56c363edde33dd4f5c117df5744ab4e51d0a8146331de7236bc8329d68ddd91535cd853e68ee80ef4cceb6a909786abfd8881b01e8

情報元 - Merge #20520: depends: Do not force Precompiled Headers (PCH) for bui… · bitcoin/[email protected] · GitHub

Merge #20520: depends: Do not force Precompiled Headers (PCH) for bui… · bitcoin/bitcoin@a3186b6 · GitHub
スポンサーリンク

シェアする

フォローする

スポンサーリンク

トップへ戻る