Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
git clone https://github.com/apache/madlib.git
cd madlib
git checkout madlib2-master
#source GPDB7 environment
source $GPHOME/greenplum_path.sh
rm -rf $GPHOME/lib/python/yaml/
# Uninstall libboost to avoid version conflict with MADlib and use the one downloaded at build time 
cd build
python3 -m venv venv #only needed once to bootstrap virtual env
source venv/bin/activate
pip3 install pyyaml pyxb-x
cmake .. # pass -DCXX11=1 when compiling with OSX 
make -j8 # May cause a failure when trying to download libboost for the first time
         # re-run make if fails
./src/bin/madpack -p greenplum -c /<database> install

...