mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
cibuild.sh: Fix "Untracked files: tools/ci/bloaty-src/"
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Masayuki Ishikawa
parent
7a9267219c
commit
2392659258
+3
-4
@@ -148,16 +148,15 @@ function bloaty {
|
|||||||
add_path "${tools}"/bloaty/bin
|
add_path "${tools}"/bloaty/bin
|
||||||
|
|
||||||
if [ ! -f "${tools}/bloaty/bin/bloaty" ]; then
|
if [ ! -f "${tools}/bloaty/bin/bloaty" ]; then
|
||||||
git clone --branch main https://github.com/google/bloaty bloaty-src
|
git clone --branch main https://github.com/google/bloaty "${tools}"/bloaty-src
|
||||||
cd bloaty-src
|
cd "${tools}"/bloaty-src
|
||||||
# Due to issues with latest MacOS versions use pinned commit.
|
# Due to issues with latest MacOS versions use pinned commit.
|
||||||
# https://github.com/google/bloaty/pull/326
|
# https://github.com/google/bloaty/pull/326
|
||||||
git checkout 52948c107c8f81045e7f9223ec02706b19cfa882
|
git checkout 52948c107c8f81045e7f9223ec02706b19cfa882
|
||||||
mkdir -p "${tools}"/bloaty
|
mkdir -p "${tools}"/bloaty
|
||||||
cmake -D BLOATY_PREFER_SYSTEM_CAPSTONE=NO -DCMAKE_SYSTEM_PREFIX_PATH="${tools}"/bloaty
|
cmake -D BLOATY_PREFER_SYSTEM_CAPSTONE=NO -DCMAKE_SYSTEM_PREFIX_PATH="${tools}"/bloaty
|
||||||
make install -j 6
|
make install -j 6
|
||||||
cd "${tools}"
|
git clean -xfd
|
||||||
rm -rf bloaty-src
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
command bloaty --version
|
command bloaty --version
|
||||||
|
|||||||
Reference in New Issue
Block a user