Optimize build time

Open
#63 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
cmake, cpp, git

Research direction

Start with issue #20 to confirm when pre-compiled libraries become available, then inspect the FetchContent declarations in CMakeLists.txt. Check how uninstalled libraries are currently fetched and compare the existing build configuration with CMake's ZIP archive options. Done means using available pre-compiled libraries and fetching each remaining dependency from a ZIP archive instead of Git.

Written by the indexing model from the issue text.

Description

The build time for OSMExpress can be significantly reduced.

  • Once https://github.com/bdon/OSMExpress/issues/20 is finished, the build will use pre-compiled libraries if available on the system. This will be particularly noticable with S2, which is quite a beast.
  • Afterwards, change FetchContent declarations in CMakeLists.txt to fetch from ZIP archives instead of Git. This will make the initial check-out faster because it is just a single HTTP fetch per uninstalled library.

Filing this bug for myself (@brawer) so I don't forget. It's not super important, but would be nice to have.

Dominant language
C++
Stars
272
Forks
22
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bdon/OSMExpress

All issues in bdon/OSMExpress

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.