diff --git a/gprofiler/__init__.py b/gprofiler/__init__.py index b56a28025..915439823 100644 --- a/gprofiler/__init__.py +++ b/gprofiler/__init__.py @@ -2,4 +2,4 @@ # Copyright (c) Granulate. All rights reserved. # Licensed under the AGPL3 License. See LICENSE.md in the project root for license information. # -__version__ = "1.27.0" +__version__ = "1.28.0" diff --git a/scripts/pyperf_build.sh b/scripts/pyperf_build.sh index 07942a9ec..e577ef60f 100755 --- a/scripts/pyperf_build.sh +++ b/scripts/pyperf_build.sh @@ -17,19 +17,18 @@ else exit 1 fi -if [ "$(uname -m)" = "aarch64" ]; then - exit 0; -fi -git clone --depth 1 -b v1.3.0 https://github.com/Granulate/bcc.git && cd bcc && git reset --hard fa7508600659622eac1fc309c7cdd7700ad2dff4 - -# (after clone, because we copy the licenses) # TODO support aarch64 if [ "$(uname -m)" != "x86_64" ]; then mkdir -p /bcc/root/share/bcc/examples/cpp/ touch /bcc/root/share/bcc/examples/cpp/PyPerf + mkdir -p /bcc/bcc/licenses + touch /bcc/bcc/LICENSE.txt + touch /bcc/bcc/NOTICE exit 0 fi +git clone --depth 1 -b v1.3.0 https://github.com/Granulate/bcc.git && cd bcc && git reset --hard fa7508600659622eac1fc309c7cdd7700ad2dff4 + mkdir build cd build cmake -DPYTHON_CMD=python3 -DINSTALL_CPP_EXAMPLES=y -DCMAKE_INSTALL_PREFIX=/bcc/root -DBCC_CLOADER_KERNEL_HEADERLESS=1 .. diff --git a/scripts/pyperf_env.sh b/scripts/pyperf_env.sh index b22e31d8f..e91e7187c 100755 --- a/scripts/pyperf_env.sh +++ b/scripts/pyperf_env.sh @@ -18,8 +18,10 @@ else fi if [ "$(uname -m)" = "aarch64" ]; then + ./bcc_helpers_build.sh # it needs to create dummy files exit 0; fi + apt-get update DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ curl \