Precompiling script for given graph schema in GAE
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 468
- Avg merge
- 29m
- Merged PRs (30d)
- 1
Description
**Is your feature request related to a problem? Please describe.**
Currently installing GraphScope containing the precompiled C++ lib for int type graph with double weight type. And it is not realistic to add other precompiled libs because it makes the size of the GraphScope lib too big. However, it is quite frustrated because GraphScope compiles the C++ lib on the fly when you running certain algorithms with GAE. Example can be found in this [issue](https://github.com/alibaba/GraphScope/issues/1753). A standalone precompiling script for given graph schema will be very helpful for:
* Isolate the compiling process for debug. It is rather easy to face certain compiling exceptions and it is difficult to test with the current on the fly compiling.
* Production deployment needs the separated script to run before hand.
**Describe the solution you'd like**
A command/python script takes the graph schema as the parameter. Ship the script also within the pip install so that pip don't need to clone the git repo. Maybe this [script](https://github.com/alibaba/GraphScope/blob/main/k8s/precompile.py#L146) is a good starting point.
**Describe alternatives you've considered**
None.
**Additional context**
None.
Contributor guide
Assessment
This issue has not been assessed yet.