From 93b92d2d7fc44df9900a2abff8094c2c63b4d5de Mon Sep 17 00:00:00 2001 From: jamesxu2 Date: Fri, 13 Sep 2024 15:59:27 -0400 Subject: [PATCH] Change Perfetto Source to Github (#373) - 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 [ROCm/rocprofiler-systems commit: 6f22b2d2e55e2dd9c91b9f1d75eadbd749cd1605] --- projects/rocprofiler-systems/.gitmodules | 2 +- projects/rocprofiler-systems/cmake/Packages.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rocprofiler-systems/.gitmodules b/projects/rocprofiler-systems/.gitmodules index 0e2f857b06..0b1ce3d022 100644 --- a/projects/rocprofiler-systems/.gitmodules +++ b/projects/rocprofiler-systems/.gitmodules @@ -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 diff --git a/projects/rocprofiler-systems/cmake/Packages.cmake b/projects/rocprofiler-systems/cmake/Packages.cmake index c89cdb3220..a391408b62 100644 --- a/projects/rocprofiler-systems/cmake/Packages.cmake +++ b/projects/rocprofiler-systems/cmake/Packages.cmake @@ -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)