File tree 1 file changed +4
-1
lines changed
1 file changed +4
-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
84
84
key : ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ inputs.config_hash }}
85
85
- name : Configure CPython out-of-tree
86
86
working-directory : ${{ env.CPYTHON_BUILDDIR }}
87
+ # `test_unpickle_module_race` writes to the source directory, which is
88
+ # read-only during builds — so we exclude it from profiling with BOLT.
87
89
run : >-
90
+ PROFILE_TASK='-m test --pgo --ignore test_unpickle_module_race'
88
91
../cpython-ro-srcdir/configure
89
92
--config-cache
90
93
--with-pydebug
You can’t perform that action at this time.
0 commit comments