Comments (4)
@digoal did you install Xerces and GPOS?
from gporca.
cd ~
tar -zxvf cmake-3.4.1.tar.gz
cd cmake-3.4.1
./configure --prefix=/home/digoal/cmake
make -j 32
make install -j 32
export PATH=/home/digoal/cmake/bin:$PATH
cd ~
git clone https://github.com/greenplum-db/gpos.git
cd gpos
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/home/digoal/gpos_work ../
ctest -j 32
100% tests passed, 0 tests failed out of 45
Total Test time (real) = 5.87 sec
make -j 32
make install -j 32
cd ~
git clone https://github.com/greenplum-db/gporca.git
https://xerces.apache.org/xerces-c/download.cgi
wget http://mirrors.cnnic.cn/apache//xerces/c/3/sources/xerces-c-3.1.2.tar.bz2
tar -jxvf xerces-c-3.1.2.tar.bz2
cd xerces-c-3.1.2
patch -p1 < ~/gporca/patches/xerces-c-gpdb.patch
mkdir build
cd build
../configure --prefix=/home/digoal/gp_xerces --enable-shared
make -j 32
make install -j 32
export PATH=/home/digoal/gp_xerces/bin:$PATH
cd ~/gporca
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/home/digoal/gporca_work
-D XERCES_INCLUDE_DIR=/home/digoal/gp_xerces/include -D XERCES_LIBRARY=/home/digoal/gp_xerces/lib/libxerces-c.so
-D GPOS_INCLUDE_DIR=/home/digoal/gpos_work/include/gpos -D GPOS_LIBRARY=/home/digoal/gpos_work/lib/libgpos.so.1.135
../
from gporca.
Don't use GPOS_INCLUDE_DIR, PREFIX, LIBRARY during build, just use default location. Please follow the README.md file.
Which OS are you using?
from gporca.
@digoal please let me know if this is still an issue and I will re-open it
from gporca.
Related Issues (20)
- make error on aarch64 with gcc 8.3.0 on archlinuxarm 64 HOT 8
- Memory leak when running JoinPlanWithRedistribute.mdp in debug mode
- Incorrect join partition elimination HOT 3
- Long plan generation utilising all available memory HOT 1
- make error on solaris HOT 3
- GPORCA doesn't support aarch64 platform.
- can orca apply to innodb?
- gporca occurs exception when using statistic from numeric(30, 8) column to optimize plan
- clang-format in Allman style always indents the contents of extern "C" blocks in C headers
- no <dxl:DistrOpfamilies> tag in gporca/server/dxl.xsd
- CHistogram should keep track of row count (cardinality)
- Orca optimizer single-threaded vs. multi-threaded HOT 3
- why COptCtxt to tls
- [question] why use `virtual` instead of `override`
- Delegating query optimization task to Orca HOT 1
- Orca - how to use
- Is there any formal grammar for the definition of query/plan?
- Should consider startup cost of inner table in NLJ? HOT 1
- Is a bug of CExpression.cpp:505?
- Incorrect result about group by SQL HOT 1
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 gporca.