Comments (5)
breeze (and OpenR components) all use fbthrift (fork of Apache thrift) to communicate. I believe these modules are missing as we’re not building the ‘py3’ thrift language client libraries and structures.
These are a little more involved as they are Cython libraries linked to the C++ libraries. I haven’t yet, but need to workout how to get these building in OSS world.
We could see if we can just add thrift compiler to use ‘py3’ as well, but I feel we’ll need cpp2 first for py3 to build.
from openr.
I also see the same problem with making breeze operational. Thrift python libraries are not built, and trying to manually build them for the thrift repo is not working as the setup script requires specific built files to be in a specific folder within the trift repo (old way was all deps were in /build directory of openr and actually being installed, so the setup.py was working). When trying to run the thrift setup.py file, python cannot find module X ( where X was trift, then its dependency fb303, then neteng etc). Please provide an integrated solution for breeze to be operational through your install scripts.
from openr.
I have attempted to do exactly this and the problem is much deeper. py3
thrift is Cython wrapped C++ and is off by default in the Open Source fbthrift builds. I've approached the team for support in making this work, but I have not been successful thus far unfortunately.
Some of my work can be seen in this branch: https://github.com/facebook/openr/tree/breeze_docker
I will try find cycles again some day soon, but without FB Thrift teams help, it's going to need to be very hacky. I want this for my home OpenR install, but may end up writing a lightweight non thrift py3
breeze for OSS to work around it.
from openr.
I have managed in the past to get fbthrift to compile the python modules as well. (it was with the Release Candidate 20191208-10906 codebase). It needed to find the python-six package during configuration of cmake and then you were able to run the related setup.py to build and install also the related python wrappers.
If that helps, that was the cmake call that enabled python support build (running cmake inside the build dir of fbthrift root dir.
You needed to have python-six project built and:
cmake -Dpython-six_DIR=/opt/python-six/python-six-Q8Be2n47Opv-n5B-m-qxwvUlULZRCVNgM-AharcWT7Q/lib/cmake/python-six/ -DBUILD_SHARED_LIBS=ON ../
from openr.
Ok, we have thrift py3 modules compiling in the Docker container - Just a few more install placements for the thrift files ans we should have breeze workable in Docker.
We can then use these learning to try make this more friendly and widely usable.
from openr.
Related Issues (20)
- Build broken in master HOT 2
- build fail(centos 7) HOT 1
- Failed to read thread allocated/de-allocated bytes: mallctl: not using jemalloc
- Build fail of util/Utils.h HOT 1
- openr_kvstore_snooper and clients connected to OpenrCtrl thrift server throw error HOT 1
- openr will crashing when it has 32 neighbor HOT 1
- Spark IOProvider Invalid argument error when >10 neighbors
- docker: build fails HOT 1
- Make GitHub Actions Pass Again
- [question] Is NetLink a hard-dependency? HOT 2
- Build fail on ubuntu 18.04 HOT 2
- Fix Doc Links
- multi-area route redistribution sets incorrect routes on one area HOT 4
- Document PolicyEngine & Config to advertise Static Routes HOT 4
- Compiling for aarch64 architecture HOT 9
- svsvfsfs HOT 1
- whwuiwuiui HOT 1
- Convert Docs from recommonmark to MyST-Parser
- Link to documentation is invalid HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openr.