public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] travisci: Add support for ARC
@ 2017-04-21 10:35 Alexey Brodkin
  2017-04-21 13:13 ` Tom Rini
  2017-04-28 13:08 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 6+ messages in thread
From: Alexey Brodkin @ 2017-04-21 10:35 UTC (permalink / raw)
  To: u-boot

Finally adding support for ARC boards in TravisCI.

To build for ARC boards we need to install Synopsys prebuilt toolchain
which we do here.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Tom Rini <trini@konsulko.com>
---
 .travis.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index f6898a2edb7c..d7094e325a8d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,6 +40,7 @@ install:
  - echo -e "[toolchain]\nroot = /usr" > ~/.buildman
  - echo -e "aarch64 = /tmp/gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu" >> ~/.buildman
  - echo -e "arm = /tmp/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf" >> ~/.buildman
+ - echo -e "arc = /tmp/arc_gnu_2016.09_prebuilt_uclibc_le_archs_linux_install" >> ~/.buildman
  - echo -e "\n[toolchain-alias]\nsh = sh4\nopenrisc = or32" >> ~/.buildman
  - cat ~/.buildman
  - virtualenv /tmp/venv
@@ -69,6 +70,10 @@ before_script:
       ./tools/buildman/buildman --fetch-arch x86_64;
       echo -e "\n[toolchain-prefix]\nx86 = ${HOME}/.buildman-toolchains/gcc-4.9.0-nolibc/x86_64-linux/bin/x86_64-linux-" >> ~/.buildman;
     fi
+  - if [[ "${TOOLCHAIN}" == arc ]]; then
+       wget https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2016.09-release/arc_gnu_2016.09_prebuilt_uclibc_le_archs_linux_install.tar.gz &&
+       tar -C /tmp -xf arc_gnu_2016.09_prebuilt_uclibc_le_archs_linux_install.tar.gz;
+    fi
   - if [[ "${TOOLCHAIN}" == *xtensa* ]]; then ./tools/buildman/buildman --fetch-arch xtensa ; fi
   # If TOOLCHAIN is unset, we're on some flavour of ARM.
   - if [[ "${TOOLCHAIN}" == "" ]]; then
@@ -119,6 +124,9 @@ matrix:
   # we need to build by vendor due to 50min time limit for builds
   # each env setting here is a dedicated build
     - env:
+        - BUILDMAN="arc"
+          TOOLCHAIN="arc"
+    - env:
         - BUILDMAN="arm11"
     - env:
         - BUILDMAN="arm7"
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH] travisci: Add support for ARC
  2017-04-21 10:35 [U-Boot] [PATCH] travisci: Add support for ARC Alexey Brodkin
@ 2017-04-21 13:13 ` Tom Rini
  2017-04-21 13:14   ` Alexey Brodkin
  2017-04-28 13:08 ` [U-Boot] " Tom Rini
  1 sibling, 1 reply; 6+ messages in thread
From: Tom Rini @ 2017-04-21 13:13 UTC (permalink / raw)
  To: u-boot

On Fri, Apr 21, 2017 at 01:35:43PM +0300, Alexey Brodkin wrote:

> Finally adding support for ARC boards in TravisCI.
> 
> To build for ARC boards we need to install Synopsys prebuilt toolchain
> which we do here.
> 
> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> Cc: Tom Rini <trini@konsulko.com>

Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170421/6ef253b9/attachment.sig>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH] travisci: Add support for ARC
  2017-04-21 13:13 ` Tom Rini
@ 2017-04-21 13:14   ` Alexey Brodkin
  2017-04-21 13:17     ` Tom Rini
  0 siblings, 1 reply; 6+ messages in thread
From: Alexey Brodkin @ 2017-04-21 13:14 UTC (permalink / raw)
  To: u-boot

Hi Tom,

On Fri, 2017-04-21 at 09:13 -0400, Tom Rini wrote:
> On Fri, Apr 21, 2017 at 01:35:43PM +0300, Alexey Brodkin wrote:
> 
> > 
> > Finally adding support for ARC boards in TravisCI.
> > 
> > To build for ARC boards we need to install Synopsys prebuilt toolchain
> > which we do here.
> > 
> > Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> > Cc: Tom Rini <trini@konsulko.com>
> 
> Reviewed-by: Tom Rini <trini@konsulko.com>

Are you going to apply it or you want me to send you a pull-request?

-Alexey

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH] travisci: Add support for ARC
  2017-04-21 13:14   ` Alexey Brodkin
@ 2017-04-21 13:17     ` Tom Rini
  2017-04-21 13:17       ` Alexey Brodkin
  0 siblings, 1 reply; 6+ messages in thread
From: Tom Rini @ 2017-04-21 13:17 UTC (permalink / raw)
  To: u-boot

On Fri, Apr 21, 2017 at 01:14:23PM +0000, Alexey Brodkin wrote:
> Hi Tom,
> 
> On Fri, 2017-04-21 at 09:13 -0400, Tom Rini wrote:
> > On Fri, Apr 21, 2017 at 01:35:43PM +0300, Alexey Brodkin wrote:
> > 
> > > 
> > > Finally adding support for ARC boards in TravisCI.
> > > 
> > > To build for ARC boards we need to install Synopsys prebuilt toolchain
> > > which we do here.
> > > 
> > > Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> > > Cc: Tom Rini <trini@konsulko.com>
> > 
> > Reviewed-by: Tom Rini <trini@konsulko.com>
> 
> Are you going to apply it or you want me to send you a pull-request?

I'll apply it soon, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170421/0b160679/attachment.sig>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH] travisci: Add support for ARC
  2017-04-21 13:17     ` Tom Rini
@ 2017-04-21 13:17       ` Alexey Brodkin
  0 siblings, 0 replies; 6+ messages in thread
From: Alexey Brodkin @ 2017-04-21 13:17 UTC (permalink / raw)
  To: u-boot

Hi Tom,

On Fri, 2017-04-21 at 09:17 -0400, Tom Rini wrote:
> On Fri, Apr 21, 2017 at 01:14:23PM +0000, Alexey Brodkin wrote:
> > 
> > Hi Tom,
> > 
> > On Fri, 2017-04-21 at 09:13 -0400, Tom Rini wrote:
> > > 
> > > On Fri, Apr 21, 2017 at 01:35:43PM +0300, Alexey Brodkin wrote:
> > > 
> > > > 
> > > > 
> > > > Finally adding support for ARC boards in TravisCI.
> > > > 
> > > > To build for ARC boards we need to install Synopsys prebuilt toolchain
> > > > which we do here.
> > > > 
> > > > Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> > > > Cc: Tom Rini <trini@konsulko.com>
> > > 
> > > Reviewed-by: Tom Rini <trini@konsulko.com>
> > 
> > Are you going to apply it or you want me to send you a pull-request?
> 
> I'll apply it soon, thanks!

Thanks for doing that.
Just in case as proof of concept there's a running build with that
patch https://travis-ci.org/abrodkin/u-boot/builds/224296420

Note ARC boards are all built already so change is tested on real Travis :)

-Alexey

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] travisci: Add support for ARC
  2017-04-21 10:35 [U-Boot] [PATCH] travisci: Add support for ARC Alexey Brodkin
  2017-04-21 13:13 ` Tom Rini
@ 2017-04-28 13:08 ` Tom Rini
  1 sibling, 0 replies; 6+ messages in thread
From: Tom Rini @ 2017-04-28 13:08 UTC (permalink / raw)
  To: u-boot

On Fri, Apr 21, 2017 at 01:35:43PM +0300, Alexey Brodkin wrote:

> Finally adding support for ARC boards in TravisCI.
> 
> To build for ARC boards we need to install Synopsys prebuilt toolchain
> which we do here.
> 
> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> Cc: Tom Rini <trini@konsulko.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170428/dc05b7ed/attachment.sig>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-04-28 13:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-21 10:35 [U-Boot] [PATCH] travisci: Add support for ARC Alexey Brodkin
2017-04-21 13:13 ` Tom Rini
2017-04-21 13:14   ` Alexey Brodkin
2017-04-21 13:17     ` Tom Rini
2017-04-21 13:17       ` Alexey Brodkin
2017-04-28 13:08 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox