Closed sepulworld closed 6 years ago
For this to work the ./build-tokumx.sh script needs to have paths modified to use /vagrant share directory.
set -e
. $HOME/.bash_profile
mkdir -p backup-community/backup/opt pushd backup-community/backup/opt cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/vagrant/mongo/src/third_party/tokubackup -D HOT_BACKUP_LIBNAME=HotBackup -D BACKUP_HAS_PARENT=OFF .. cmake --build . --target install popd
mkdir -p ft-index/opt pushd ft-index/opt cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/vagrant/mongo/src/third_party/tokukv -D BUILD_TESTING=OFF -D USE_VALGRIND=OFF -D USE_BDB=OFF -D TOKU_DEBUG_PARANOID=OFF -D USE_CTAGS=OFF -D USE_ETAGS=OFF -D USE_CSCOPE=OFF -D USE_GTAGS=OFF .. cmake --build . --target install popd
cd mongo scons --cc=gcc-4.7 --cxx=g++-4.7 --mute --release dist
I'll fix this up soon, I'm in the middle of revamping the tokumx build system anyway so I'll get to this at the end.
On Wed, Jan 8, 2014 at 9:58 PM, Zane notifications@github.com wrote:
For this to work the ./build-tokumx.sh script needs to have paths modified to use /vagrant share directory.
!/bin/bash
set -e
. $HOME/.bash_profile
mkdir -p backup-community/backup/opt pushd backup-community/backup/opt cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/vagrant/mongo/src/third_party/tokubackup -D HOT_BACKUP_LIBNAME=HotBackup -D BACKUP_HAS_PARENT=OFF .. cmake --build . --target install popd
mkdir -p ft-index/opt pushd ft-index/opt cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/vagrant/mongo/src/third_party/tokukv -D BUILD_TESTING=OFF -D USE_VALGRIND=OFF -D USE_BDB=OFF -D TOKU_DEBUG_PARANOID=OFF -D USE_CTAGS=OFF -D USE_ETAGS=OFF -D USE_CSCOPE=OFF -D USE_GTAGS=OFF .. cmake --build . --target install popd
cd mongo scons --cc=gcc-4.7 --cxx=g++-4.7 --mute --release dist
— Reply to this email directly or view it on GitHubhttps://github.com/Tokutek/vagrant-tokutek-builder/pull/5#issuecomment-31898726 .
Cheers, Leif
Does this fix #4 ?
Moved the build process to the /vagrant shared volume. This allows for more space that root directory of most box images, and puts the final .tgz on your local system.