Skip to content

Commit

Permalink
Change Perfetto Source to Github (#373)
Browse files Browse the repository at this point in the history
- Current Perfetto source repo is from android.googlesource
        which is censored in China and causes an infinite
        hang when building Omnitrace
- This commit changes the Perfetto source repo to Github which acts
        as a read-only mirror to the googlesource perfetto
        repo.

Co-authored-by: David Galiffi <[email protected]>
  • Loading branch information
jamesxu2 and dgaliffiAMD authored Sep 13, 2024
1 parent 96d7b8f commit 6f22b2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
url = https://github.com/NERSC/timemory.git
[submodule "external/perfetto"]
path = external/perfetto
url = https://android.googlesource.com/platform/external/perfetto
url = https://github.com/google/perfetto.git
[submodule "external/elfio"]
path = external/elfio
url = https://github.com/jrmadsen/ELFIO.git
Expand Down
2 changes: 1 addition & 1 deletion cmake/Packages.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ set(perfetto_DIR ${PROJECT_SOURCE_DIR}/external/perfetto)
omnitrace_checkout_git_submodule(
RELATIVE_PATH external/perfetto
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
REPO_URL https://android.googlesource.com/platform/external/perfetto
REPO_URL https://github.com/google/perfetto.git
REPO_BRANCH v46.0
TEST_FILE sdk/perfetto.cc)

Expand Down

0 comments on commit 6f22b2d

Please sign in to comment.