Skip to content

Commit

Permalink
Cross-compile 32-bit on Ubuntu 22.04. This is a temporary change.
Browse files Browse the repository at this point in the history
Ubuntu-latest has been moved to 24.04. That one uses GCC 13, which
is broken for 32-bit systems:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109504
This bug report says it's fixed in GCC 14. We'll wait for GitHub to
upgrade its GCC version.
  • Loading branch information
crisluengo committed Dec 7, 2024
1 parent 008c186 commit 2ba648a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- os: ubuntu-latest
n_cores: 4
wheel_location: pydip/staging/dist
- os: ubuntu-latest # cross-compile 32-bit
- os: ubuntu-22.04 # cross-compile 32-bit -- TEMPORARILY SET TO 22.04 because LATEST is now 24.04, with GCC-13, which is broken for 32-bit compilation
cross_compile: true
n_cores: 4
dip_cmake_opts: -DCMAKE_C_FLAGS="-m32" -DCMAKE_CXX_FLAGS="-m32" -DDIP_BUILD_DIPVIEWER=Off -DDIP_BUILD_JAVAIO=Off -DDIP_BUILD_PYDIP=Off
Expand Down

0 comments on commit 2ba648a

Please sign in to comment.