mirror of https://github.com/YosysHQ/yosys.git
The current version of UseHomebrew defaults to /opt/homebrew/Cellar and prioritizes it over anything currently existing in PATH. This has two issues: - On x86_64 installations of Homebrew (including when emulating on ARM), the path is /usr/local/Cellar - When building in a `nix develop` environment, the homebrew versions take priority, complicating testing This addresses this issue by using the output of `brew --prefix`, doing nothing if brew is not in `PATH`. Additionally, CMakeLists.txt was updated such that if YOSYS_ENABLE_HOMEBREW is defined as OFF, using Homebrew is skipped entirely. |
||
|---|---|---|
| .. | ||
| toolchain | ||
| CheckLibcFeatures.cmake | ||
| Condition.cmake | ||
| FindBISON.cmake | ||
| FindDlfcn.cmake | ||
| FindPyosysEnv.cmake | ||
| FindPython3Devel.cmake | ||
| GetPyosysVersion.cmake | ||
| PkgConfig.cmake | ||
| PmgenCommand.cmake | ||
| UseHomebrew.cmake | ||
| YosysAbc.cmake | ||
| YosysAbcSubmodule.cmake | ||
| YosysComponent.cmake | ||
| YosysConfigScript.cmake | ||
| YosysInstallDirs.cmake | ||
| YosysLinkTarget.cmake | ||
| YosysVerific.cmake | ||
| YosysVersion.cmake | ||
| YosysVersionData.cmake | ||