Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Reduce compilation time #9055

Closed
Closed

Description

@friedbunny

We should investigate ways to reduce compilation times.

Anecdotally, compilation time has been steadily creeping up — it currently takes ~10 minutes for a clean iOS debug build in Xcode to complete on my MacBook Pro (Retina, 13-inch, Early 2015, 3.1 Ghz). This is quite long and negatively affects productivity.

Breakdown by target, in the order they’re built when running ios-app:

🎯 ⏱
mbgl-core 7 minutes
dynamic 2 minutes
ios-app 1 minute

/cc @mapbox/gl

Activity

  1. added
    Core
    on May 19, 2017
  2. 1ec5 commented on May 19, 2017

    @1ec5
    Contributor

    If you see any opportunities to replace Objective-C++ files with pure Objective-C files in the dynamic target, we should look into doing so. Objective-C++ is known to be slow to compile due to those pluses.

  3. friedbunny commented on Jul 15, 2017

    @friedbunny
    ContributorAuthor

    This has been and is being addressed in several places:

  4. friedbunny commented on Jul 27, 2018

    @friedbunny
    ContributorAuthor

    I think we’re in a decent place with ccache and other incremental improvements — nothing actionable left here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Corebuild

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions