mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 05:34:58 +00:00
Toolchain: Actually compile the GN binary in BuildGN.sh
The gen.py script only generates the build.ninja file for GN. We have to explicitly build it afterwards. This also sets the executable bit on BuildGN.sh.
This commit is contained in:
parent
1e8004734f
commit
2cb977e368
1 changed files with 2 additions and 0 deletions
2
Toolchain/BuildGN.sh
Normal file → Executable file
2
Toolchain/BuildGN.sh
Normal file → Executable file
|
@ -28,6 +28,8 @@ git fetch origin
|
|||
git checkout $GIT_REV
|
||||
|
||||
./build/gen.py --out-path="$BUILD_DIR" --allow-warnings
|
||||
ninja -C "$BUILD_DIR"
|
||||
|
||||
mkdir -p "$PREFIX_DIR/bin"
|
||||
cp "$BUILD_DIR/gn" "$PREFIX_DIR/bin"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue