[PATCH rdma-core 06/19] build/travis: Do not cross compile for ARM64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

AZP does this now, and does a better job as it has all the cross compile
system libraries available.

Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
---
 .travis.yml           | 5 -----
 buildlib/travis-build | 7 +------
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index d20dadf8e9d90f..82f16d65e0a646 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,11 +40,6 @@ addons:
       - python3-pip
 
 before_script:
-  - export LATEST_GCC_LINARO_URL=`wget -qO - https://releases.linaro.org/components/toolchain/binaries/latest-7/aarch64-linux-gnu/ | grep -o '<a href=['"'"'"].*gcc-linaro-.*x86_64_aarch64-linux-gnu.tar.xz['"'"'"]'  |  sed -e 's/^<a href=["'"'"']//' -e 's/["'"'"']$//'`
-  - export LATEST_GCC_LINARO_TAR=`basename $LATEST_GCC_LINARO_URL`
-  - wget -q http://releases.linaro.org/$LATEST_GCC_LINARO_URL
-  - mkdir $HOME/aarch64 && tar xf $LATEST_GCC_LINARO_TAR -C $HOME/aarch64 --strip 1
-  - rm $LATEST_GCC_LINARO_TAR
   - http_proxy= pip3 install cython
 script:
   - buildlib/travis-build
diff --git a/buildlib/travis-build b/buildlib/travis-build
index f84b77fc782147..48c1c8f68f146d 100755
--- a/buildlib/travis-build
+++ b/buildlib/travis-build
@@ -7,7 +7,7 @@ set -e
 # Echo all commands to Travis log
 set -x
 
-mkdir build-travis build32 build-sparse build-aarch64
+mkdir build-travis build32 build-sparse
 
 # Build with latest clang first
 cd build-travis
@@ -22,11 +22,6 @@ cd ../build32
 CC=gcc-8 CFLAGS="-Werror -m32 -msse3" cmake -GNinja .. -DENABLE_RESOLVE_NEIGH=0 -DIOCTL_MODE=both -DNO_PYVERBS=1
 ninja
 
-# aarch64 build to check compilation on ARM 64bit platform
-cd ../build-aarch64
-CC=$HOME/aarch64/bin/aarch64-linux-gnu-gcc CFLAGS="-Werror -Wno-maybe-uninitialized" cmake -GNinja .. -DENABLE_RESOLVE_NEIGH=0 -DIOCTL_MODE=ioctl -DNO_PYVERBS=1
-ninja
-
 # Run sparse on the subdirectories which are sparse clean
 cd ../build-sparse
 mv ../CMakeLists.txt ../CMakeLists-orig.txt
-- 
2.22.0




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux