Skip to content

Add build.cpus and build.memory system properties#1293

Merged
realrajaryan merged 1 commit intoapple:mainfrom
realrajaryan:users/realrajaryan/build-resource-props
Mar 6, 2026
Merged

Add build.cpus and build.memory system properties#1293
realrajaryan merged 1 commit intoapple:mainfrom
realrajaryan:users/realrajaryan/build-resource-props

Conversation

@realrajaryan
Copy link
Copy Markdown
Contributor

Closes #1261.

Type of Change

  • New feature

Motivation and Context

Add build.cpus and build.memory system properties so users can configure default builder container resources without passing --cpus/--memory on every invocation. Also, generalized Parser.resources() method to accept property keys and defaults as parameters.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

@github-actions github-actions bot added the cli label Mar 5, 2026
@realrajaryan realrajaryan merged commit 926b3a3 into apple:main Mar 6, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Request]: Default resource (cpus, memory) properties for builder container.

2 participants