Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i#5505 kernel memtrace: Add submodule libipt & Initialize submodules all the time #5518

Merged
merged 8 commits into from
Jun 8, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
submodules: true
dolanzhao marked this conversation as resolved.
Show resolved Hide resolved

- name: Fetch Sources
run: |
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "third_party/libipt"]
path = third_party/libipt
url = https://github.com/intel/libipt.git
dolanzhao marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion api/docs/building.dox
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ To build DynamoRIO on Linux, use the following commands as a guide. This builds
# other distributions (in particular, use "cmake3" for Ubuntu Trusty).
$ sudo apt-get install cmake g++ g++-multilib doxygen git zlib1g-dev libunwind-dev libsnappy-dev liblz4-dev
# Get sources.
$ git clone https://github.com/DynamoRIO/dynamorio.git
$ git clone --recurse https://github.com/DynamoRIO/dynamorio.git
dolanzhao marked this conversation as resolved.
Show resolved Hide resolved
# Make a separate build directory. Building in the source directory is not
# supported.
$ cd dynamorio && mkdir build && cd build
Expand Down
3 changes: 3 additions & 0 deletions make/git/devsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ git config alias.pullall "!myf() { make/git/git_pullall.sh \"\$@\"; }; myf"
# Commit template
git config commit.template make/git/commit-template.txt

# Update and initialize submodules
git submodule update --init --recursive

# Set up hooks
cp make/git/hook-pre-commit-launch.sh .git/hooks/pre-commit
cp make/git/hook-commit-msg-launch.sh .git/hooks/commit-msg
Expand Down
2 changes: 2 additions & 0 deletions make/git/git_pullall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ if test -z "${has_remote}"; then
else
dolanzhao marked this conversation as resolved.
Show resolved Hide resolved
echo "First, updating with rebase from remote ${branch}."
git pull --rebase origin ${branch}
echo "\nSecond, updating submodules."
dolanzhao marked this conversation as resolved.
Show resolved Hide resolved
git submodule update --init --recursive
dolanzhao marked this conversation as resolved.
Show resolved Hide resolved
echo -e "\nNow, merging changes from master."
git pull --no-rebase --prune
fi
1 change: 1 addition & 0 deletions third_party/libipt
Submodule libipt added at c848a8