From 6d91df08b53d0b17fa8cd949a3c6b42164c46c8d Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 7 Mar 2023 22:43:37 -0800 Subject: Allow enabling YJIT and RJIT independently (#7474) We used to require MJIT is supported when YJIT is supported. However, now that RJIT dropped some platforms that YJIT supports, it no longer makes sense. We should be able to enable only YJIT, and vice versa. --- .github/workflows/compilers.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index 06ad18085d..7beb6d9624 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -197,8 +197,10 @@ jobs: # - { name: VM_DEBUG_BP_CHECK, env: { cppflags: '-DVM_DEBUG_BP_CHECK' } } # - { name: VM_DEBUG_VERIFY_METHOD_CACHE, env: { cppflags: '-DVM_DEBUG_VERIFY_METHOD_CACHE' } } + - { name: enable-yjit, env: { append_configure: '--enable-yjit --disable-rjit' }, rust: true } + - { name: enable-rjit, env: { append_configure: '--enable-rjit --disable-yjit' } } + - { name: YJIT_FORCE_ENABLE, env: { cppflags: '-DYJIT_FORCE_ENABLE' }, rust: true } - { name: RJIT_FORCE_ENABLE, env: { cppflags: '-DRJIT_FORCE_ENABLE' } } - - { name: YJIT_FORCE_ENABLE, env: { cppflags: '-DYJIT_FORCE_ENABLE' } } name: ${{ matrix.entry.name }} runs-on: ubuntu-latest @@ -222,6 +224,9 @@ jobs: with: path: src/.downloaded-cache key: downloaded-cache + - name: Install Rust + if: ${{ matrix.entry.rust }} + run: sudo apt-get update && sudo apt install -y rustc - name: autogen run: | if [ ! -f ./autogen.sh ]; then -- cgit v1.2.3