Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 3 additions & 22 deletions packages/c/crystal/abi_symbols
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
crystal:*Fiber::swapcontext<Pointer(Fiber::Context), Pointer(Fiber::Context)>:Nil
crystal:*Mutex#lock_slow:Nil
crystal::symbol_table
crystal:Colorize::enabled
crystal:Crystal::AtExitHandlers::handlers
crystal:Crystal::CacheDir::instance
crystal:Crystal::Config::host_target
crystal:Crystal::CrystalLibraryPath::paths
crystal:Crystal::Hasher::seed
crystal:Crystal::Once::operations
crystal:Crystal::Once::spin
crystal:Crystal::Scheduler::workers
crystal:Crystal::System::Random::urandom
crystal:Crystal::System::Signal::child_handler
crystal:Crystal::System::Thread::current_thread
crystal:Exception::CallStack::dwarf_function_names
crystal:Exception::CallStack::dwarf_line_numbers
crystal:Fiber::fibers
crystal:GC::curr_push_other_roots
crystal:GC::lock
crystal:GC::prev_push_other_roots
crystal:Int128::MAX
crystal:Int128::MIN
crystal:LLVM::initialized_aarch64
crystal:LLVM::initialized_arm
crystal:LLVM::initialized_avr
Expand All @@ -26,8 +23,6 @@ crystal:LLVM::initialized_x86
crystal:Regex::PCRE2::match_context
crystal:Thread::threads
crystal:Time::Location::local
crystal:UInt128::MAX
crystal:UInt128::MIN
crystal:Unicode::alternate_ranges
crystal:Unicode::casefold_ranges
crystal:Unicode::category_Cc
Expand All @@ -53,20 +48,6 @@ crystal:Unicode::special_cases_titlecase
crystal:Unicode::special_cases_upcase
crystal:Unicode::upcase_ranges
crystal:_IO_stdin_used
crystal:__crystal_get_exception
crystal:__crystal_main
crystal:__crystal_malloc
crystal:__crystal_malloc64
crystal:__crystal_malloc_atomic
crystal:__crystal_malloc_atomic64
crystal:__crystal_once
crystal:__crystal_once_init
crystal:__crystal_personality
crystal:__crystal_raise
crystal:__crystal_raise_overflow
crystal:__crystal_raise_string
crystal:__crystal_realloc
crystal:__crystal_realloc64
crystal:__data_start
crystal:__divti3
crystal:__fixdfti
Expand Down
2 changes: 0 additions & 2 deletions packages/c/crystal/abi_used_libs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
ld-linux-x86-64.so.2
libLLVM.so.19.1
libc.so.6
libevent-2.1.so.7
libevent_pthreads-2.1.so.7
libffi.so.8
libgc.so.1
libgcc_s.so.1
Expand Down
25 changes: 14 additions & 11 deletions packages/c/crystal/abi_used_symbols
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ libLLVM.so.19.1:LLVMFloatTypeInContext
libLLVM.so.19.1:LLVMFunctionType
libLLVM.so.19.1:LLVMGetArrayLength
libLLVM.so.19.1:LLVMGetBasicBlockName
libLLVM.so.19.1:LLVMGetBasicBlockParent
libLLVM.so.19.1:LLVMGetBufferSize
libLLVM.so.19.1:LLVMGetBufferStart
libLLVM.so.19.1:LLVMGetCurrentDebugLocation
Expand Down Expand Up @@ -167,6 +168,7 @@ libLLVM.so.19.1:LLVMGetTypeContext
libLLVM.so.19.1:LLVMGetTypeKind
libLLVM.so.19.1:LLVMGetValueName2
libLLVM.so.19.1:LLVMGetVectorSize
libLLVM.so.19.1:LLVMGetVersion
libLLVM.so.19.1:LLVMInitializeAArch64AsmParser
libLLVM.so.19.1:LLVMInitializeAArch64AsmPrinter
libLLVM.so.19.1:LLVMInitializeAArch64Target
Expand Down Expand Up @@ -209,6 +211,7 @@ libLLVM.so.19.1:LLVMModuleCreateWithNameInContext
libLLVM.so.19.1:LLVMNormalizeTargetTriple
libLLVM.so.19.1:LLVMOffsetOfElement
libLLVM.so.19.1:LLVMParseBitcodeInContext2
libLLVM.so.19.1:LLVMParseCommandLineOptions
libLLVM.so.19.1:LLVMPointerTypeInContext
libLLVM.so.19.1:LLVMPositionBuilderAtEnd
libLLVM.so.19.1:LLVMPrintModuleToFile
Expand Down Expand Up @@ -269,6 +272,10 @@ libc.so.6:dlerror
libc.so.6:dlopen
libc.so.6:dlsym
libc.so.6:dup2
libc.so.6:epoll_create1
libc.so.6:epoll_ctl
libc.so.6:epoll_wait
libc.so.6:eventfd
libc.so.6:execvp
libc.so.6:exit
libc.so.6:fchmod
Expand All @@ -284,6 +291,8 @@ libc.so.6:getenv
libc.so.6:getpeername
libc.so.6:getpid
libc.so.6:getpwuid_r
libc.so.6:getrandom
libc.so.6:getrlimit
libc.so.6:getsockname
libc.so.6:getuid
libc.so.6:iconv
Expand Down Expand Up @@ -325,10 +334,8 @@ libc.so.6:pthread_sigmask
libc.so.6:read
libc.so.6:readdir
libc.so.6:realpath
libc.so.6:recv
libc.so.6:rename
libc.so.6:rmdir
libc.so.6:send
libc.so.6:setenv
libc.so.6:setsockopt
libc.so.6:sigaction
Expand All @@ -342,22 +349,16 @@ libc.so.6:signal
libc.so.6:socket
libc.so.6:strcmp
libc.so.6:strlen
libc.so.6:strtod
libc.so.6:strtof
libc.so.6:tcgetattr
libc.so.6:tcsetattr
libc.so.6:timerfd_create
libc.so.6:timerfd_settime
libc.so.6:ttyname_r
libc.so.6:unlink
libc.so.6:unsetenv
libc.so.6:utimes
libc.so.6:utimensat
libc.so.6:waitpid
libc.so.6:write
libevent-2.1.so.7:event_add
libevent-2.1.so.7:event_base_loop
libevent-2.1.so.7:event_base_new
libevent-2.1.so.7:event_free
libevent-2.1.so.7:event_new
libevent_pthreads-2.1.so.7:evthread_use_pthreads
libffi.so.8:ffi_call
libffi.so.8:ffi_closure_alloc
libffi.so.8:ffi_prep_cif
Expand All @@ -380,6 +381,8 @@ libgc.so.1:GC_general_register_disappearing_link
libgc.so.1:GC_get_heap_usage_safe
libgc.so.1:GC_get_my_stackbottom
libgc.so.1:GC_get_push_other_roots
libgc.so.1:GC_get_suspend_signal
libgc.so.1:GC_get_thr_restart_signal
libgc.so.1:GC_init
libgc.so.1:GC_is_heap_ptr
libgc.so.1:GC_malloc
Expand Down
28 changes: 14 additions & 14 deletions packages/c/crystal/package.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name : crystal
version : 1.14.0
release : 19
version : 1.17.1
release : 20
source :
- https://github.com/crystal-lang/crystal/archive/refs/tags/1.14.0.tar.gz : 85c74d8654a0e111e2eaec6de38470bc9cb6762bc5b799dd3693d18cce4bc807
# - https://github.com/crystal-lang/crystal/releases/download/1.14.0/crystal-1.14.0-1-linux-x86_64-bundled.tar.gz : 9d738dfd870899b418b05b4d1abbe3bde066337aeabaa07f6aa2f7d8c3e3bbcc
- https://github.com/crystal-lang/crystal/archive/refs/tags/1.17.1.tar.gz : f673c09577a7749d06aa56639dcf5f79bdd61ee195ab1c9b445e6f3880bd2910
- https://github.com/crystal-lang/crystal/releases/download/1.17.1/crystal-1.17.1-1-linux-x86_64-bundled.tar.gz: cb24d17927a8dc712aaa2ed1c78cedf4ebf96afc5a1de72b569896e8d8cbc991
homepage : https://crystal-lang.org
license : Apache-2.0
component : programming
Expand All @@ -17,7 +17,7 @@ builddeps :
- pkgconfig(libevent)
- pkgconfig(libxml-2.0)
- pkgconfig(yaml-0.1)
- crystal
# crystal
- llvm-devel
rundeps :
- bdwgc-devel
Expand All @@ -26,26 +26,26 @@ checkdeps :
- git
environment: |
CRYSTAL_OPTS="CRYSTAL_WORKERS=%YJOBS% CRYSTAL_CONFIG_TARGET=x86_64-linux-gnu FLAGS=-Dpreview_mt release=1 interpreter=1"
# setup : |
# # When not bootstrapping comment this out don't delete it. We want to keep the knowledge to delete the static libs
# mkdir crystal-prebuilt
# tar --strip-components=2 -xf $sources/crystal-*-linux-x86_64-bundled.tar.gz -C crystal-prebuilt
# # Prevent it from using the included static libs for bootstrapping
# rm -rv crystal-prebuilt/lib/crystal/*.a
setup : |
# When not bootstrapping comment this out don't delete it. We want to keep the knowledge to delete the static libs
mkdir crystal-prebuilt
tar --strip-components=2 -xf $sources/crystal-*-linux-x86_64-bundled.tar.gz -C crystal-prebuilt
# Prevent it from using the included static libs for bootstrapping
rm -rv crystal-prebuilt/lib/crystal/*.a
build : |
%make \
CRYSTAL=$workdir/crystal-prebuilt/bin/crystal \
CRYSTAL_PATH="lib:$workdir/src" \
CRYSTAL_CONFIG_VERSION="$version" \
CRYSTAL_CONFIG_PATH="lib:%libdir%/crystal/src" \
$CRYSTAL_OPTS
install : |
%make_install \
DATADIR=$installdir%libdir%/crystal \
BINDIR=$installdir/usr/bin \
LIBDIR=$(PREFIX)/lib64 \
PREFIX=/usr \
$CRYSTAL_OPTS

rm -rv $installdir/usr/share/licenses
#rm -rv $installdir/usr/share/licenses
# Currently a bunch of tests fail with -Dpreview_mt which isn't fixed even in master. Since multithreading is more useful to users disable checks for now
# check : |
# rm spec/std/socket/udp_socket_spec.cr # ipv6 UDP sockets don't work in v1.14.0
Expand Down
Loading