Skip to content

Commit

Permalink
lto, no pgo (too slow on GH build hosts)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Aug 2, 2023
1 parent c4403af commit 2d84593
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions superchain/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ RUN apt-get update
RUN curl -fSsL "https://pyenv.run" | bash
RUN command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" \
&& pyenv doctor \
&& PYTHON_CONFIGURE_OPTS='--enable-optimizations --with-lto' PROFILE_TASK='-m test.regrtest --pgo -j0' \
pyenv install "${PYTHON_VERSION}" \
&& PYTHON_CONFIGURE_OPTS='--with-lto' pyenv install "${PYTHON_VERSION}" \
&& pyenv global "${PYTHON_VERSION}"
ENV PATH="${PYENV_ROOT}/shims:${PATH}"
RUN python3 -m pip install --no-input --upgrade pip \
Expand Down

0 comments on commit 2d84593

Please sign in to comment.