~hjd/widelands/clang-7

« back to all changes in this revision

Viewing changes to compile.sh

  • Committer: Wideland's Bunnybot
  • Date: 2018-11-01 12:02:56 UTC
  • mfrom: (8893.1.2 restrict_cores)
  • Revision ID: bunnybot@widelands.org-20181101120256-xrwgv465akuefjgv
Merged lp:~widelands-dev/widelands/use_more_processors:
Use more processing units when using the compile script. Defaults to: max. processors -1

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
      cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DOPTION_BUILD_WEBSITE_TOOLS=$BUILD_WEBSITE -DOPTION_BUILD_TRANSLATIONS=$BUILD_TRANSLATIONS -DOPTION_ASAN=$USE_ASAN
200
200
    fi
201
201
 
202
 
    $buildtool
 
202
    $buildtool -j "$(nproc --ignore=1)"
 
203
 
203
204
    return 0
204
205
  }
205
206