Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update instructions for installing macOS dependencies #169

Merged
merged 1 commit into from
Dec 7, 2016
Merged

Update instructions for installing macOS dependencies #169

merged 1 commit into from
Dec 7, 2016

Conversation

sethfowler
Copy link
Contributor

The instructions for installing dependencies on macOS are a bit out of date; Homebrew has everything that's needed now.

@@ -41,7 +41,7 @@ p4c

# Dependences

We have tested the compiler on U*X systems (OS X and Ubuntu). The
We have tested the compiler on U*X systems (macOS and Ubuntu). The
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we want to continue to support OS X too.
Not everyone wants to upgrade to the latest and greatest.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

macOS vs OS X is purely a marketing thing; there's nothing specific to a particular release here. I just figured that we may as well stay in sync with the current terminology.

By default, Homebrew doesn't link programs into `/usr/local/bin` if they would
conflict with a version provided by the base system. This includes Bison,
since an older version ships with macOS. `make check` depends on the newer
Bison we just installed from Homebrew, so you'll want to add it to your
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should keep the explanation from above on why do we need to override the default version of bison.

+1 otherwise.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll update the patch to refer to #83.

@sethfowler sethfowler merged commit a328098 into p4lang:master Dec 7, 2016
@sethfowler sethfowler deleted the seth/update-macos-dependencies branch December 7, 2016 23:13
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.

3 participants