File: build-ruby-yjit

package info (click to toggle)
ruby-build 20241225.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,988 kB
  • sloc: sh: 1,980; makefile: 19; ruby: 14
file content (9 lines) | stat: -rwxr-xr-x 354 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

set -euxo pipefail

# Building Ruby with YJIT requires rustc, so this test ensures the Rust
# toolchain functions as expected.

ruby-build $(cat debian/tests/latest-version) "$AUTOPKGTEST_TMP" -- --with-yjit
RUBY_YJIT_ENABLE=1 "$AUTOPKGTEST_TMP"/bin/ruby --version | tee "$AUTOPKGTEST_ARTIFACTS"/ruby-yjit-version.txt | grep '+YJIT'