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

Introduce a new feature to use dynamic dispatch to select between ADX and portable implementations at runtime #174

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Add support for `__BLST_DYNAMIC__` to the Go bindings

48c67f9
Select commit
Failed to load commit list.
Open

Introduce a new feature to use dynamic dispatch to select between ADX and portable implementations at runtime #174

Add support for `__BLST_DYNAMIC__` to the Go bindings
48c67f9
Select commit
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Jul 8, 2023 in 4m 41s

Build Failed

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

Details

This is a pull request build.

It is running a build against the merge commit, after merging #174 Introduce a new feature to use dynamic dispatch to select between ADX and portable implementations at runtime.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has three jobs, running in parallel.

Job OS State
621.1 Linux passed
621.2 Linux failed
621.3 Linux passed

Build Configuration

Build Option Setting
Language Rust
Operating System Linux (Xenial)
Build Configuration
{
  "language": "rust",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "branches": {
    "only": [
      "/.*/"
    ]
  },
  "git": {
    "quiet": true
  },
  "arch": [
    "arm64",
    "s390x"
  ],
  "before_script": [
    "lscpu 2>/dev/null && echo --- || true",
    "env | sort"
  ],
  "script": [
    "if [ \"$TRAVIS_LANGUAGE\" = \"rust\" ]; then if [ \"$TRAVIS_OS_NAME\" = \"windows\" ]; then rustup set default-host x86_64-pc-windows-msvc; export ML=-nologo; fi; ( cd bindings/rust; if [ -f target/Cargo.lock ]; then mv -f target/Cargo.lock .; fi; NOW=`date +%s`; REF=.cargo/registry/index/*/.last-updated; THEN=`(stat -c %Y \"$TRAVIS_HOME\"/$REF || stat -f %m \"$TRAVIS_HOME\"/$REF) 2>/dev/null`; if [ $(($NOW - ${THEN:-0})) -gt 604800 ]; then env CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse cargo update; fi; cargo test --release ) fi",
    "if which go > /dev/null 2>&1; then go version; if ! (grep -q -e '^flags.*\\badx\\b' /proc/cpuinfo) 2>/dev/null; then export CGO_CFLAGS=\"-O -D__BLST_PORTABLE__\"; fi; (cd bindings/go; go test -test.v) fi"
  ],
  "notifications": {
    "email": [
      {
        "enabled": false
      }
    ]
  },
  "before_cache": [
    "if [ \"$TRAVIS_LANGUAGE\" = \"rust\" ]; then ( cd bindings/rust; cargo clean -p blst; cargo clean -p blst --release; rm -rf target/.rustc_info.json; rm -rf target/{debug,release}/incremental; mv -f Cargo.lock target ) fi",
    "(cd \"$TRAVIS_HOME\"; rm -rf .cargo/registry/src)",
    "(cd \"$TRAVIS_HOME\"; rm -rf .cargo/registry/index/*/.cache)"
  ],
  "cache": {
    "cargo": true,
    "directories": [
      "bindings/rust/target"
    ]
  },
  "jobs": {
    "include": [
      {
        "os": "linux",
        "arch": "arm64",
        "language": "go"
      }
    ]
  }
}