From: henrique Date: Wed, 11 Jun 2014 07:26:01 +0000 (+0200) Subject: THRIFT-2571 Simplify cross compilation using CMake X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=bbac92453b4e89fe097a13bf5a1e358dab60b0bd;p=common%2Fthrift.git THRIFT-2571 Simplify cross compilation using CMake Patch: Pascal Bach This closes #137 ---- --- bbac92453b4e89fe097a13bf5a1e358dab60b0bd diff --cc .travis.yml index 9bd9dfad,d40e81cd..d54acc42 --- a/.travis.yml +++ b/.travis.yml @@@ -68,8 -69,10 +68,10 @@@ install script: # TODO: fix these languages - sh configure --without-erlang --without-haskell --without-python --without-go --without-lua - - make -j$NUM_CPU && make dist - - make cross -j$NUM_CPU + - make -j2 && make dist + - make cross -j2 - sh bootstrap.sh ; sh contrib/mingw-cross-compile.sh + - mkdir build_native && cd build_native && cmake ../compiler/cpp/ && make; cd .. + - mkdir build_mingw32 && cd build_mingw32 && cmake -DCMAKE_TOOLCHAIN_FILE=../contrib/mingw32-toolchain.cmake ../compiler/cpp/ && make; cd .. # TODO: add these steps # - sh bootstrap.sh ; dpkg-buildpackage -tc