-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sling-damage-stuff
- Loading branch information
Showing
483 changed files
with
37,352 additions
and
14,225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -exo pipefail | ||
|
||
BUILD_TYPE=${BUILD_TYPE:-"RelWithDeb"} | ||
|
||
NUM_JOBS=${NUM_JOBS:-$(nproc)} | ||
BUILD_PATH=${BUILD_PATH:-"build"} | ||
|
||
echo "Using bash version $BASH_VERSION with $NUM_JOBS jobs" | ||
echo "Creating build files at $BUILD_PATH" | ||
|
||
# We might need binaries installed via pip, so ensure that our personal bin dir is on the PATH | ||
export PATH=$HOME/.local/bin:$PATH | ||
|
||
cmake \ | ||
-B "$BUILD_PATH" \ | ||
-G Ninja \ | ||
-DBACKTRACE=ON \ | ||
-DCMAKE_C_COMPILER=/usr/bin/clang \ | ||
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \ | ||
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ | ||
-DCMAKE_BUILD_TYPE="$BUILD_TYPE" \ | ||
-DTILES="$TILES" \ | ||
-DSOUND="$SOUND" \ | ||
-DLIBBACKTRACE="${LIBBACKTRACE:-0}" \ | ||
-DLINKER=mold \ | ||
-DLUA=ON \ | ||
-DCATA_CLANG_TIDY_PLUGIN=ON | ||
|
||
ninja -C "$BUILD_PATH" -j"$NUM_JOBS" CataAnalyzerPlugin | ||
ln -s "$BUILD_PATH/compile_commands.json" compile_commands.json |
Oops, something went wrong.