Skip to content

Commit e06d6ba

Browse files
committed
The newer Linux has /usr/bin/ninja and does not have python
1 parent 24c53e1 commit e06d6ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/build_Linux.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ if [[ $(uname -m) == "aarch64" ]]; then
3333
yum -y install epel-release && \
3434
yum repolist && \
3535
yum install -y ninja-build && \
36-
ln -s ninja-build /usr/bin/ninja &&
3736
mv depot_tools/ninja depot_tools/ninja.bak
3837
fi
3938

@@ -54,7 +53,7 @@ fi
5453
git clone https://gn.googlesource.com/gn && \
5554
cd gn && \
5655
git checkout fe330c0ae1ec29db30b6f830e50771a335e071fb && \
57-
python build/gen.py && \
56+
python3 build/gen.py && \
5857
ninja -C out gn && \
5958
cd ..
6059

0 commit comments

Comments
 (0)