Skip to content

Commit

Permalink
Do not set PROFILE_TASK environment variable
Browse files Browse the repository at this point in the history
When this is set, the `--enable-optimizations` option becomes ineffective, as
the profile task step is bypassed.

closes #979
  • Loading branch information
RobertDeRose committed Oct 15, 2024
1 parent 7666104 commit a4fc3b3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile-linux.template
Original file line number Diff line number Diff line change
Expand Up @@ -189,15 +189,13 @@ RUN set -eux; \
make -j "$nproc" \
"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \
"LDFLAGS=${LDFLAGS:-}" \
"PROFILE_TASK=${PROFILE_TASK:-}" \
; \
# https://github.com/docker-library/python/issues/784
# prevent accidental usage of a system installed libpython of the same version
rm python; \
make -j "$nproc" \
"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \
"LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \
"PROFILE_TASK=${PROFILE_TASK:-}" \
python \
; \
make install; \
Expand Down

0 comments on commit a4fc3b3

Please sign in to comment.