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

cmake: add a proper test to determine if explicit linking against -lc is required #238

Merged
merged 2 commits into from
Feb 10, 2024

cmake: rework -Wl,--no-undefined/-Wl,-undefined,error handling

d39f93f
Select commit
Loading
Failed to load commit list.
Merged

cmake: add a proper test to determine if explicit linking against -lc is required #238

cmake: rework -Wl,--no-undefined/-Wl,-undefined,error handling
d39f93f
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request cancelled Feb 10, 2024 in 2m 14s

Build Canceled

The build canceled, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #238 cmake: add a proper test to determine if explicit linking against -lc is required.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has 21 jobs, running in parallel.

Job Compiler Xcode ENV OS State
1394.1 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.2 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.3 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.4 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.5 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.6 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.7 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.8 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.9 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.10 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.11 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.12 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.13 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.14 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.15 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.16 gcc-4.8 COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.17 clang COVERITY_SCAN_TOKEN=[secure] Linux canceled
1394.18 clang COVERITY_SCAN_TOKEN=[secure] macOS canceled
1394.19 clang xcode13.4 COVERITY_SCAN_TOKEN=[secure] macOS canceled
1394.20 clang xcode12.5 COVERITY_SCAN_TOKEN=[secure] macOS canceled
1394.21 clang COVERITY_SCAN_TOKEN=[secure] freebsd canceled

Build Configuration

Build Option Setting
Language C
Operating System Linux (Xenial)
Build Configuration
{
  "language": "c",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "git": {
    "depth": 5
  },
  "cache": {
    "directories": [
      "$HOME/.cache/pip",
      "$HOME/.conan",
      "/usr/local/Homebrew"
    ]
  },
  "before_cache": [
    "rm -f $HOME/.cache/pip/log/debug.log"
  ],
  "addons": {
    "apt": {
      "sources": [
        {
          "name": "ubuntu-toolchain-r-test"
        }
      ],
      "packages": [
        "gcc-4.8-multilib",
        "linux-libc-dev",
        "g++-4.8",
        "texlive",
        "texinfo",
        "valgrind"
      ]
    },
    "coverity_scan": {
      "project": {
        "name": "$TRAVIS_REPO_SLUG",
        "description": "MATLAB MAT File I/O Library"
      },
      "notification_email": "$COVERITY_SCAN_EMAIL",
      "build_command": "make",
      "branch_pattern": "coverity_scan"
    }
  },
  "env": [
    "global=COVERITY_SCAN_TOKEN=[secure]=COVERITY_SCAN_EMAIL=[secure]=BBTOKEN=[secure]"
  ],
  "jobs": {
    "include": [
      {
        "os": "linux",
        "compiler": "gcc-4.8",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "$TRAVIS_BUILD_DIR/zlib"
          },
          {
            "HDF5_VERSION": "1.14"
          },
          {
            "HDF5_PATCH_VERSION": "3"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "gcc-4.8",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "$TRAVIS_BUILD_DIR/zlib"
          },
          {
            "HDF5_VERSION": "1.12"
          },
          {
            "HDF5_PATCH_VERSION": "3"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "linux",
        "arch": "arm64",
        "compiler": "gcc-4.8",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "$TRAVIS_BUILD_DIR/zlib"
          },
          {
            "HDF5_VERSION": "1.12"
          },
          {
            "HDF5_PATCH_VERSION": "3"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "linux",
        "arch": "s390x",
        "compiler": "gcc-4.8",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "$TRAVIS_BUILD_DIR/zlib"
          },
          {
            "HDF5_VERSION": "1.12"
          },
          {
            "HDF5_PATCH_VERSION": "3"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "gcc-4.8",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "$TRAVIS_BUILD_DIR/zlib"
          },
          {
            "HDF5_VERSION": "1.10"
          },
          {
            "HDF5_PATCH_VERSION": "11"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "gcc-4.8",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "yes"
          },
          {
            "HDF5_VERSION": "1.8"
          },
          {
            "HDF5_PATCH_VERSION": "23"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "gcc-4.8",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "yes"
          },
          {
            "HDF5_VERSION": "1.8"
          },
          {
            "HDF5_PATCH_VERSION": "23"
          },
          {
            "MAX_RANK": "1"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "gcc-4.8",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "no"
          },
          {
            "HDF5_VERSION": "1.8"
          },
          {
            "HDF5_PATCH_VERSION": "23"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "gcc-4.8",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "no"
          },
          {
            "WITH_ZLIB": "yes"
          },
          {
            "HDF5_VERSION": "1.8"
          },
          {
            "HDF5_PATCH_VERSION": "23"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "gcc-4.8",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "no"
          },
          {
            "WITH_ZLIB": "no"
          },
          {
            "HDF5_VERSION": "1.8"
          },
          {
            "HDF5_PATCH_VERSION": "23"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "gcc-4.8",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "no"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "yes"
          },
          {
            "HDF5_VERSION": "1.8"
          },
          {
            "HDF5_PATCH_VERSION": "23"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "gcc-4.8",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "no"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "no"
          },
          {
            "HDF5_VERSION": "1.8"
          },
          {
            "HDF5_PATCH_VERSION": "23"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "gcc-4.8",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "no"
          },
          {
            "ENABLE_MAT73": "no"
          },
          {
            "WITH_ZLIB": "yes"
          },
          {
            "HDF5_VERSION": "1.8"
          },
          {
            "HDF5_PATCH_VERSION": "23"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "gcc-4.8",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "no"
          },
          {
            "ENABLE_MAT73": "no"
          },
          {
            "WITH_ZLIB": "no"
          },
          {
            "HDF5_VERSION": "1.8"
          },
          {
            "HDF5_PATCH_VERSION": "23"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "gcc-4.8",
        "env": [
          {
            "USE_CMAKE": "yes"
          },
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "yes"
          },
          {
            "HDF5_VERSION": "1.10"
          },
          {
            "HDF5_PATCH_VERSION": "10"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "gcc-4.8",
        "env": [
          {
            "PATH": "/opt/python/3.7.1/bin:$PATH"
          },
          {
            "USE_CMAKE": "yes"
          },
          {
            "USE_CONAN": "yes"
          },
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "yes"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "clang",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "yes"
          },
          {
            "HDF5_VERSION": "1.8"
          },
          {
            "HDF5_PATCH_VERSION": "23"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "osx",
        "compiler": "clang",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "yes"
          },
          {
            "HDF5_VERSION": "1.8"
          },
          {
            "HDF5_PATCH_VERSION": "23"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      },
      {
        "os": "osx",
        "osx_image": "xcode13.4",
        "compiler": "clang",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "/usr/local/opt/zlib"
          },
          {
            "MAX_RANK": "3"
          },
          {
            "HDF5_VERSION": "foo"
          },
          {
            "HDF5_PATCH_VERSION": "bar"
          },
          {
            "HOMEBREW_DEPLOY": "yes"
          },
          {
            "HOMEBREW_NO_ANALYTICS": "1"
          }
        ]
      },
      {
        "os": "osx",
        "osx_image": "xcode12.5",
        "compiler": "clang",
        "env": [
          {
            "USE_CMAKE": "yes"
          },
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "yes"
          },
          {
            "WITH_ZLIB": "yes"
          }
        ]
      },
      {
        "os": "freebsd",
        "compiler": "clang",
        "env": [
          {
            "ENABLE_EXTENDED_SPARSE": "yes"
          },
          {
            "ENABLE_MAT73": "no"
          },
          {
            "WITH_ZLIB": "no"
          },
          {
            "HDF5_VERSION": "1.8"
          },
          {
            "HDF5_PATCH_VERSION": "23"
          },
          {
            "MAX_RANK": "3"
          }
        ]
      }
    ]
  },
  "before_install": [
    "bash ./.ci/travis_before_install.sh || travis_terminate 1;"
  ],
  "install": [
    "bash ./.ci/travis_install.sh || travis_terminate 1;"
  ],
  "before_script": [
    "bash ./.ci/travis_before_script.sh || travis_terminate 1;"
  ],
  "script": [
    "bash ./.ci/travis_script.sh || travis_terminate 1;"
  ],
  "after_success": [
    "bash ./.ci/travis_after_success.sh || travis_terminate 1;"
  ],
  "notifications": {
    "email": [
      {
        "enabled": false
      }
    ]
  }
}