<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_build_kati, branch o-preview</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/'/>
<entry>
<title>Merge remote-tracking branch 'aosp/upstream' into master</title>
<updated>2017-02-24T04:43:32+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2017-02-24T04:42:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=341a2ceccb836ab23f92c0ba96d0a0e731425762'/>
<id>341a2ceccb836ab23f92c0ba96d0a0e731425762</id>
<content type='text'>
* aosp/upstream:
  Randomize cpu affinity
  Be more resilient to directories disappearing during startup
  Pass a Loc into FindEmulator for better warnings
  Add --color_warnings to make warnings/errors like clang
  [AUTHORS] Fix kati instead of glog
  Add Koichi Shiraishi to AUTHORS/CONTRIBUTORS
  [C++] add +build ignore magic comment for go build
  [go] fix ldflags foramt to add '=' for -X flag
  [go] fix stat.Dev type to uint64
  Allow rules to specify custom ninja pools
  Fix some possible performance issues found by clang-tidy

Test: kati tests
Test: multiproduct_build on aosp
Change-Id: I4c427dde2bb9d1a0970e97d1e822e093bd269dfe
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* aosp/upstream:
  Randomize cpu affinity
  Be more resilient to directories disappearing during startup
  Pass a Loc into FindEmulator for better warnings
  Add --color_warnings to make warnings/errors like clang
  [AUTHORS] Fix kati instead of glog
  Add Koichi Shiraishi to AUTHORS/CONTRIBUTORS
  [C++] add +build ignore magic comment for go build
  [go] fix ldflags foramt to add '=' for -X flag
  [go] fix stat.Dev type to uint64
  Allow rules to specify custom ninja pools
  Fix some possible performance issues found by clang-tidy

Test: kati tests
Test: multiproduct_build on aosp
Change-Id: I4c427dde2bb9d1a0970e97d1e822e093bd269dfe
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #112 from danw/random_affinity</title>
<updated>2017-02-24T04:40:22+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dan@danw.org</email>
</author>
<published>2017-02-24T04:40:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=c76b9f146a7307cff56fc40269c030d473901b2f'/>
<id>c76b9f146a7307cff56fc40269c030d473901b2f</id>
<content type='text'>
Randomize cpu affinity</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Randomize cpu affinity</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #113 from danw/resilient_find</title>
<updated>2017-02-24T03:29:55+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2017-02-24T03:29:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=a51ad0bdebec9e5519ddb782636c7b59b5e34988'/>
<id>a51ad0bdebec9e5519ddb782636c7b59b5e34988</id>
<content type='text'>
Be more resilient to directories disappearing during startup</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Be more resilient to directories disappearing during startup</pre>
</div>
</content>
</entry>
<entry>
<title>Randomize cpu affinity</title>
<updated>2017-02-24T02:41:50+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2017-02-23T07:59:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=5db7f7c46b94424be56db9aa5af4ae537252a703'/>
<id>5db7f7c46b94424be56db9aa5af4ae537252a703</id>
<content type='text'>
Continue to lock kati to one or two CPUs, but pick one CPU at random,
and pick another CPU next to it. This dramatically speeds up cases where
more than one Kati instance is running at a time.

There's a multiproduct_build tool in Android that attempts to run Kati
on every build configuration present in the tree. My machine has 48
(including hyperthreading) cpu cores, with 64GB of ram. Before this
change, it would take ~12 minutes to build all 59 configurations, 12 at
a time. After this change it takes 3 minutes.

There doesn't seem to be any significant change in timings for
standalone builds. It looks like there was 1-2% difference with my
previous change that chose two completely random CPUs, but choosing two
that are likely hyperthreaded, or at least on the same chip helps.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Continue to lock kati to one or two CPUs, but pick one CPU at random,
and pick another CPU next to it. This dramatically speeds up cases where
more than one Kati instance is running at a time.

There's a multiproduct_build tool in Android that attempts to run Kati
on every build configuration present in the tree. My machine has 48
(including hyperthreading) cpu cores, with 64GB of ram. Before this
change, it would take ~12 minutes to build all 59 configurations, 12 at
a time. After this change it takes 3 minutes.

There doesn't seem to be any significant change in timings for
standalone builds. It looks like there was 1-2% difference with my
previous change that chose two completely random CPUs, but choosing two
that are likely hyperthreaded, or at least on the same chip helps.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #111 from danw/color_warnings</title>
<updated>2017-02-23T20:56:39+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dan@danw.org</email>
</author>
<published>2017-02-23T20:56:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=00d11fa13e558efd42fe26b59515d426655c20eb'/>
<id>00d11fa13e558efd42fe26b59515d426655c20eb</id>
<content type='text'>
Improve and color warnings (with --color_warnings)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Improve and color warnings (with --color_warnings)</pre>
</div>
</content>
</entry>
<entry>
<title>Be more resilient to directories disappearing during startup</title>
<updated>2017-02-23T08:27:57+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2017-02-23T08:10:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=6f3f0f41f364a3ed7533cd075792ca38aef8ecf6'/>
<id>6f3f0f41f364a3ed7533cd075792ca38aef8ecf6</id>
<content type='text'>
In multiproduct_build, we run a lot of kati instances in the same source
tree, but pointing to different out folders. I'm removing the out
folders of successful runs so that too much disk space isn't used
(unless the user requests it). But I often see a kati PERROR about
opendir failing, since it's trying to set up the find emulator while a
different configuration's output directory is being removed.

This was also hit by #109 in similar circumstances.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In multiproduct_build, we run a lot of kati instances in the same source
tree, but pointing to different out folders. I'm removing the out
folders of successful runs so that too much disk space isn't used
(unless the user requests it). But I often see a kati PERROR about
opendir failing, since it's trying to set up the find emulator while a
different configuration's output directory is being removed.

This was also hit by #109 in similar circumstances.
</pre>
</div>
</content>
</entry>
<entry>
<title>Pass a Loc into FindEmulator for better warnings</title>
<updated>2017-02-23T06:42:02+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2017-02-22T23:38:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=692e64ebf83bc87baca6e3c90c3d0b2849655d75'/>
<id>692e64ebf83bc87baca6e3c90c3d0b2849655d75</id>
<content type='text'>
Before this change, we'd only get a warning from FindEmulator, with no
idea which makefile caused it:

  FindEmulator: find: `tests': No such file or directory

With this change, we'll get a better idea of which line triggered that
problem:

  cts/tests/tests/content/Android.mk:43: FindEmulator: find: `test': No such file or directory

And it will be colorized like any other location-based warning with the
previous patch if --color_warnings is turned on.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this change, we'd only get a warning from FindEmulator, with no
idea which makefile caused it:

  FindEmulator: find: `tests': No such file or directory

With this change, we'll get a better idea of which line triggered that
problem:

  cts/tests/tests/content/Android.mk:43: FindEmulator: find: `test': No such file or directory

And it will be colorized like any other location-based warning with the
previous patch if --color_warnings is turned on.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add --color_warnings to make warnings/errors like clang</title>
<updated>2017-02-23T06:41:57+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2017-02-22T22:31:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=e41c7556c22bda359c2b97cd98d59082110add95'/>
<id>e41c7556c22bda359c2b97cd98d59082110add95</id>
<content type='text'>
This adds new (WARN|KATI_WARN|ERROR)_LOC log macro variants that take a
location as the first argument, and will prefix that location
information to the warning/error lines.

When --color_warnings is enabled, it reformats them to have a standard
warning:/error: infix, and adds colors in order to match the
warnings/errors produced by clang.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds new (WARN|KATI_WARN|ERROR)_LOC log macro variants that take a
location as the first argument, and will prefix that location
information to the warning/error lines.

When --color_warnings is enabled, it reformats them to have a standard
warning:/error: infix, and adds colors in order to match the
warnings/errors produced by clang.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #108 from zchee/authors-glog</title>
<updated>2016-12-02T00:28:35+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2016-12-02T00:28:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=f8e155865652181a504d7400afd25f35cf158472'/>
<id>f8e155865652181a504d7400afd25f35cf158472</id>
<content type='text'>
nit: [AUTHORS] Fix kati instead of glog</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nit: [AUTHORS] Fix kati instead of glog</pre>
</div>
</content>
</entry>
<entry>
<title>[AUTHORS] Fix kati instead of glog</title>
<updated>2016-12-01T19:40:00+00:00</updated>
<author>
<name>Koichi Shiraishi</name>
<email>zchee.io@gmail.com</email>
</author>
<published>2016-12-01T19:40:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=e80373b37bb338b778071c8cd22706752351a4fd'/>
<id>e80373b37bb338b778071c8cd22706752351a4fd</id>
<content type='text'>
Signed-off-by: Koichi Shiraishi &lt;zchee.io@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Koichi Shiraishi &lt;zchee.io@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
