# ruby34/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. Presently, "ruby24" is needed to build "ruby34". #--------------------------------------------------------------------- 2. "ruby34" supports a JIT feature. Presently, this package turns the feature on by default. #--------------------------------------------------------------------- 3. If "ruby" 3.0.4 was used, the following type of command produced random "Zlib" buffer errors: gem build *.gemspec The problem with release 3.0.4 may, or may not, have been related to MJIT support. It seems to be gone in "ruby 3.4.X [in which we use YJIT instead]. However, "ruby" 3.4.6 crashes on compiles if RJIT support is built. This isn't a major issue, though, since RJIT is considered experiment- al and YJIT can be used instead. #--------------------------------------------------------------------- [buildtimes] 00.11 hours (or 006.47 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.14 hours (or 008.23 minutes) - ThinkPad W530 i7 4x2 32GB RAM - 64- bit kernel and distro - clang 00.15 hours (or 008.98 minutes) - HP EliteBook 8560w 32GB RAM 00.17 hours (or 010.05 minutes) - ThinkPad W530 i7 4x2 32GB RAM - 64- bit kernel and 32-bit distro #--------------------------------------------------------------------- [settings] compiler = clang exepack = yes license = See "license*.txt" in installed tree licfile = COPYING tmpsize = 239M setpaths = libsodium ruby34 zlib #--------------------------------------------------------------------- [depends] actools db # May not be needed gawk gdbm # May not be needed grep libedit # May not be needed ncurses libsodium openssl readline ruby24 rustc:forward # Optional sed tcltk zlib #--------------------------------------------------------------------- [configure] LIBDIR=$PKGDIR_PROD/lib MANBASE=$PKGDIR_PROD/man PCGDIR=$LIBDIR/pkgconfig mkdir -p $MANBASE $PCGDIR if [ -d $PRODTREE/rustc ]; then . srcpkgpaths rustc YJIT="--enable-yjit" else YJIT="--disable-yjit" fi automake --add-missing --copy 2> /dev/null || true autoreconf -fi bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-rjit \ --enable-shared \ --mandir=$MANBASE \ $YJIT \ --with-baseruby=$PRODTREE/ruby24/bin/ruby \ cppflags="-DMJIT_FORCE_ENABLE" #--------------------------------------------------------------------- [build] if [ -d $PRODTREE/rustc ]; then . srcpkgpaths rustc fi smpmake && make install #--------------------------------------------------------------------- [postbuild] ETCDIR=$PKGDIR_PROD/etc mkdir -p $ETCDIR cd $ETCDIR echo "gem: --no-document" >> gemrc #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = http://www.ruby-lang.org/en/ url_lfs = tbd url_tarball = https://cache.ruby-lang.org/pub/ruby/\ 3.4/ruby-3.4.7.tar.gz #--------------------------------------------------------------------- [history] 170913 Updated from 2.2.7 to 2.4.1 170915 Updated to 2.4.2 171214 Updated to 2.4.3 180323 Patched to build against "libressl" 2.7.0 180329 Updated to 2.4.4 180511 Split into two packages ("ruby24" and "ruby30") 180511 Updated to 180511 ("git" date) 180517 Updated to 180517 180616 Updated to 180616 180715 Updated to 180715 181014 Updated to 181014 181117 Updated to 0cdd45961 ("git" hash) 181229 Updated to 9975d3296 190216 Updated to a7f5badaf 190224 Downgraded to 2.6.0 191009 Updated to 2.6.5 210217 Updated to 2.6.6 210424 Updated to 3.0.1 210912 Updated to 3.0.2 211205 Updated to 3.0.3 250921 Updated to 3.4.6 251008 Updated to 3.4.7