This reverts commit 6761814f14
.
This commit is contained in:
parent
87e20f2b97
commit
38ab829ea6
2 changed files with 7 additions and 4 deletions
|
@ -295,7 +295,11 @@ step-setup-goma-for-build: &step-setup-goma-for-build
|
||||||
run:
|
run:
|
||||||
name: Setup Goma
|
name: Setup Goma
|
||||||
command: |
|
command: |
|
||||||
|
if [ "`uname`" == "Linux" ]; then
|
||||||
echo 'export NUMBER_OF_NINJA_PROCESSES=300' >> $BASH_ENV
|
echo 'export NUMBER_OF_NINJA_PROCESSES=300' >> $BASH_ENV
|
||||||
|
else
|
||||||
|
echo 'export NUMBER_OF_NINJA_PROCESSES=25' >> $BASH_ENV
|
||||||
|
fi
|
||||||
if [ ! -z "$RAW_GOMA_AUTH" ]; then
|
if [ ! -z "$RAW_GOMA_AUTH" ]; then
|
||||||
echo $RAW_GOMA_AUTH > ~/.goma_oauth2_config
|
echo $RAW_GOMA_AUTH > ~/.goma_oauth2_config
|
||||||
fi
|
fi
|
||||||
|
@ -303,7 +307,7 @@ step-setup-goma-for-build: &step-setup-goma-for-build
|
||||||
cd build-tools
|
cd build-tools
|
||||||
npm install
|
npm install
|
||||||
mkdir third_party
|
mkdir third_party
|
||||||
node -e "require('./src/utils/goma.js').downloadAndPrepare({ gomaOneForAll: true })"
|
node -e "require('./src/utils/goma.js').downloadAndPrepare()"
|
||||||
node -e "require('./src/utils/goma.js').ensure()"
|
node -e "require('./src/utils/goma.js').ensure()"
|
||||||
echo 'export GN_GOMA_FILE='`node -e "console.log(require('./src/utils/goma.js').gnFilePath)"` >> $BASH_ENV
|
echo 'export GN_GOMA_FILE='`node -e "console.log(require('./src/utils/goma.js').gnFilePath)"` >> $BASH_ENV
|
||||||
echo 'export LOCAL_GOMA_DIR='`node -e "console.log(require('./src/utils/goma.js').dir)"` >> $BASH_ENV
|
echo 'export LOCAL_GOMA_DIR='`node -e "console.log(require('./src/utils/goma.js').dir)"` >> $BASH_ENV
|
||||||
|
|
|
@ -141,8 +141,7 @@ build_script:
|
||||||
- cd build-tools
|
- cd build-tools
|
||||||
- npm install
|
- npm install
|
||||||
- mkdir third_party
|
- mkdir third_party
|
||||||
- ps: >-
|
- node -e "require('./src/utils/goma.js').downloadAndPrepare()"
|
||||||
node -e "require('./src/utils/goma.js').downloadAndPrepare({ gomaOneForAll: true })"
|
|
||||||
- ps: $env:GN_GOMA_FILE = node -e "console.log(require('./src/utils/goma.js').gnFilePath)"
|
- ps: $env:GN_GOMA_FILE = node -e "console.log(require('./src/utils/goma.js').gnFilePath)"
|
||||||
- ps: $env:LOCAL_GOMA_DIR = node -e "console.log(require('./src/utils/goma.js').dir)"
|
- ps: $env:LOCAL_GOMA_DIR = node -e "console.log(require('./src/utils/goma.js').dir)"
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|
Loading…
Reference in a new issue