From f207a4680d64ce2dc3ff8945438d9a136249317e Mon Sep 17 00:00:00 2001 From: Al Date: Thu, 30 Nov 2017 14:09:13 -0500 Subject: [PATCH] [docs/build] adding make -j4 as the default for make, including in the Travis/Appveyor builds, should make build times faster --- .travis.yml | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 99882187..ac880b3c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ install: - if [ "$CC" = "gcc" ]; then export CC="gcc-4.8"; fi script: - ./configure --datadir=$(pwd)/data - - make + - make -j4 - if [[ $DICTIONARIES_CHANGED -ne 0 ]]; then ./src/build_address_dictionary; fi; - if [[ $NUMEX_CHANGED -ne 0 ]]; then ./src/build_numex_table; fi; - if [[ $TRANSLIT_CHANGED -ne 0 ]]; then ./src/build_trans_table; fi; diff --git a/README.md b/README.md index 1ce427b8..439443d1 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ git clone https://github.com/openvenues/libpostal cd libpostal ./bootstrap.sh ./configure --datadir=[...some dir with a few GB of space...] -make +make -j4 sudo make install # On Linux it's probably a good idea to run @@ -163,7 +163,7 @@ cd libpostal cp -rf windows/* ./ ./bootstrap.sh ./configure --datadir=[...some dir with a few GB of space...] -make +make -j4 make install ``` Notes: When setting the datadir, the `C:` drive would be entered as `/c`. The libpostal build script automatically add `libpostal` on the end of the path, so '/c' would become `C:\libpostal\` on Windows.