Skip to content

Commit 03be932

Browse files
committed
Ignore test_unpickle_module_race during BOLT profiling
1 parent 684ece4 commit 03be932

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/reusable-ubuntu.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
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
@@ -84,7 +84,10 @@ jobs:
8484
key: ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ inputs.config_hash }}
8585
- name: Configure CPython out-of-tree
8686
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.
8789
run: >-
90+
PROFILE_TASK='-m test --pgo --ignore test_unpickle_module_race'
8891
../cpython-ro-srcdir/configure
8992
--config-cache
9093
--with-pydebug

0 commit comments

Comments
 (0)