<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/include/prereq-build.mk, branch state</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=state</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=state'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2019-01-18T14:50:38Z</updated>
<entry>
<title>build: fix umask detection bashism</title>
<updated>2019-01-18T14:50:38Z</updated>
<author>
<name>Thorsten Glaser</name>
</author>
<published>2018-10-22T17:28:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=1d5010bd95a37915221d5ce2da333f92ce6369f8'/>
<id>urn:sha1:1d5010bd95a37915221d5ce2da333f92ce6369f8</id>
<content type='text'>
the leading 0 is optional and not emitted by some shells

Signed-off-by: Thorsten Glaser &lt;tg@mirbsd.org&gt;
</content>
</entry>
<entry>
<title>build: remove GNU time dependency</title>
<updated>2018-08-04T22:06:27Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-08-04T22:06:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=d3ddf6631e491a831617a5ae8b3d7924e47a275a'/>
<id>urn:sha1:d3ddf6631e491a831617a5ae8b3d7924e47a275a</id>
<content type='text'>
Replace the GNU time program invocation with a simple Perl script reporting
the timing values. Since we require Perl anyway for the build system, we can
as well use that instead of requiring a random GNU utility rarely installed
by default.

Fixes: ff6e62b288 ("build: log time taken by each packages/steps")
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>build: prereq-build.mk: fix gcc/g++ SetupHostCommand invocation</title>
<updated>2018-07-24T11:37:24Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-07-24T11:36:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=a6f4c7bce8c62d2dded5c8c12f7f118e2a6c9ee5'/>
<id>urn:sha1:a6f4c7bce8c62d2dded5c8c12f7f118e2a6c9ee5</id>
<content type='text'>
A missing comma caused the first command option to be considered part of
the error message.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>include/prereq-build.mk: explicitly check for -f flag when using busybox time</title>
<updated>2018-07-14T13:46:35Z</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=b123921a92a957f08abb186e041aa38aa9328f3e'/>
<id>urn:sha1:b123921a92a957f08abb186e041aa38aa9328f3e</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;
</content>
</entry>
<entry>
<title>build: add busybox support to `time` prereq-check</title>
<updated>2018-06-18T19:27:01Z</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=591780615b304fb4624e363135942e9ee8f6caa3'/>
<id>urn:sha1:591780615b304fb4624e363135942e9ee8f6caa3</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;
</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>
</feed>
