Skip to content

Add env flag to init - #121

Open
pfultz2 wants to merge 2 commits into
masterfrom
env-flag
Open

pfultz2 wants to merge 2 commits into
masterfrom
env-flag

Conversation

@pfultz2

@pfultz2 pfultz2 commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

The --env VAR=VALUE flag is stored in the prefix and set for the cmake configure, build and install of every package, but not when cget downloads the package. So a dead proxy such as https_proxy=http://127.0.0.1:1 can be used to make sure the builds do not reach the network.

Also, to_define_dict now splits on the first = only, so -DVAR=a=b keeps the whole value.

The `--env VAR=VALUE` flag is stored in the prefix and set for the cmake configure, build and install of every package, but not when cget downloads the package. So a dead proxy such as `https_proxy=http://127.0.0.1:1` can be used to make sure the builds do not reach the network.

Also, `to_define_dict` now splits on the first `=` only, so `-DVAR=a=b` keeps the whole value.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Aqc8j4E36M4BkM4P1c6SVv
@pfultz2 pfultz2 mentioned this pull request Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant