From patchwork Tue Jul 18 11:00:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 108098 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp5743480obm; Tue, 18 Jul 2017 04:03:02 -0700 (PDT) X-Received: by 10.200.37.139 with SMTP id e11mr1147535qte.112.1500375782362; Tue, 18 Jul 2017 04:03:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500375782; cv=none; d=google.com; s=arc-20160816; b=oZD+/1i7EvMBwqHO2HUZPSO+QUUAGltgUfYeD6bOU0QzHNVKVn2vF1yWsPmjuX7VVw CocH+ocmprQxqNgNKZ2mSaWDlJhKhmJ91u9i8LbCeSJC6voQK+18j/SPREQy4GweM/Gw ZTG+YsZ6NQtIzl3Hnk7xMrVqw8QKqw2jl9E0S5tBHYkOE2lVmYZypp6j8bzsmOXhfpvt On5EcDuPZEhLVJy95K0aZGL77ZY5LCkkrMWIuigf2GNsFk7c9TMkO5QVXS0DKGXZUzvg R8t76Sxh0o5pcdSSaeAoi/mYjWpnlIUl35C3RR8i/l5dcLW0bLHn589jukA7Val+xQw3 O2gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=3WfnI5aD7CuQZjnhILkBHVJp2e6/nuu+q40KyFPkDyk=; b=VqUsaWeq6G8jZgV2xK37EUIk3isXFNp4LHqBXEm6jV0bQbP7N9WR9t4fsYDuCRteaf 9U/2dvRm3FVJwfwI9VWhrWcUkv8ZdCbM49Myh2RUwXc7EtVTcTjiZT50V86cjlQDnGd/ PndX5sxLM0j44zAtKghapkEc7hbIL+TExBWtuFvYv0C8eji4Vr6BwJuah+V8o2fhN3fn UU3uoBdy/lN05zcMQlKlydytje0DZzjZFJBVtyqtFn0uCvGQzpj9qqY2ZzsnfHXhANqA QpjmCY4l/LUgbZj1aBVcwkPtZFtH4rKA1m8MM+9Ek7thDLRz2uS/BAlXSy/dqgTRXiZm 48rw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id m100si1885819qkh.236.2017.07.18.04.03.02; Tue, 18 Jul 2017 04:03:02 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id DE95A644A0; Tue, 18 Jul 2017 11:03:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 1940D60D69; Tue, 18 Jul 2017 11:01:04 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 38127644A5; Tue, 18 Jul 2017 11:00:55 +0000 (UTC) Received: from forward5j.cmail.yandex.net (forward5j.cmail.yandex.net [5.255.227.23]) by lists.linaro.org (Postfix) with ESMTPS id CB1536082A for ; Tue, 18 Jul 2017 11:00:25 +0000 (UTC) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [95.108.130.59]) by forward5j.cmail.yandex.net (Yandex) with ESMTP id 3869120F02 for ; Tue, 18 Jul 2017 14:00:24 +0300 (MSK) Received: from smtp1j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1j.mail.yandex.net (Yandex) with ESMTP id 0F1603C810D1 for ; Tue, 18 Jul 2017 14:00:23 +0300 (MSK) Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fP9rEy26OW-0NbGuSE8; Tue, 18 Jul 2017 14:00:23 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 18 Jul 2017 14:00:10 +0300 Message-Id: <1500375612-10544-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1500375612-10544-1-git-send-email-odpbot@yandex.ru> References: <1500375612-10544-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 73 Subject: [lng-odp] [PATCH v3 1/3] example: ipfragaddress: fix compilation with clang X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Clang 3.8 is stricter than GCC wrt register allocation vs 128-bit variables. Sometimes it can not understand using 128-bit var in place of 64-bit register resulting in the following errors: /odp_ipfragreass_atomics_arm.h:18:51: error: value size does not match register size specified by the constraint and modifier [-Werror,-Wasm-operand-widths] __asm__ volatile("ldaxp %0, %H0, [%1]" : "=&r" (old) ^ ./odp_ipfragreass_atomics_arm.h:18:27: note: use constraint modifier "w" __asm__ volatile("ldaxp %0, %H0, [%1]" : "=&r" (old) Explicitly pass low and high parts of 128-bit variable in separate assembly parameters. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 73 (lumag:cross-2) ** https://github.com/Linaro/odp/pull/73 ** Patch: https://github.com/Linaro/odp/pull/73.patch ** Base sha: 490f4bf22129638899ce71c99a8847e8ba849692 ** Merge commit sha: 9f16bf8e8db817327b01f090ff2d1e656093abfc **/ example/ipfragreass/odp_ipfragreass_atomics_arm.h | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/example/ipfragreass/odp_ipfragreass_atomics_arm.h b/example/ipfragreass/odp_ipfragreass_atomics_arm.h index 99c37a77..e75ae588 100644 --- a/example/ipfragreass/odp_ipfragreass_atomics_arm.h +++ b/example/ipfragreass/odp_ipfragreass_atomics_arm.h @@ -13,26 +13,33 @@ static inline __int128 lld(__int128 *var, int mo) { __int128 old; + uint64_t lo, hi; if (mo == __ATOMIC_ACQUIRE) - __asm__ volatile("ldaxp %0, %H0, [%1]" : "=&r" (old) + __asm__ volatile("ldaxp %0, %1, [%2]" : "=&r" (lo), "=&r" (hi) : "r" (var) : "memory"); else /* mo == __ATOMIC_RELAXED */ - __asm__ volatile("ldxp %0, %H0, [%1]" : "=&r" (old) + __asm__ volatile("ldxp %0, %1, [%2]" : "=&r" (lo), "=&r" (hi) : "r" (var) : ); + old = hi; + old <<= 64; + old |= lo; + return old; + } static inline uint32_t scd(__int128 *var, __int128 neu, int mo) { uint32_t ret; + uint64_t lo = neu, hi = neu >> 64; if (mo == __ATOMIC_RELEASE) - __asm__ volatile("stlxp %w0, %1, %H1, [%2]" : "=&r" (ret) - : "r" (neu), "r" (var) : "memory"); + __asm__ volatile("stlxp %w0, %1, %2, [%3]" : "=&r" (ret) + : "r" (lo), "r" (hi), "r" (var) : "memory"); else /* mo == __ATOMIC_RELAXED */ - __asm__ volatile("stxp %w0, %1, %H1, [%2]" : "=&r" (ret) - : "r" (neu), "r" (var) : ); + __asm__ volatile("stxp %w0, %1, %2, [%3]" : "=&r" (ret) + : "r" (lo), "r" (hi), "r" (var) : "memory"); return ret; } From patchwork Tue Jul 18 11:00:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 108099 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp5744187obm; Tue, 18 Jul 2017 04:03:36 -0700 (PDT) X-Received: by 10.55.122.68 with SMTP id v65mr1049792qkc.225.1500375816486; Tue, 18 Jul 2017 04:03:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500375816; cv=none; d=google.com; s=arc-20160816; b=fXdVMdNcZltJVvXuGgKIEv074SlRivtYfEp3GFAr1szcxB+F41qXXsKyudBTIonWje YExvY83aET1lkgJ7+0VdaW8GCX8sI98HQ73azC8fkb0VuLKiP7wZnzFVwGfpTbBTgUxD jI1iOItac86uIzPkrvDde2yx3GUy3LLdeHM5O7ifRTJHmCGZ8/Tp9Wu/Ax0iyl2bj3rk gnX1S6xP4Qi8u85lQUckUCjd02xAevuyzcS7srCasQWzNoj7QISgTSi4TebZopqhFI4O FEwRaWMfpp5F/gkab5fFB15AkPJ6JQAfg1Yg7cIjKwbM6qIc0d/gWC4G9MoZW9niiFhn NllQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=78r9tgAWAPz99xGf+jKjB9rUeG+8/aLILhvNnRGG27o=; b=etqiPXLbjs8zjuzuQil9WQa0MSPMncS44jIEXFhsUL3FLMWNC3RQGR3NqYcf0uEcTo F8eg2yvAmysrwNz4fq1Mpn9QeMPvjHtg0awVTV8p8Ga4YotIVhrbk/5T7yVm3q4+nFDa Uqv6Dl4QuYYH3JXT9cpSY8OnBWMzOwymZp7bakAfsgSxFyWtMU934A0c6uqDocueynuB ZgA1/RkFeoxk2uqykjNi2+8nVDG7kh5Plt5phrFq61Rpa94BpyiFYw01r2CtxORlVFFU 7JK7mjZXGz/cDaqLc6P8QAhJbscG7PgRrmBV+rShUssjvopOE2IaCEsvB6cKnCcPjUka xulw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id f25si1783461qtc.256.2017.07.18.04.03.36; Tue, 18 Jul 2017 04:03:36 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id E5790644A0; Tue, 18 Jul 2017 11:03:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 8FFC562CFA; Tue, 18 Jul 2017 11:01:50 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 04B88644A5; Tue, 18 Jul 2017 11:01:43 +0000 (UTC) Received: from forward3j.cmail.yandex.net (forward3j.cmail.yandex.net [5.255.227.21]) by lists.linaro.org (Postfix) with ESMTPS id 0A74764498 for ; Tue, 18 Jul 2017 11:00:30 +0000 (UTC) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [IPv6:2a02:6b8:0:801::ab]) by forward3j.cmail.yandex.net (Yandex) with ESMTP id 8612020C71 for ; Tue, 18 Jul 2017 14:00:28 +0300 (MSK) Received: from smtp1j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1j.mail.yandex.net (Yandex) with ESMTP id C07503C8108B for ; Tue, 18 Jul 2017 14:00:24 +0300 (MSK) Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fP9rEy26OW-0ObqJbc0; Tue, 18 Jul 2017 14:00:24 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 18 Jul 2017 14:00:11 +0300 Message-Id: <1500375612-10544-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1500375612-10544-1-git-send-email-odpbot@yandex.ru> References: <1500375612-10544-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 73 Subject: [lng-odp] [PATCH v3 2/3] travis: simplify cross-compilation setup X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Following Maxim's idea use apt-get to download and install cross-packages. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 73 (lumag:cross-2) ** https://github.com/Linaro/odp/pull/73 ** Patch: https://github.com/Linaro/odp/pull/73.patch ** Base sha: 490f4bf22129638899ce71c99a8847e8ba849692 ** Merge commit sha: 9f16bf8e8db817327b01f090ff2d1e656093abfc **/ .travis.yml | 65 ++++++++++++++++++++----------------------------------------- 1 file changed, 21 insertions(+), 44 deletions(-) diff --git a/.travis.yml b/.travis.yml index 665d70f8..36728afc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,10 +43,6 @@ addons: - clang-3.8 - automake autoconf libtool libssl-dev graphviz mscgen doxygen - libpcap-dev - - dpkg-cross equivs - - gcc-aarch64-linux-gnu pkg-config-aarch64-linux-gnu libc6-dev-arm64-cross - - gcc-arm-linux-gnueabihf pkg-config-arm-linux-gnueabihf libc6-dev-armhf-cross - - gcc-powerpc-linux-gnu pkg-config-powerpc-linux-gnu libc6-dev-powerpc-cross # coverity_scan: # project: # name: "$TRAVIS_REPO_SLUG" @@ -66,7 +62,24 @@ env: - CONF="--enable-schedule-iquery" before_install: -# Install cunit for the validation tests because distro version is too old and fails C99 compile + + # Install cross toolchains, etc + # apt-get update may fail thanks to Ubuntu removing Packages/indices while not removing relevant parts of Release file + - if [ -n "$CROSS_ARCH" ] ; + then + BUILD_GNU_TYPE=`dpkg-architecture -a"$CROSS_ARCH" -qDEB_BUILD_GNU_TYPE` ; + CROSS_GNU_TYPE=`dpkg-architecture -a"$CROSS_ARCH" -qDEB_HOST_GNU_TYPE` ; + CROSS_MULTIARCH=`dpkg-architecture -a"$CROSS_ARCH" -qDEB_HOST_MULTIARCH` ; + CROSS="--host="$CROSS_GNU_TYPE" --build="$BUILD_GNU_TYPE" --prefix=/usr --includedir=/usr/include/"$CROSS_MULTIARCH" --libdir=/usr/lib/"$CROSS_MULTIARCH" --libexecdir=/usr/lib/"$CROSS_MULTIARCH"" ; + sudo dpkg --add-architecture "$CROSS_ARCH" ; + sudo -E apt-add-repository -y "deb http://ports.ubuntu.com trusty main" ; + sudo -E apt-add-repository -y "deb http://ports.ubuntu.com trusty-updates main" ; + sudo -E apt-get -y update || true ; + sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install build-essential gcc-"$CROSS_GNU_TYPE" pkg-config-"$CROSS_GNU_TYPE" ; + sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install libc6-dev:"$CROSS_ARCH" libssl-dev:"$CROSS_ARCH" zlib1g-dev:"$CROSS_ARCH" libconfig-dev:"$CROSS_ARCH" ; + fi + + # Install cunit for the validation tests because distro version is too old and fails C99 compile - sudo apt-get remove libcunit1-dev libcunit1 - export CUNIT_VERSION=2.1-3 - curl -sSOL https://github.com/Linaro/libcunit/releases/download/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2 @@ -134,63 +147,27 @@ jobs: include: - stage: test compiler: aarch64-linux-gnu-gcc - env: TEST="aarch64-linux-gnu" CROSS="--host=aarch64-linux-gnu --prefix=/usr/aarch64-linux-gnu" + env: TEST="aarch64-linux-gnu" CROSS_ARCH="arm64" install: true script: - - mkdir cross - - pushd cross - # one can not include colon in the command or bad things will happen, so mimic it - - env echo -e 'Provides\x3a multiarch-support, debconf, debconf-2.0' > dummy - - equivs-build -a arm64 dummy - - wget - http://ports.ubuntu.com/pool/main/o/openssl/libssl-dev_1.0.1f-1ubuntu2.22_arm64.deb - http://ports.ubuntu.com/pool/main/o/openssl/libssl1.0.0_1.0.1f-1ubuntu2.22_arm64.deb - http://ports.ubuntu.com/pool/main/z/zlib/zlib1g-dev_1.2.8.dfsg-1ubuntu1_arm64.deb - http://ports.ubuntu.com/pool/main/z/zlib/zlib1g_1.2.8.dfsg-1ubuntu1_arm64.deb - - sudo dpkg-cross -i -M -A -a arm64 *.deb - - popd - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example - make -j $(nproc) - stage: test compiler: arm-linux-gnueabihf-gcc - env: TEST="arm-linux-gnueabihf" CROSS="--host=arm-linux-gnueabihf --prefix=/usr/arm-linux-gnueabihf" + env: TEST="arm-linux-gnueabihf" CROSS_ARCH="armhf" install: true script: - - mkdir cross - - pushd cross - # one can not include colon in the command or bad things will happen, so mimic it - - env echo -e 'Provides\x3a multiarch-support, debconf, debconf-2.0' > dummy - - equivs-build -a armhf dummy - - wget - http://ports.ubuntu.com/pool/main/o/openssl/libssl-dev_1.0.1f-1ubuntu2.22_armhf.deb - http://ports.ubuntu.com/pool/main/o/openssl/libssl1.0.0_1.0.1f-1ubuntu2.22_armhf.deb - http://ports.ubuntu.com/pool/main/z/zlib/zlib1g-dev_1.2.8.dfsg-1ubuntu1_armhf.deb - http://ports.ubuntu.com/pool/main/z/zlib/zlib1g_1.2.8.dfsg-1ubuntu1_armhf.deb - - sudo dpkg-cross -i -M -A -a armhf *.deb - - popd - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example - make -j $(nproc) - stage: test compiler: powerpc-linux-gnu-gcc - env: TEST="powerpc-linux-gnu" CROSS="--host=powerpc-linux-gnu --prefix=/usr/powerpc-linux-gnu" + env: TEST="powerpc-linux-gnueabihf" CROSS_ARCH="powerpc" install: true script: - - mkdir cross - - pushd cross - # one can not include colon in the command or bad things will happen, so mimic it - - env echo -e 'Provides\x3a multiarch-support, debconf, debconf-2.0' > dummy - - equivs-build -a powerpc dummy - - wget - http://ports.ubuntu.com/pool/main/o/openssl/libssl-dev_1.0.1f-1ubuntu2.22_powerpc.deb - http://ports.ubuntu.com/pool/main/o/openssl/libssl1.0.0_1.0.1f-1ubuntu2.22_powerpc.deb - http://ports.ubuntu.com/pool/main/z/zlib/zlib1g-dev_1.2.8.dfsg-1ubuntu1_powerpc.deb - http://ports.ubuntu.com/pool/main/z/zlib/zlib1g_1.2.8.dfsg-1ubuntu1_powerpc.deb - - sudo dpkg-cross -i -M -A -a powerpc *.deb - - popd - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example From patchwork Tue Jul 18 11:00:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 108100 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp5745151obm; Tue, 18 Jul 2017 04:04:24 -0700 (PDT) X-Received: by 10.200.43.208 with SMTP id n16mr1151079qtn.190.1500375863987; Tue, 18 Jul 2017 04:04:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500375863; cv=none; d=google.com; s=arc-20160816; b=kSzAyyP+EJkw9yGdM89V+DwZQWPpp8tId00sqSjB001oPtFvEoJnuEeWbHiBBno/NM FthFDspiyJV8JUmF7i1r5bZ8lt/V5kuWeLdLljnLUBaiR8Bta8lpgsZVLQHmKx0218Bk PLKkwG/2ToOyb2enIu2mMxpk8OWbqEA/y9QTZ3/uT3uefRn5+sHtpmucObq7ZxczaCmy xkhgMTUcvmsNXGEAdC+SGm7MI8TXgKQnqFq0P1zxXdQgFRklUcBQY3DRuGkSGk40b0LS pxovaM4Ro7/H8bctP/qseWIVa4rH/9gtKUU6cdc9ZZ/Lt7Br5Cksr10TJ1xbf/AiAI1t ysXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=cQCR/5WSkveSuUWmNecF1bLQG6hZDvBAolQVFEWeZEg=; b=PgbYfoMfy7ZlW5Fe3qN7EM+9kFu7+gZoRKUUy4n92NZnKOZX3VjJ7tjRidW6Fg5S79 LbR5+Mqs1TLozb2ed3+TuR1Dw8RQNnKeK5f0NbeM9SZ65E/csAFOJ2YpmdVWSnsicz7+ OaonAj6MTTrKLjEiCbVJ4Vgfva5TFvBUmvACC2gHmsy+jiviGhNFlhQYtKK8m2PdCell idMNMAb9EYzPywv23Vx0rpEBG97edr++bjWysk4AX/uwiStZX87mi9yQecPu00xt4o5N JyFaApRxNLSTUrQUHr0pAeLZKMq81cBrtOOPYIlSpMNOYv4opSWJQd6wTYWqt5/4s/is rrlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id f68si1713246qtb.135.2017.07.18.04.04.23; Tue, 18 Jul 2017 04:04:23 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 96D9862CFA; Tue, 18 Jul 2017 11:04:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 11A2E644A5; Tue, 18 Jul 2017 11:02:04 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id EF9DC644A5; Tue, 18 Jul 2017 11:01:54 +0000 (UTC) Received: from forward2m.cmail.yandex.net (forward2m.cmail.yandex.net [5.255.216.20]) by lists.linaro.org (Postfix) with ESMTPS id 626B36449B for ; Tue, 18 Jul 2017 11:00:30 +0000 (UTC) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [95.108.130.59]) by forward2m.cmail.yandex.net (Yandex) with ESMTP id D350621232 for ; Tue, 18 Jul 2017 14:00:28 +0300 (MSK) Received: from smtp1j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1j.mail.yandex.net (Yandex) with ESMTP id 5D0513C81127 for ; Tue, 18 Jul 2017 14:00:27 +0300 (MSK) Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fP9rEy26OW-0QbGc3T6; Tue, 18 Jul 2017 14:00:26 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 18 Jul 2017 14:00:12 +0300 Message-Id: <1500375612-10544-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1500375612-10544-1-git-send-email-odpbot@yandex.ru> References: <1500375612-10544-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 73 Subject: [lng-odp] [PATCH v3 3/3] travis: add clang cross-compilation checks X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 73 (lumag:cross-2) ** https://github.com/Linaro/odp/pull/73 ** Patch: https://github.com/Linaro/odp/pull/73.patch ** Base sha: 490f4bf22129638899ce71c99a8847e8ba849692 ** Merge commit sha: 9f16bf8e8db817327b01f090ff2d1e656093abfc **/ .travis.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.travis.yml b/.travis.yml index 36728afc..e2c65a65 100644 --- a/.travis.yml +++ b/.travis.yml @@ -155,6 +155,15 @@ jobs: --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example - make -j $(nproc) - stage: test + compiler: "\"clang-3.8 --target=aarch64-linux-gnu\"" + env: TEST="clang-3.8 aarch64-linux-gnu" CROSS_ARCH="arm64" + install: true + script: + - ./bootstrap + - ./configure --prefix=$HOME/odp-install $CROSS + --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example + - make -j $(nproc) + - stage: test compiler: arm-linux-gnueabihf-gcc env: TEST="arm-linux-gnueabihf" CROSS_ARCH="armhf" install: true @@ -164,6 +173,15 @@ jobs: --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example - make -j $(nproc) - stage: test + compiler: "\"clang-3.8 --target=arm-linux-gnueabihf\"" + env: TEST="clang-3.8 arm-linux-gnueabihf" CROSS_ARCH="armhf" CFLAGS="-march=armv7-a" + install: true + script: + - ./bootstrap + - ./configure --prefix=$HOME/odp-install $CROSS + --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example + - make -j $(nproc) + - stage: test compiler: powerpc-linux-gnu-gcc env: TEST="powerpc-linux-gnueabihf" CROSS_ARCH="powerpc" install: true @@ -173,6 +191,15 @@ jobs: --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example - make -j $(nproc) - stage: test + compiler: "\"clang-3.8 --target=powerpc-linux-gnu\"" + env: TEST="clang-3.8 powerpc-linux-gnu" CROSS_ARCH="powerpc" + install: true + script: + - ./bootstrap + - ./configure --prefix=$HOME/odp-install $CROSS + --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example + - make -j $(nproc) + - stage: test env: TEST=coverage compiler: gcc script: