[ovs-dev] [PATCH v3] travis: support ppc64le builds

Yanqin Wei (Arm Technology China) Yanqin.Wei at arm.com
Fri Nov 8 10:02:32 UTC 2019


Hi David

> -----Original Message-----
> From: David Wilder <dwilder at us.ibm.com>
> Sent: Thursday, November 7, 2019 3:21 AM
> To: ovs-dev at openvswitch.org
> Cc: i.maximets at ovn.org; blp at ovn.org; Yanqin Wei (Arm Technology China)
> <Yanqin.Wei at arm.com>; wilder at us.ibm.com
> Subject: [PATCH v3] travis: support ppc64le builds
>
> Add support for travis-ci ppc64le builds.
>
> - Updated matrix in .travis.yml to include an arch: ppc64le build.
> - Move package install needed for 32bit builds to .travis/linux-prepare.sh.
>
> To keep the total build time at an acceptable level only a single build job is
> included in the matrix for ppc64le.
>
> A build report example can be found here [1] [0] http://travis-ci.org/ [1]
> https://travis-ci.org/djlwilder/ovs/builds/607851729
>
> Signed-off-by: David Wilder <dwilder at us.ibm.com>
> ---
> Addressed review comments:
> - Cleaned up linux-prepare.sh (v2)
> - Switch from os: linux-ppc64le to arch: ppc64le (v3)
>
>  .travis.yml              | 5 +++--
>  .travis/linux-prepare.sh | 5 ++++-
>  2 files changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index 482efd2d1..308c09635 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -14,7 +14,6 @@ addons:
>    apt:
>      packages:
>        - bc
> -      - gcc-multilib
>        - libssl-dev
>        - llvm-dev
>        - libjemalloc1
> @@ -26,7 +25,6 @@ addons:
>        - libelf-dev
>        - selinux-policy-dev
>        - libunbound-dev
> -      - libunbound-dev:i386
>        - libunwind-dev
>
>  before_install: ./.travis/${TRAVIS_OS_NAME}-prepare.sh
> @@ -52,6 +50,9 @@ matrix:
>      - os: osx
>        compiler: clang
>        env: OPTS="--disable-ssl"
> +    - arch: ppc64le
> +      compiler: gcc
> +      env: OPTS="--disable-ssl"
>
>  script: ./.travis/${TRAVIS_OS_NAME}-build.sh $OPTS
>
> diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh index
> 9e3ac0df7..d66f480c6 100755
> --- a/.travis/linux-prepare.sh
> +++ b/.travis/linux-prepare.sh
> @@ -18,7 +18,10 @@ pip install --user --upgrade docutils  if [ "$M32" ]; then
>      # 32-bit and 64-bit libunwind can not be installed at the same time.
>      # This will remove the 64-bit libunwind and install 32-bit version.
> -    sudo apt-get install -y libunwind-dev:i386
> +    sudo apt-get install -y \
> +         gcc-multilib \
> +         libunwind-dev:i386 \
> +         libunbound-dev:i386
[Yanqin] They are x86 specific dependency. It is better to use  "$TRAVIS_ARCH" == "amd64" condition.
[Yanqin]  Is gcc-multilib only required for 32bits build?
>  fi
>
>  # IPv6 is supported by kernel but disabled in TravisCI images:
> --
> 2.23.0.162.gf1d4a28

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


More information about the dev mailing list