Merge pull request #280 from openvenues/faster_builds

make -j4 for all builds
This commit is contained in:
Al Barrentine
2017-11-30 14:37:18 -05:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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.