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

V2.1 loong64 #245

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

Add support for LoongArch64

8e40aca
Select commit
Loading
Failed to load commit list.
Open

V2.1 loong64 #245

Add support for LoongArch64
8e40aca
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Nov 2, 2024 in 2m 3s

Build Passed

The build passed. This is a change from the previous build, which errored.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #245 V2.1 loong64.
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
417.1 gcc JOBS=3 Linux passed
417.2 gcc JOBS=3 Linux passed
417.3 gcc JOBS=3 Linux passed
417.4 gcc JOBS=3 Linux passed
417.5 gcc JOBS=3 Linux passed
417.6 gcc JOBS=3 Linux passed
417.7 gcc JOBS=3 Linux passed
417.8 gcc JOBS=3 Linux passed
417.9 gcc JOBS=3 Linux passed
417.10 gcc JOBS=3 Linux passed
417.11 gcc JOBS=3 Linux passed
417.12 gcc JOBS=3 Linux passed
417.13 gcc JOBS=3 Linux passed
417.14 gcc JOBS=3 Linux passed
417.15 gcc JOBS=3 Linux passed
417.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"
  ]
}