Skip to content

Commit 8bbf8a3

Browse files
committed
fix: change gcc from 14 to 12 for broad compatibility
Signed-off-by: Pablo Carmona Gonzalez <pablocarmonagonzalez@gmail.com>
1 parent 9a4a745 commit 8bbf8a3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build-wheel-310.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ jobs:
1717
env:
1818
CIBW_BUILD: cp310-manylinux_x86_64
1919
CIBW_BEFORE_ALL: >
20-
yum install -y openblas-devel
20+
yum install -y openblas-devel gcc-toolset-12 &&
21+
source /opt/rh/gcc-toolset-12/enable
22+
CIBW_ENVIRONMENT: >
23+
PATH="/opt/rh/gcc-toolset-12/root/usr/bin:$PATH"
24+
LD_LIBRARY_PATH="/opt/rh/gcc-toolset-12/root/usr/lib64:$LD_LIBRARY_PATH"
25+
CC=/opt/rh/gcc-toolset-12/root/usr/bin/gcc
26+
CXX=/opt/rh/gcc-toolset-12/root/usr/bin/g++
2127
CIBW_BEFORE_BUILD: |
2228
pip install \
2329
"cmake>=4.2.1" \

0 commit comments

Comments
 (0)