move vpython root
This commit is contained in:
parent
94064e733f
commit
8652584587
@ -4,7 +4,6 @@ RED='\033[0;31m'
|
|||||||
NC='\033[0m' # No Color
|
NC='\033[0m' # No Color
|
||||||
|
|
||||||
WORKSPACE=/home/lg/working_dir
|
WORKSPACE=/home/lg/working_dir
|
||||||
|
|
||||||
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$PATH
|
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$PATH
|
||||||
|
|
||||||
sudo apt-get install -y lsof libgoogle-glog-dev libprotobuf17 libgrpc++1 parallel golang-go
|
sudo apt-get install -y lsof libgoogle-glog-dev libprotobuf17 libgrpc++1 parallel golang-go
|
||||||
@ -13,6 +12,9 @@ echo -e ${RED} -------- download mtool ${NC}
|
|||||||
git clone https://github.com/bromite/mtool
|
git clone https://github.com/bromite/mtool
|
||||||
cd mtool
|
cd mtool
|
||||||
make
|
make
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
mkdir $CIPD_CACHE_DIR
|
||||||
|
|
||||||
echo -e ${RED} -------- download goma client ${NC}
|
echo -e ${RED} -------- download goma client ${NC}
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
@ -22,11 +24,6 @@ echo "nomatter" >$WORKSPACE/.debug_auth_file
|
|||||||
sudo cp $WORKSPACE/goma_auth.py $WORKSPACE/goma/
|
sudo cp $WORKSPACE/goma_auth.py $WORKSPACE/goma/
|
||||||
|
|
||||||
echo -e ${RED} -------- prepare vpython virtual environment
|
echo -e ${RED} -------- prepare vpython virtual environment
|
||||||
sudo mkdir -p /github/home/.vpython_cipd_cache
|
rm -rf /tmp/vpython*
|
||||||
sudo chown lg /github/home/.vpython_cipd_cache
|
|
||||||
|
|
||||||
sudo mkdir -p /github/home/.vpython-root
|
|
||||||
sudo chown lg /github/home/.vpython-root
|
|
||||||
|
|
||||||
cd $WORKSPACE/chromium/src
|
cd $WORKSPACE/chromium/src
|
||||||
vpython -vpython-spec .vpython -vpython-log-level debug -vpython-tool install
|
vpython -vpython-spec .vpython -vpython-root . -vpython-log-level debug -vpython-tool install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user