Skip to content

Commit 3fcbdc8

Browse files
authored
Workaround -Wno-error for GCC 14 (upstream Pytorch) (#2895)
1 parent 0dbc1e3 commit 3fcbdc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/setup-pytorch/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ runs:
120120
cd pytorch
121121
pip install wheel
122122
pip install -r requirements.txt
123-
USE_STATIC_MKL=1 python setup.py bdist_wheel
123+
USE_STATIC_MKL=1 CFLAGS="-Wno-error=maybe-uninitialized" python setup.py bdist_wheel
124124
125125
- name: Install PyTorch (built from source)
126126
if: ${{ inputs.mode == 'source' }}

0 commit comments

Comments
 (0)