mirror of
https://github.com/amd/blis.git
synced 2026-05-11 01:30:00 +00:00
* Add custom SDE cpuid files. * Set up testing of all x86_64 architectures (except bulldozer) using SDE. * Update .travis.yml [ci skip] * Update do_testsuite.sh [ci skip] * Updated .travis.yml with my secret token. Details: - Replaced Devin's temporary secret token with my own, which is used by Travis when accessing the Intel SDE via Dropbox. * Work around CPUID dispatch in glibc/libm by patching ld.so. * Detect path of loader at runtime. * Attempt to make SDE run on Travis * Allow unpatched ld.so if we don't know how to patch it. I *think* this only happens for older glibc without the multi-arch stuff (e.g. Ubuntu 14.04 on Travis), but who knows? * Upgrade Travis to gcc-6 and binutils-2.26. * Try to get Travis to use the right assembler. * Apparently you need ld-2.26 too. * Try to also patch ld.so from Ubuntu 14.04. * Take the nuclear option. * Account for non-absolute dependencies in ldd output. * String manipulation fail. * Update patch-ld-so.py * Add Zen to SDE testing. * Removed dead variable from travis/do_testsuite.sh. Details: - Removed 'BLIS_ENABLE_TEST_OUTPUT=yes' from make invocations in travis/do_testsuite.sh. This variable is no longer present in the BLIS build system (if it ever was?), and therefore has no effect.
63 lines
2.4 KiB
YAML
63 lines
2.4 KiB
YAML
language: c
|
|
sudo: required
|
|
dist: trusty
|
|
env:
|
|
global:
|
|
secure: "Ty3PM1xGhXwxfJG6YyY9bUZyXzw98ekHxQEqU9VnrMXTZb28IxfocPCXHjL34r9HTGosO5Pmierhal1Cs3ZKE5ZAJqJhCfck+kwlH21Uay5CNYglDtSmy2qxtbbDG4AxpEZ1UKlIZr1pNh/x+pRemSmnMEnQp/E7QJqdkhm4+aMX2bWKyLPtrdL+B9QXLVT2nT6/Fw3i05aBhpcFJpSPfvYX2KoCZYdJOSKcKci4T8nAfP/c0olkz+jAkBZxZFgO9Ptrt/lvHtVPrkh5o29GvHg2i/4vucbsMltoxlV31/2eYpdr17Ngtt41MMVn2fHV4lVhLmENc04nlm084fBtg73T6b8hNy5JlcA44xI/UrPJsQAJ+0A0ds9BbBQKPxOmaF/O8WGXhwiwdKT6DGS9lj05f3S+yZfeNE3pQhLEcvwXLO5SW3VvKXMj0t/lZyG+XCkvFjD7KEPQV4g+BZc2zzD9TwDx3ydn8Uzd6zZlq1erQUzCnODP24wuwfrNP8nqxFYG0VtI8oZW62IC9U2hcnAF5QNXXW3yDYD65k3BHbigfI28gu9iO9G8RxOglR27J7Whdqkqw3AMRaqyHt2tdbz7tM2dLZ0EatT5m8esjC+LP4EshW9C59jP2U9vJ/94YEgOfwiqk8+e6fL/7dJvOumbwu1RclRI9DS88PPYb3Q="
|
|
matrix:
|
|
include:
|
|
# full testsuite
|
|
- os: linux
|
|
compiler: gcc
|
|
env: OOT=0 TEST=1 SDE=0 THR="none" CONF="auto"
|
|
# test x86_64 ukrs with SDE
|
|
- os: linux
|
|
compiler: gcc
|
|
env: OOT=0 TEST=0 SDE=1 THR="none" CONF="x86_64"
|
|
# openmp build
|
|
- os: linux
|
|
compiler: gcc
|
|
env: OOT=0 TEST=0 SDE=0 THR="openmp" CONF="auto"
|
|
# pthreads build
|
|
- os: linux
|
|
compiler: gcc
|
|
env: OOT=0 TEST=0 SDE=0 THR="pthreads" CONF="auto"
|
|
# out-of-tree build
|
|
- os: linux
|
|
compiler: gcc
|
|
env: OOT=1 TEST=0 SDE=0 THR="none" CONF="auto"
|
|
# clang build
|
|
- os: linux
|
|
compiler: clang
|
|
env: OOT=0 TEST=0 SDE=0 THR="none" CONF="auto"
|
|
# macOS with system compiler (clang)
|
|
- os: osx
|
|
compiler: clang
|
|
env: OOT=0 TEST=0 SDE=0 THR="none" CONF="auto"
|
|
install:
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo rm -f /usr/bin/as; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo ln -s /usr/lib/binutils-2.26/bin/as /usr/bin/as; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo rm -f /usr/bin/ld; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo ln -s /usr/lib/binutils-2.26/bin/ld /usr/bin/ld; fi
|
|
- if [ "$CC" = "gcc" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then export CC="gcc-6"; fi
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- gcc-6
|
|
- binutils-2.26
|
|
- clang
|
|
script:
|
|
- export DIST_PATH=.
|
|
- pwd
|
|
- if [ $OOT -eq 1 ]; then mkdir oot; cd oot; export DIST_PATH=..; fi
|
|
- pwd
|
|
- $DIST_PATH/configure -t $THR CC=$CC $CONF
|
|
- pwd
|
|
- ls -l
|
|
- $CC --version
|
|
- make -j 2
|
|
- if [ $TEST -eq 1 ]; then travis_wait 30 $DIST_PATH/travis/do_testsuite.sh; fi
|
|
- if [ $SDE -eq 1 ]; then travis_wait 30 $DIST_PATH/travis/do_sde.sh; fi
|