3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-23 23:52:32 +00:00

Merge remote-tracking branch 'upstream' into merge3

This commit is contained in:
Akash Levy 2026-06-25 04:51:46 -07:00
commit 3783a820ee
655 changed files with 11031 additions and 9437 deletions

View file

@ -7,5 +7,17 @@ set(YOSYS_VERIFIC_DIR ${PROJECT_SOURCE_DIR}/verific)
set(YOSYS_WITH_PYTHON ON CACHE BOOL "" FORCE)
add_library(verific INTERFACE)
# Homebrew's binutils ships libbfd but not libiberty, which backward-cpp's libbfd
# backend links against. When binutils happens to be installed, use_homebrew()
# puts it on the find path and backward-cpp prefers the libbfd backend, producing
# an unsatisfiable `-liberty` at link time. Hide binutils so backward-cpp selects
# the intended libdwarf backend (provided by the dwarfutils + libelf packages).
if (APPLE)
list(FILTER CMAKE_FIND_ROOT_PATH EXCLUDE REGEX "binutils")
unset(LIBBFD_LIBRARY CACHE)
unset(LIBBFD_INCLUDE_DIR CACHE)
endif()
add_subdirectory(${PROJECT_SOURCE_DIR}/libs/backward-cpp)
link_libraries(backward)