Skip to content

Commit 267417b

Browse files
authored
Merge pull request #1252 from casparvl/rebuild_python_zen4
{2023.06} Rebuild Python 3.10.8 for ctypes fix
2 parents 6dbd25a + 8aecf18 commit 267417b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# 2025.10.16
2+
# Python ctypes relies on LD_LIBRARY_PATH and doesn't respect rpath linking. A prior workaround
3+
# was implemented in EasyBuild in https://github.com/easybuilders/easybuild-easyblocks/pull/3352.
4+
# However, while this fixed ctypes.util.find_library(), a similar issue popped up in ctypes.CLL
5+
# and ctypes.cdll.LoadLibrary https://gitlab.com/eessi/support/-/issues/154
6+
# An easyblock change and patch were implemented for Python.
7+
#
8+
# This rebuild ensures this fix is available for all Python versions based on 12.2.0
9+
# i.e. this rebuild is done for every architecture _except_ zen4, where this toolchain isn't supported
10+
easyconfigs:
11+
- Python-3.10.8-GCCcore-12.2.0-bare:
12+
options:
13+
# See https://github.com/easybuilders/easybuild-easyblocks/pull/3860
14+
# and https://github.com/easybuilders/easybuild-easyblocks/pull/3965
15+
include-easyblocks-from-commit: 3fa0df7414d7d8415fe34f7758649f966322472e
16+
# See https://github.com/easybuilders/easybuild-easyconfigs/pull/23499
17+
from-commit: 08aa521b52c9f83d8df345d083e46d6f304d5641
18+
- Python-3.10.8-GCCcore-12.2.0:
19+
options:
20+
# See https://github.com/easybuilders/easybuild-easyblocks/pull/3860
21+
# and https://github.com/easybuilders/easybuild-easyblocks/pull/3965
22+
include-easyblocks-from-commit: 3fa0df7414d7d8415fe34f7758649f966322472e
23+
# See https://github.com/easybuilders/easybuild-easyconfigs/pull/23499
24+
from-commit: 08aa521b52c9f83d8df345d083e46d6f304d5641

0 commit comments

Comments
 (0)