File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 3939 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
4040 - name : Install dependencies
4141 run : sudo ./.github/workflows/posix-deps-apt.sh
42- - name : Install Clang
42+ - name : Install Clang and BOLT
4343 if : ${{ fromJSON(inputs.bolt-optimizations) }}
4444 run : |
4545 sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh 19
8282 with :
8383 path : ${{ env.CPYTHON_BUILDDIR }}/config.cache
8484 key : ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ inputs.config_hash }}
85+ - name : Configure optimization profiling task
86+ if : ${{ fromJSON(inputs.bolt-optimizations) }}
87+ # `test_unpickle_module_race` writes to the source directory, which is
88+ # read-only during builds — so we exclude it for now.
89+ run : echo "PROFILE_TASK='-m test --pgo --ignore test_unpickle_module_race --timeout=$(TESTTIMEOUT)' >> $GITHUB_ENV"
8590 - name : Configure CPython out-of-tree
8691 working-directory : ${{ env.CPYTHON_BUILDDIR }}
8792 run : >-
You can’t perform that action at this time.
0 commit comments