Sha256: f7a9aa21f3ba55955f145a35554ed20b61b6a4ea41cc14b3b89c5647046ac75e
Contents?: true
Size: 1.32 KB
Versions: 2
Compression:
Stored size: 1.32 KB
Contents
# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure('2') do |config| config.vm.box = 'ubuntu/xenial64' config.vm.provider 'virtualbox' do |vb| vb.memory = '4096' vb.cpus = 2 end config.vm.provision 'shell', inline: <<-SHELL export INSTALL_PREFIX=/usr/local sudo apt update sudo apt install -y gcc g++ cmake cmake-data libopencv-dev sudo apt install -y ruby-dev ruby-rmagick sudo gem install bundler rake-compiler # protobuf sudo apt install -y protobuf-compiler libprotobuf-dev # mkl-dnn cd git clone https://github.com/01org/mkl-dnn.git cd mkl-dnn/scripts && bash ./prepare_mkl.sh && cd .. sed -i 's/add_subdirectory(examples)//g' CMakeLists.txt sed -i 's/add_subdirectory(tests)//g' CMakeLists.txt mkdir -p build && cd build && cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX .. && make sudo make install # Menoh cd git clone https://github.com/pfnet-research/menoh.git cd menoh sed -i 's/add_subdirectory(example)//g' CMakeLists.txt sed -i 's/add_subdirectory(test)//g' CMakeLists.txt mkdir -p build && cd build && cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX .. && make sudo make install # menoh-ruby export LD_LIBRARY_PATH=${INSTALL_PREFIX}/lib:$LD_LIBRARY_PATH cd /vagrant rake sudo rake install SHELL end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
menoh-1.0.1 | Vagrantfile |
menoh-1.0.0 | Vagrantfile |