The 2022 binaries link libpcre.so.3, which Debian 13 no longer ships. crystal now comes from the openSUSE repo of the node's Debian release and links with --static, so the result runs on any release; the build runs locally instead of cross-compiling through the build-agent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RywMtsL8qXG7GDY3MHq9Uh
24 lines
821 B
Python
24 lines
821 B
Python
defaults = {
|
|
'apt': {
|
|
'packages': {
|
|
'crystal': {},
|
|
# static linking (crystal build --static)
|
|
'build-essential': {},
|
|
'libgc-dev': {},
|
|
'libpcre2-dev': {},
|
|
'libevent-dev': {},
|
|
},
|
|
'sources': {
|
|
'crystal': {
|
|
# https://software.opensuse.org/download.html?project=devel%3Alanguages%3Acrystal&package=crystal
|
|
# curl -fsSL https://download.opensuse.org/repositories/devel:/languages:/crystal/Debian_13/Release.key
|
|
'urls': {
|
|
f'http://download.opensuse.org/repositories/devel:/languages:/crystal/Debian_{node.os_version[0]}/',
|
|
},
|
|
'suites': {
|
|
'/',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|