2021-05-29 23:03:17 +05:30
|
|
|
#!/bin/bash
|
|
|
|
|
2021-05-30 00:05:36 +05:30
|
|
|
echo -e ${RED} -------- set envs ${NC}
|
|
|
|
PATH=$PWD/chromium/src/third_party/llvm-build/Release+Asserts/bin:$PWD/depot_tools/:/usr/local/go/bin:$PATH
|
|
|
|
|
2021-05-29 23:18:33 +05:30
|
|
|
cipd install infra/goma/client/linux-amd64 -root $PWD/goma
|
2021-05-29 23:03:17 +05:30
|
|
|
|
2021-05-29 23:18:33 +05:30
|
|
|
cat "nomatter" >$PWD/.debug_auth_file
|
2021-05-29 23:22:18 +05:30
|
|
|
sudo cp $PWD/bromite-buildtools/goma_auth.py $PWD/goma/
|
2021-05-29 23:03:17 +05:30
|
|
|
|
|
|
|
export GOMA_SERVER_HOST=127.0.0.1
|
|
|
|
export GOMA_SERVER_PORT=5050
|
|
|
|
export GOMA_USE_SSL=false
|
2021-05-29 23:18:33 +05:30
|
|
|
export GOMA_HTTP_AUTHORIZATION_FILE=$PWD/.debug_auth_file
|
2021-05-29 23:03:17 +05:30
|
|
|
export GOMA_HERMETIC=error
|
|
|
|
export GOMA_USE_LOCAL=false
|
|
|
|
export GOMA_FALLBACK=true
|
|
|
|
export GOMA_ARBITRARY_TOOLCHAIN_SUPPORT=true
|
|
|
|
|
2021-05-29 23:18:33 +05:30
|
|
|
$PWD/goma/goma_ctl.py ensure_stop
|
|
|
|
$PWD/goma/goma_ctl.py ensure_start
|