Skip to content

Conversation

@lgritz
Copy link
Collaborator

@lgritz lgritz commented Dec 8, 2025

There seems to be a couple seconds overhead for each "brew install". Refactor install_homebrew_deps.bash to first assemble the list of all packages to install, and then do a single brew install for the whole list.

Also remove mention of packages that are pre-installed on the Mac GHA runners or that we don't need.

In the process, by using the OIIO_BREW_INSTALL_PACKAGES variable and only setting it if empty, we now have the ability to fully override the list of packages that brew will install on a per-job basis.

There seems to be a couple seconds overhead for each "brew
install". Refactor install_homebrew_deps.bash to first assemble the
list of all packages to install, and then do a single `brew install`
for the whole list.

Also remove mention of packages that are pre-installed on the Mac GHA
runners or that we don't need.

In the process, by using the `OIIO_BREW_INSTALL_PACKAGES` variable and
only setting it if empty, we now have the ability to fully override
the list of packages that brew will install on a per-job basis.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz
Copy link
Collaborator Author

lgritz commented Dec 14, 2025

No objections for nearly a week + CI change only = merge

@lgritz lgritz merged commit afb365c into AcademySoftwareFoundation:main Dec 14, 2025
29 checks passed
@lgritz lgritz deleted the lg-macci branch December 14, 2025 10:59
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Dec 17, 2025
…twareFoundation#4975)

There seems to be a couple seconds overhead for each "brew install".
Refactor install_homebrew_deps.bash to first assemble the list of all
packages to install, and then do a single `brew install` for the whole
list.

Also remove mention of packages that are pre-installed on the Mac GHA
runners or that we don't need.

In the process, by using the `OIIO_BREW_INSTALL_PACKAGES` variable and
only setting it if empty, we now have the ability to fully override the
list of packages that brew will install on a per-job basis.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
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