Mirror of https://github.com/leanprover/lean2 in case it ever disappears
Find a file
Leonardo de Moura 4ccf770b64 Move mpz, mpq and mpbq to numerics directory
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-07-17 14:33:00 -07:00
src Move mpz, mpq and mpbq to numerics directory 2013-07-17 14:33:00 -07:00
.gitignore Add gtags files to .gitignore 2013-07-17 12:40:31 -07:00
LICENSE Add LICENSE file 2013-07-15 18:55:48 -07:00
README Add build instructions. Improve build. 2013-07-16 22:32:21 -07:00

Requirements:

- C++11 compatible compiler 
- GMP (GNU multiprecision library)
  http://gmplib.org/
- (optional) gperftools
  https://code.google.com/p/gperftools/
- cmake
  http://www.cmake.org

Instructions for DEBUG build 
  mkdir -p build/debug
  cd build/debug
  cmake -DCMAKE_BUILD_TYPE=DEBUG ../../src        
  make

Instructions for RELEASE build 
  mkdir -p build/release
  cd build/release
  cmake -DCMAKE_BUILD_TYPE=RELEASE ../../src        
  make

Instructions for installing gcc-4.8 (C++11 compatible) on Ubuntu
Execute:
    sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
    sudo update-alternatives --remove-all gcc 
    sudo update-alternatives --remove-all g++ 
    sudo apt-get update
    sudo apt-get install g++-4.8 -y
    sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y