-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'unstable' into stringcmdsetbit
- Loading branch information
Showing
83 changed files
with
16,543 additions
and
29 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
Empty file.
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,27 @@ | ||
#!/bin/bash | ||
|
||
BUILD_TIME=$(git log -1 --format=%ai) | ||
BUILD_TIME=${BUILD_TIME: 0: 10} | ||
|
||
COMMIT_ID=$(git rev-parse HEAD) | ||
SHORT_COMMIT_ID=${COMMIT_ID: 0: 8} | ||
|
||
BUILD_TYPE=release | ||
VERBOSE=0 | ||
CMAKE_FLAGS="" | ||
MAKE_FLAGS="" | ||
PREFIX="build" | ||
|
||
if [ -z "$SHORT_COMMIT_ID" ]; then | ||
echo "no git commit id" | ||
SHORT_COMMIT_ID="pikiwidb" | ||
fi | ||
|
||
echo "BUILD_TIME:" $BUILD_TIME | ||
echo "COMMIT_ID:" $SHORT_COMMIT_ID | ||
|
||
echo "BUILD_TYPE:" $BUILD_TYPE | ||
echo "CMAKE_FLAGS:" $CMAKE_FLAGS | ||
echo "MAKE_FLAGS:" $MAKE_FLAGS | ||
|
||
cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBUILD_TIME=$BUILD_TIME -DGIT_COMMIT_ID=$SHORT_COMMIT_ID ${CMAKE_FLAGS} -S . -B ${PREFIX} |
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
Oops, something went wrong.