File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 39
39
run : echo "::add-matcher::.github/problem-matchers/gcc.json"
40
40
- name : Install dependencies
41
41
run : sudo ./.github/workflows/posix-deps-apt.sh
42
- - name : Install Clang
42
+ - name : Install Clang and BOLT
43
43
if : ${{ fromJSON(inputs.bolt-optimizations) }}
44
44
run : |
45
45
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh 19
82
82
with :
83
83
path : ${{ env.CPYTHON_BUILDDIR }}/config.cache
84
84
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"
85
90
- name : Configure CPython out-of-tree
86
91
working-directory : ${{ env.CPYTHON_BUILDDIR }}
87
92
run : >-
You can’t perform that action at this time.
0 commit comments