#!/bin/sh # Set these according to you local environment. # src_dir shoul point to a tree with following patch applied: # - virtual const Item *cond_push(const Item *cond) { return cond; }; # + virtual const Item *cond_push(const Item *cond) { return NULL; }; src_dir=/net/atum17/export/home2/tmp/jw159207/mysql/repo/mysql-trunk build_dir=/export/home2/tmp/jw159207/mysql/bug58553/build install_dir=/export/home2/tmp/jw159207/mysql/bug58553/install data_dir=/export/home2/tmp/jw159207/mysql/bug58553/data # Should not need to change anything below. mkdir -p ${build_dir} mkdir -p ${install_dir} mkdir -p ${data_dir} cd ${build_dir} echo "Running cmake." cmake ${src_dir} -DCMAKE_BUILD_TYPE=Debug echo "Compiling." make make install DESTDIR=${install_dir} cat > ${data_dir}/my.cnf <