<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
As discussed,
<div class=""><br class="">
</div>
<div class="">If you run scons with a small -j number, it would work (verified by Emil).</div>
<div class=""><br class="">
</div>
<div class="">With that change</div>
<div class=""><br class="">
</div>
<div class="">Reviewed-by: George Kyriazis <<a href="mailto:george.kyriazis@intel.com" class="">george.kyriazis@intel.com</a>></div>
<div class=""><br class="">
</div>
<div class="">For the rest of the series, I don’t have enough experience with travis to review..</div>
<div class=""><br class="">
</div>
<div class="">George</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Apr 21, 2017, at 7:08 AM, Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com" class="">emil.l.velikov@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">From: Emil Velikov <<a href="mailto:emil.velikov@collabora.com" class="">emil.velikov@collabora.com</a>><br class="">
<br class="">
Requires GCC 5.0 (due to the C++14 requirement) and LLVM 3.9.<br class="">
<br class="">
v2: Enable the target, add libedit-dev, rework check target.<br class="">
<br class="">
Cc: Tim Rowley <<a href="mailto:timothy.o.rowley@intel.com" class="">timothy.o.rowley@intel.com</a>><br class="">
Cc: George Kyriazis <<a href="mailto:george.kyriazis@intel.com" class="">george.kyriazis@intel.com</a>><br class="">
Signed-off-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com" class="">emil.velikov@collabora.com</a>><br class="">
---<br class="">
Note!<br class="">
With this the Travis instance seems to be having Internal Compiler Error<br class="">
at various stages of the build. Both GCC5 and GCC6 are affected, yet the<br class="">
Autotools build (coming later) seems unaffected.<br class="">
<br class="">
Tim, George do you guys have some time to investigate the problem?<br class="">
Alternatively we'll have to drop the patch for now :-(<br class="">
---<br class="">
.travis.yml | 28 ++++++++++++++++++++++++++++<br class="">
1 file changed, 28 insertions(+)<br class="">
<br class="">
diff --git a/.travis.yml b/.travis.yml<br class="">
index 6eb208ace24..aa2a55d7bb4 100644<br class="">
--- a/.travis.yml<br class="">
+++ b/.travis.yml<br class="">
@@ -82,6 +82,32 @@ matrix:<br class="">
- libexpat1-dev<br class="">
- libx11-xcb-dev<br class="">
- libelf-dev<br class="">
+ - env:<br class="">
+ - LABEL="scons SWR"<br class="">
+ - BUILD=scons<br class="">
+ - SCONS_TARGET="swr=1"<br class="">
+ - SCONS_CHECK_COMMAND="true"<br class="">
+ - LLVM_VERSION=3.9<br class="">
+ - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"<br class="">
+ - OVERRIDE_CC=gcc-5<br class="">
+ - OVERRIDE_CXX=g++-5<br class="">
+ addons:<br class="">
+ apt:<br class="">
+ sources:<br class="">
+ - ubuntu-toolchain-r-test<br class="">
+ - llvm-toolchain-trusty-3.9<br class="">
+ packages:<br class="">
+ - scons<br class="">
+ # LLVM packaging is broken and misses these dependencies<br class="">
+ - libedit-dev<br class="">
+ # From sources above<br class="">
+ - g++-5<br class="">
+ - llvm-3.9-dev<br class="">
+ # Common<br class="">
+ - x11proto-xf86vidmode-dev<br class="">
+ - libexpat1-dev<br class="">
+ - libx11-xcb-dev<br class="">
+ - libelf-dev<br class="">
<br class="">
install:<br class="">
- pip install --user mako<br class="">
@@ -157,5 +183,7 @@ script:<br class="">
fi<br class="">
<br class="">
- if test "x$BUILD" = xscons; then<br class="">
+ test $OVERRIDE_CC && export CC=$OVERRIDE_CC;<br class="">
+ test $OVERRIDE_CXX && export CXX=$OVERRIDE_CXX;<br class="">
scons $SCONS_TARGET && eval $SCONS_CHECK_COMMAND;<br class="">
fi<br class="">
-- <br class="">
2.12.2<br class="">
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>