yosys/cmake
Mohamed Gaber f5f930e186
cmake: use homebrew from PATH
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.
2026-08-10 22:55:57 +03:00
..
toolchain Migrate build system to CMake 2026-06-03 08:58:10 +00:00
CheckLibcFeatures.cmake Migrate build system to CMake 2026-06-03 08:58:10 +00:00
Condition.cmake Migrate build system to CMake 2026-06-03 08:58:10 +00:00
FindBISON.cmake CMake: improve and vendor upstream `FindBISON` module. 2026-06-05 17:40:25 +00:00
FindDlfcn.cmake Migrate build system to CMake 2026-06-03 08:58:10 +00:00
FindPyosysEnv.cmake Update top-level Python project for CMake compatibility. 2026-06-03 09:03:23 +00:00
FindPython3Devel.cmake Update top-level Python project for CMake compatibility. 2026-06-03 09:03:23 +00:00
GetPyosysVersion.cmake Update top-level Python project for CMake compatibility. 2026-06-03 09:03:23 +00:00
PkgConfig.cmake Migrate build system to CMake 2026-06-03 08:58:10 +00:00
PmgenCommand.cmake Migrate build system to CMake 2026-06-03 08:58:10 +00:00
UseHomebrew.cmake cmake: use homebrew from PATH 2026-08-10 22:55:57 +03:00
YosysAbc.cmake Update ABC as per 2026-06-25 2026-06-25 14:20:27 +02:00
YosysAbcSubmodule.cmake docs: Resolving todos 2026-06-04 20:35:52 +12:00
YosysComponent.cmake Migrate build system to CMake 2026-06-03 08:58:10 +00:00
YosysConfigScript.cmake Populate link_flags in yosys-config 2026-06-04 10:15:47 +02:00
YosysInstallDirs.cmake Migrate build system to CMake 2026-06-03 08:58:10 +00:00
YosysLinkTarget.cmake Migrate build system to CMake 2026-06-03 08:58:10 +00:00
YosysVerific.cmake verific: do not link TCL command line interface 2026-06-09 14:53:53 +02:00
YosysVersion.cmake For release branch always keep distance zero 2026-06-09 18:20:17 +02:00
YosysVersionData.cmake Release version 0.68 2026-08-05 07:42:20 +02:00