Skip to content

Commit 241918c

Browse files
authored
Add note about OpenSSL and LLVM Clang. (#332)
* Add note about OpenSSL, and LLVMClang.
1 parent c7d964b commit 241918c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

INSTALL.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ Install dependencies from packages on Alpine edge
5757
apk add git cmake pkgconf make g++
5858
apk add protobuf-dev grpc-dev fmt-dev spdlog-dev nlohmann-json c-ares-dev
5959

60+
## Platform: macOS
61+
62+
Xcode < 11 or macOS < 10.15 users should get [LLVM Clang](https://releases.llvm.org) binaries and headers. Make
63+
sure that `clang++ -v` returns correct `InstalledDir`. This is because `std::filesystem` is not available
64+
on Clang supplied with Xcode < 11, and `std::filesystem::path` is not available in system C++ dylib for
65+
macOS < 10.15.
66+
67+
If OpenSSL is installed via Brew, and it's keg-only, run the following for pkg-config
68+
to find it as grpc's dependency:
69+
70+
export PKG_CONFIG_PATH=$(brew --prefix)/opt/[email protected]/lib/pkgconfig
71+
6072
## Build commands
6173

6274
Ideally, you should build Bear in a separate build directory.

0 commit comments

Comments
 (0)