Use more processors to build base builds.

This commit is contained in:
chriseth 2020-07-15 12:10:56 +02:00
parent 8226f3e804
commit ca313e4003
4 changed files with 8 additions and 2 deletions

View File

@ -407,8 +407,11 @@ jobs:
- persist_to_workspace: *artifacts_executables - persist_to_workspace: *artifacts_executables
b_ubu: &build_ubuntu2004 b_ubu: &build_ubuntu2004
resource_class: xlarge
docker: docker:
- image: ethereum/solidity-buildpack-deps:ubuntu2004-<< pipeline.parameters.ubuntu-2004-docker-image-rev >> - image: ethereum/solidity-buildpack-deps:ubuntu2004-<< pipeline.parameters.ubuntu-2004-docker-image-rev >>
environment:
MAKEFLAGS: -j 10
steps: steps:
- checkout - checkout
- run: *run_build - run: *run_build
@ -583,9 +586,11 @@ jobs:
- store_artifacts: *artifacts_test_results - store_artifacts: *artifacts_test_results
b_ems: b_ems:
resource_class: xlarge
docker: docker:
- image: ethereum/solidity-buildpack-deps:emsdk-1.39.15-2 - image: ethereum/solidity-buildpack-deps:emsdk-1.39.15-2
environment: environment:
MAKEFLAGS: -j 10
TERM: xterm TERM: xterm
steps: steps:
- checkout - checkout

View File

@ -47,6 +47,7 @@ env:
- SOLC_TESTS=On - SOLC_TESTS=On
- SOLC_STOREBYTECODE=Off - SOLC_STOREBYTECODE=Off
- SOLC_DOCKER=Off - SOLC_DOCKER=Off
- MAKEFLAGS="-j 4"
matrix: matrix:
include: include:

View File

@ -20,4 +20,4 @@ cd build
# shellcheck disable=SC2086 # shellcheck disable=SC2086
cmake .. -DCMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:-Release}" $CMAKE_OPTIONS -G "Unix Makefiles" cmake .. -DCMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:-Release}" $CMAKE_OPTIONS -G "Unix Makefiles"
make -j 4 make

View File

@ -53,7 +53,7 @@ cmake \
-DBoost_USE_STATIC_RUNTIME=1 \ -DBoost_USE_STATIC_RUNTIME=1 \
-DTESTS=0 \ -DTESTS=0 \
.. ..
make -j 4 soljson make soljson
# Patch soljson.js for backwards compatibility. # Patch soljson.js for backwards compatibility.
# TODO: remove this with 0.7. # TODO: remove this with 0.7.
# "viiiii" encodes the signature of the callback function. # "viiiii" encodes the signature of the callback function.