mapbox / mapbox/mason

Configurable `builds` via select env settings

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

Nobody has claimed this yet.

Dominant language
Python
Stars
258
Forks
68
PR merge metrics
No merged PRs in 30d

Description

Mason users may need to rebuild packages from source using a different compiler than was used for the binary packages. To enable this we'll need to expose the CXX and CC option rather than hardcoding in the mason.sh.

This will need to play well with specific scripts that have specific compiler needs (like LLVM compiles itself with a specific clang++ version: should it respect the override?)

also related: #492

refs https://github.com/mapbox/carmen-cache/issues/117#issuecomment-369051742

Contributor guide

Open the contributing guide

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.

Research direction

Start with mason.sh and the package scripts that have specific compiler requirements, including LLVM. Determine where CC and CXX are currently fixed, how selected environment settings should override them, and which package-specific compiler choices must remain; done means the behavior is defined for both general builds and those exceptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp, shell
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.