Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Fix Darwin builds #32

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Fix Darwin builds #32

wants to merge 4 commits into from

Conversation

rwhitby
Copy link
Contributor

@rwhitby rwhitby commented Nov 26, 2022

[Originally from https://github.com/rwhitby/pull/2 by https://github.com/jrrk2]

The location of the clang compiler in home-brew seems to vary between Darwin versions. This patch pins it down so that it can be determined automatically. I use the command:

brew --prefix llvm

which on my machine evaluates to:

/opt/homebrew/opt/llvm

[end of PR from jrrk2]

Also, the PRJXRAY build on Darwin requires C++11, so ensure that is used.

Also, the python build for NextPNR fails on macOS (boost cmake problem), and is not required, so simply disable it.

@rwhitby rwhitby changed the title Make HOME_BREW location configurable in Darwin Fix Darwin builds Nov 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants