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

Reenable staticx for arm #806

Merged
merged 8 commits into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from 4 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
3 changes: 2 additions & 1 deletion gprofiler/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

Jongy marked this conversation as resolved.
Show resolved Hide resolved
#
# Copyright (c) Granulate. All rights reserved.
# Licensed under the AGPL3 License. See LICENSE.md in the project root for license information.
#
__version__ = "1.29.0"
__version__ = "1.30.0-test-static-arm"
Jongy marked this conversation as resolved.
Show resolved Hide resolved
6 changes: 2 additions & 4 deletions pyi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,8 @@ COPY ./scripts/list_needed_libs.sh ./scripts/list_needed_libs.sh
# using scl here to get the proper LD_LIBRARY_PATH set
# hadolint ignore=SC2046,SC2086
Jongy marked this conversation as resolved.
Show resolved Hide resolved
RUN set -e; \
if [ $(uname -m) != "aarch64" ]; then \
LIBS=$(./scripts/list_needed_libs.sh) && \
staticx $LIBS dist/gprofiler dist/gprofiler ; \
fi
LIBS=$(./scripts/list_needed_libs.sh) && \
staticx $LIBS dist/gprofiler dist/gprofiler
Jongy marked this conversation as resolved.
Show resolved Hide resolved

FROM scratch AS export-stage

Expand Down