Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • sight sight
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 121
    • Issues 121
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Sight
  • sightsight
  • Merge requests
  • !852

enh(build): use /Z7 instead /Zi in all case to allow ccache support on Windows

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Didier WECKMANN requested to merge 1013-enh-build-use-z7-instead-zi-in-all-case-to-allow-ccache-support-on-windows into dev Dec 01, 2022
  • Overview 0
  • Commits 2
  • Pipelines 7
  • Changes 2

Description

Build time

ccache + PCH=OFF (antivirus with exclusion list on directory and process)

  • initial build: 933.033 s
  • second build: 73.334 s

ccache + PCH=OFF (antivirus killed)

  • initial build: 850.279 s
  • second build: 59.196 s
ccache stats:
Cacheable calls:   2640 / 2640 (100.0%)
  Hits:            1320 / 2640 (50.00%)
    Direct:        1320 / 1320 (100.0%)
    Preprocessed:     0 / 1320 ( 0.00%)
  Misses:          1320 / 2640 (50.00%)
Local storage:
  Cache size (GB): 1.09 / 8.00 (13.65%)

PCH=ON (antivirus with exclusion list on directory and process)

  • initial build: 385.491 s

PCH=ON (antivirus killed)

  • initial build: 356.521 s

Closes #1013 (closed)

How to test it?

Build on Windows...

Edited Dec 20, 2022 by Didier WECKMANN
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 1013-enh-build-use-z7-instead-zi-in-all-case-to-allow-ccache-support-on-windows