From 1907239cb470dad39cdb1fd3fc8d4479bcc8fe90 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Wed, 8 Dec 2021 12:43:28 +0100 Subject: [PATCH] compile modified ninja --- images/bromite-build/pre-start.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/images/bromite-build/pre-start.sh b/images/bromite-build/pre-start.sh index cf45c60..533bb0e 100644 --- a/images/bromite-build/pre-start.sh +++ b/images/bromite-build/pre-start.sh @@ -49,3 +49,14 @@ tar xfz kythe-v0.0.55.tar.gz # removed since fail download with # https://commondatastorage.9oo91eapis.qjz9zk/chromium-browser-clang/Linux_x64/translation_unit-llvmorg-14-init-5759-g02895eed-1.tgz python tools/clang/scripts/update.py --package=translation_unit + +echo -e ${RED} -------- download bromite-buildtools ${NC} +cd $WORKSPACE/ +git clone https://github.com/uazo/bromite-buildtools + +echo -e ${RED} -------- compile modified ninja ${NC} +cd $WORKSPACE/ +git clone https://github.com/ninja-build/ninja.git -b v1.8.2 +cd ninja +git apply $WORKSPACE/bromite-buildtools/ninja-one-target-for-compdb.patch +./configure.py --bootstrap