Skip to content

fix: Verilator build with LLVM and Make 3.81 compat#3

Open
huettern wants to merge 1 commit intomainfrom
fix/macos-build-guide
Open

fix: Verilator build with LLVM and Make 3.81 compat#3
huettern wants to merge 1 commit intomainfrom
fix/macos-build-guide

Conversation

@huettern
Copy link
Copy Markdown
Collaborator

Pass the CMake compiler to Verilator's autoconf so it picks up Homebrew LLVM (coroutine + C++20 support) instead of Apple Clang. Also add flex include path for the Verilator build.

Replace GNU Make 4.3 grouped-target (&:) syntax in the FSM equiv test Makefile with a stamp-file pattern compatible with Make 3.81 (the version shipped with macOS).

Pass the CMake compiler to Verilator's autoconf so it picks up
Homebrew LLVM (coroutine + C++20 support) instead of Apple Clang.
Also add flex include path for the Verilator build.

Replace GNU Make 4.3 grouped-target (&:) syntax in the FSM equiv
test Makefile with a stamp-file pattern compatible with Make 3.81
(the version shipped with macOS).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant