Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Tianon Gravi <[email protected]>
  • Loading branch information
artizirk and tianon authored Jan 17, 2025
1 parent 8938486 commit b2da2a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile-linux.template
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ RUN set -eux; \
{{ ) else "" end -}}
{{
# Enabling frame-pointer only makes sense for Python 3.12 and newer as those have perf profiler support
# https://docs.python.org/3.12/howto/perf_profiling.html
if ["3.9", "3.10", "3.11"] | any(. == rcVersion) then "" else (
if rcVersion | IN("3.9", "3.10", "3.11") then "" else (
-}}
# https://docs.python.org/3.12/howto/perf_profiling.html
EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \
{{ ) end -}}
make -j "$nproc" \
Expand Down

0 comments on commit b2da2a9

Please sign in to comment.