Repository navigation
Conversation
|
#40 got merged which added the openssl headers path. Can you update the pull request? |
…of the default library search paths. We rely on find_library to locate those two libraries.
|
The PR has been updated. |
|
@facebook-github-bot import |
|
Thanks for importing. If you are an FB employee go to Phabricator to review. |
| cmake_minimum_required(VERSION 2.8) | ||
|
|
||
| set(CMAKE_CXX_FLAGS "-std=c++0x -fPIC") | ||
| set(CMAKE_CXX_FLAGS "-std=c++14 -fPIC") |
There was a problem hiding this comment.
does -std=c++1y work for you? That would keep from moving the minimum gcc to 4.9
There was a problem hiding this comment.
Yes, I have updated my pull request according to your suggestion.
| ${GLOG_LIBRARY_PATH} | ||
| ${GFLAGS_LIBRARY_PATH} | ||
| -latomic) | ||
| $<$<NOT:$<CXX_COMPILER_ID:Clang>>:latomic>) |
There was a problem hiding this comment.
cmake isn't my area, but it looks like on gcc this results in -llatomic
There was a problem hiding this comment.
you're right, I've accidentally removed the hyphen while making this parameter absent with clang. I've updated the pull request with a fix.
… removed by mistake.
|
@facebook-github-bot shipit |
|
Thanks for the PR. The latest build and looks good to me. |
|
Thanks for importing. If you are an FB employee go to Phabricator to review. |
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
I have made a few changes in order to get Wangle to build on OS X. There were 4 different problems which I've fixed in 4 different commits. The commit messages should be self-explanatory. The c++14 requirement might not be the best option to solve the compilation issue depending on the project's objective. Maybe the methods that relied on return type deduction should just specify their return type explicitly so as to remain c++11 compatible. I leave that to discussion.