-
Notifications
You must be signed in to change notification settings - Fork 7k
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
modules: thrift: update doc and makefiles to build with macos #74557
Conversation
Added tabs to the thrift doc so that building works for macos and is consistent with the rest of the documentation in terms of one tab per os. Updated client and server makefiles to discover include paths for boost and openssl. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
ifeq ($(OS),Darwin) | ||
# get Homebrew prefix | ||
HOMEBREW_PREFIX := $(shell brew --prefix) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use brew
on linux 🫢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😂 Well, that's one solution, I guess
@@ -3,6 +3,8 @@ | |||
|
|||
.PHONY: all clean | |||
|
|||
OS = $(shell uname -s) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OS = $(shell uname -s) | |
OS := $(shell uname -s) |
@@ -3,6 +3,8 @@ | |||
|
|||
.PHONY: all clean | |||
|
|||
OS = $(shell uname -s) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OS = $(shell uname -s) | |
OS := $(shell uname -s) |
.. group-tab:: macOS | ||
|
||
.. code-block:: bash | ||
:caption: Install thrift dependencies in macOS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:caption: Install thrift dependencies in macOS | |
:caption: Install thrift dependencies on macOS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm.. do people normally say a package is installed "on" an OS? I usually say "in".
It's possibly "on" in German or French, but I've been saying "in" for the last 20 years or so and I'm a native English speaker.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh. Could well be that you're right then. I say "on" but I'm not a native English speaker.
Added tabs to the thrift doc so that building works for macos and is consistent with the rest of the documentation in terms of one tab per os (I unfortunately do not have a windows dev environment at my disposal, but would be happy to add those package installation instructions if someone knows what they might be).
Updated client and server makefiles to discover include paths for boost and openssl.
Doc Preview