Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RISC-V 64 Support for LuaJIT v2.1 #236

Open
wants to merge 22 commits into
base: v2.1-agentzh
Choose a base branch
from

riscv(interp): strip excessive extended branch (^B+J)

ea214b2
Select commit
Loading
Failed to load commit list.
Open

Add RISC-V 64 Support for LuaJIT v2.1 #236

riscv(interp): strip excessive extended branch (^B+J)
ea214b2
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Jan 23, 2025 in 2m 38s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #236 Add RISC-V 64 Support for LuaJIT v2.1.
Any changes that have been made to the v2.1-agentzh branch before the build ran are also included.

Jobs and Stages

This build has 16 jobs, running in parallel.

Job Compiler ENV OS State
432.1 gcc JOBS=3 Linux passed
432.2 gcc JOBS=3 Linux passed
432.3 gcc JOBS=3 Linux passed
432.4 gcc JOBS=3 Linux passed
432.5 gcc JOBS=3 Linux passed
432.6 gcc JOBS=3 Linux passed
432.7 gcc JOBS=3 Linux passed
432.8 gcc JOBS=3 Linux passed
432.9 gcc JOBS=3 Linux passed
432.10 gcc JOBS=3 Linux passed
432.11 gcc JOBS=3 Linux passed
432.12 gcc JOBS=3 Linux passed
432.13 gcc JOBS=3 Linux passed
432.14 gcc JOBS=3 Linux passed
432.15 gcc JOBS=3 Linux passed
432.16 gcc JOBS=3 Linux passed

Build Configuration

Build Option Setting
Language C
Operating System Linux (Bionic)
Compiler Version gcc
Build Configuration
{
  "language": "c",
  "os": [
    "linux"
  ],
  "dist": "bionic",
  "sudo": true,
  "branches": {
    "only": [
      "v2.1-agentzh"
    ]
  },
  "arch": [
    "amd64",
    "arm64",
    "s390x",
    "ppc64le"
  ],
  "compiler": [
    "gcc"
  ],
  "addons": {
    "apt": {
      "packages": [
        "axel",
        "cpanminus",
        "libtest-base-perl",
        "libtext-diff-perl",
        "libtest-longstring-perl",
        "liblist-moreutils-perl",
        "libparallel-forkmanager-perl",
        "libgd-dev",
        "libmpc-dev",
        "build-essential",
        "libgtk2.0-dev",
        "valgrind"
      ]
    }
  },
  "env": [
    "global={:JOBS=>\"3\"}={:LUAJIT_PREFIX=>\"/opt/luajit21\"}={:LUAJIT_SYSM_PREFIX=>\"/opt/luajit21-sysm\"}={:LUAJIT_COMMON_XCFLAGS=>\"\\\"-DLUA_USE_APICHECK -DLUA_USE_ASSERT -DLUAJIT_NUMMODE=2 -O1\\\"\"}={:LUAJIT_COMMON_XCFLAGS=>\"$( [ ${TRAVIS_CPU_ARCH} == \\\"amd64\\\" ] && echo \\\"$LUAJIT_COMMON_XCFLAGS -msse4.2\\\" || echo \\\"$LUAJIT_COMMON_XCFLAGS\\\" )\"} jobs={:LUAJIT_XCFLAGS=>\"\\\"$LUAJIT_COMMON_XCFLAGS\\\"\"}={:LUAJIT_XCFLAGS=>\"\\\"-DLUAJIT_ENABLE_LUA52COMPAT $LUAJIT_COMMON_XCFLAGS\\\"\", :LUA52=>\"1\"}={:LUAJIT_XCFLAGS=>\"\\\"-DLUAJIT_USE_VALGRIND -DLUAJIT_USE_SYSMALLOC -DLUAJIT_ENABLE_LUA52COMPAT $LUAJIT_COMMON_XCFLAGS\\\"\", :LUA52=>\"1\", :FLAGS=>\"$( [ ${TRAVIS_CPU_ARCH} != \\\"s390x\\\" ] && echo '-v' )\"}={:LUAJIT_XCFLAGS=>\"\\\"-DLUAJIT_DISABLE_GC64 -DLUAJIT_ENABLE_LUA52COMPAT $LUAJIT_COMMON_XCFLAGS\\\"\", :LUA52=>\"1\"}"
  ],
  "install": [
    "git clone https://github.com/openresty/luajit2-test-suite.git ../luajit2-test-suite"
  ],
  "script": [
    "echo ${LUAJIT_COMMON_XCFLAGS}",
    "valgrind --version",
    "/usr/bin/env perl $(command -v cpanm) --sudo --notest IPC::Run3 Test::Base Test::LongString Parallel::ForkManager  > build.log 2>&1 || (cat build.log && exit 1)",
    "cd ../luajit2",
    "make -j$JOBS CCDEBUG=-g Q= PREFIX=$LUAJIT_PREFIX CC=$CC XCFLAGS=\"$LUAJIT_XCFLAGS\" > build.log 2>&1 || (cat build.log && exit 1)",
    "sudo make install PREFIX=$LUAJIT_PREFIX > build.log 2>&1 || (cat build.log && exit 1)",
    "if [ ${TRAVIS_CPU_ARCH} == \"amd64\" ]; then PATH=/opt/luajit21/bin:$PATH prove -I. t; fi",
    "cd ../luajit2-test-suite",
    "./run-tests -j 1 $FLAGS $LUAJIT_PREFIX"
  ]
}