This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| # | |
| # Important: This is quickly updated fork of a script from https://gist.github.com/Kolcha/3ccd533123b773ba110b8fd778b1c2bf | |
| # To make the build smooth I've changed the following | |
| # - updated version of dependencies | |
| # - moved cmake installation and adding to PATH above qt, as qt's perl script requires cmake to be in PATH. | |
| # | |
| # To get successful build I've created new system user `builduser` and then made `/opt/homebrew` inaccessible to this new user. | |
| # Simplified steps: | |
| # - su - builduser |