<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/include/prereq-build.mk, branch v18.06.1</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.1</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.1'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2018-07-14T13:48:14Z</updated>
<entry>
<title>include/prereq-build.mk: explicitly check for -f flag when using busybox time</title>
<updated>2018-07-14T13:48:14Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-07-14T13:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=a7b2764879dbcf7c6b1d5463158c4e51ca993974'/>
<id>urn:sha1:a7b2764879dbcf7c6b1d5463158c4e51ca993974</id>
<content type='text'>
On Debian, busybox does have a time applet, but it does not support the -f
flag. Catch this in prereq check to give users to proper error message.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
(cherry picked from commit b123921a92a957f08abb186e041aa38aa9328f3e)
</content>
</entry>
<entry>
<title>build: add busybox support to `time` prereq-check</title>
<updated>2018-06-18T19:31:49Z</updated>
<author>
<name>Andy Boyett</name>
</author>
<published>2018-05-17T05:09:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=25eb240f63adaa51882b7c9dee9a2e0b578b5ed1'/>
<id>urn:sha1:25eb240f63adaa51882b7c9dee9a2e0b578b5ed1</id>
<content type='text'>
Busybox time supports the GNU time '-f' syntax used by the build time
logging implemented in ff6e62b288c, however the prerequisite check added
only works with GNU time installed as `time` or `gtime`.

As busybox is a multicall binary, the name of the symlink setup by
SetupHostCommand also must be changed from `gtime` to `time` to fix the
value of argv[0]. This causes a number of shells (including bash) to use
their builtin impelementation of time, so the sole invocation has been
changed to use `env time` to use the value found on the $PATH.

Signed-off-by: Andy Boyett &lt;agb@agb.io&gt;
(cherry picked from commit 591780615b304fb4624e363135942e9ee8f6caa3)
</content>
</entry>
<entry>
<title>build: log time taken by each packages/steps</title>
<updated>2018-05-07T08:31:35Z</updated>
<author>
<name>Etienne Champetier</name>
</author>
<published>2018-04-30T19:55:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=ff6e62b288cab103f9dd4200b49ec6dc47375eb8'/>
<id>urn:sha1:ff6e62b288cab103f9dd4200b49ec6dc47375eb8</id>
<content type='text'>
The idea is to easily get the list of packages taking the most time to build,
and see if we can improve them

v1: Use SetupHostCommand as recommended by John
v2: add space after 'time:', remove useless /usr/bin/time from SetupHostCommand

Signed-off-by: Etienne Champetier &lt;champetier.etienne@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/zlib: move zlib build to tools</title>
<updated>2018-04-28T13:28:59Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2018-04-15T17:24:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=8dcd941d8b934891676a8d4bbef1ee78e89a4bf7'/>
<id>urn:sha1:8dcd941d8b934891676a8d4bbef1ee78e89a4bf7</id>
<content type='text'>
This allows us to link the other tools against our libz and we do not
need the system zlib any more.

Only the static linked library is copied to the staging directory so we
have a statically linked library on all systems and not only on Linux.
This also adds the new dependencies of the packages which are depending
on zlib.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
Tested-by: Koen Vandeputte &lt;koen.vandeputte@ncentric.com&gt;
</content>
</entry>
<entry>
<title>build: Improve GCC version detection</title>
<updated>2018-04-03T21:26:45Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2018-03-31T19:28:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=d6d3db05436952f68f47d35df58ad5050b1f2d66'/>
<id>urn:sha1:d6d3db05436952f68f47d35df58ad5050b1f2d66</id>
<content type='text'>
This now makes sure that the beginning of the version number gets checked
and "4.4.5" will not match was a supported version.
GCC 8 and GCC 9 are now marked as supported, but we probably have to fix
some problems for them.

Closes: FS#1433
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>merge: etc: update remaining files</title>
<updated>2017-12-08T18:41:18Z</updated>
<author>
<name>Zoltan HERPAI</name>
</author>
<published>2017-11-07T08:45:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=d2c06eb0756dea5f473a34b3eb391517318f4132'/>
<id>urn:sha1:d2c06eb0756dea5f473a34b3eb391517318f4132</id>
<content type='text'>
Signed-off-by: Zoltan HERPAI &lt;wigyori@uid0.hu&gt;
</content>
</entry>
<entry>
<title>build: accept gcc/g++ without minor version</title>
<updated>2017-11-26T12:33:51Z</updated>
<author>
<name>Justin Kilpatrick</name>
</author>
<published>2017-11-25T21:14:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=8ee2d3f718c79dc7c2e5e859766e23e8058cf3a6'/>
<id>urn:sha1:8ee2d3f718c79dc7c2e5e859766e23e8058cf3a6</id>
<content type='text'>
Build dependency: Please install the GNU C Compiler (gcc) 4.8 or later cc
  -dumpversion | grep -E '(4\.[8-9]|5\.[0-9]|6\.[0-9]|7\.[0-9])'
Build dependency: Please install the GNU C++ Compiler (g++) 4.8 or later
  g++ -dumpversion | grep -E '(4\.[8-9]|5\.[0-9]|6\.[0-9]|7\.[0-9])'

Prerequisite check failed. Use FORCE=1 to override.

On my Fedora 26 machine gcc and g++ -dumpversion returns a whole number
'7' failing the regex introduced in commit:

b78de6207f6fc1a9db857942cb89f9fcf730a240

This change makes minor versions optional in the build dependency regex
for gcc and g++ whenever any minor version would be accepted and the
whole number version is sufficient as a dependency check. For versions
4.* a minor version is still required.

Signed-off-by: Justin Kilpatrick &lt;jkilpatr@redhat.com&gt;
</content>
</entry>
<entry>
<title>toolchain: Test for supported versions of GCC</title>
<updated>2017-11-25T19:17:20Z</updated>
<author>
<name>Daniel Engberg</name>
</author>
<published>2017-10-20T11:47:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=b78de6207f6fc1a9db857942cb89f9fcf730a240'/>
<id>urn:sha1:b78de6207f6fc1a9db857942cb89f9fcf730a240</id>
<content type='text'>
Only test for supported versions of GCC
The version bump requirement for GCC is because gdb doesn't build with older
versions.

Signed-off-by: Daniel Engberg &lt;daniel.engberg.lists@pyret.net&gt;
</content>
</entry>
<entry>
<title>build: fix high cpu usage / hang in prereq-build.mk</title>
<updated>2017-03-18T20:50:46Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2017-03-18T20:50:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=aab0b0704a0e96b3a67c1009374dd5cc6601969f'/>
<id>urn:sha1:aab0b0704a0e96b3a67c1009374dd5cc6601969f</id>
<content type='text'>
host-build.mk should not be included for prereq

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: get rid of host.mk</title>
<updated>2017-02-26T12:31:44Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2017-02-20T13:24:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=9467ce42da7fbcec1a4b5b8e08e2dcea3c67aa96'/>
<id>urn:sha1:9467ce42da7fbcec1a4b5b8e08e2dcea3c67aa96</id>
<content type='text'>
Defined required host related variables in toplevel.mk instead

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
