Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to request CMake to ignore paths #2873

Merged

Conversation

dgovil
Copy link
Collaborator

@dgovil dgovil commented Dec 15, 2023

Description of Change(s)

A common frustration when building USD is that the dependencies (especially OpenImageIO, Ptex, Alembic) eagerly pick up things that are used in the users homebrew directory on macOS. This can cause issues if you're trying to build multi-arch (brew is single arch) and also if you hope to make your distribution distributable with other users.

This change adds a generic multi-arg flag that allows builders to say what paths to ignore.
On Apple Silicon Macs, I also add the option to specifically ignore homebrew. I chose not to add this for Intel Macs because homebrew installs to /usr/local on those machines, and that directory may include other useful libs. If an intel user did want to exclude it, they could still pass it to the ignore-paths flag.

This PR is mostly taking Lee Kerley's work for our internal fork and applying it more generically for OpenUSD.

  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

@jesschimein
Copy link
Contributor

Filed as internal issue #USD-9098

@pixar-oss pixar-oss merged commit 2a4f98e into PixarAnimationStudios:dev Feb 5, 2024
3 of 5 checks passed
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.

3 participants