<feed xmlns='http://www.w3.org/2005/Atom'>
<title>build_soong/ui, branch android-platform-11.0.0_r2</title>
<subtitle>Fork of build/soong
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/'/>
<entry>
<title>Better handling of low memory situations</title>
<updated>2020-05-29T21:45:06+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2020-05-27T06:02:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=104d9eb54a668eb87e5c5ada079a0c8b28ba74f4'/>
<id>104d9eb54a668eb87e5c5ada079a0c8b28ba74f4</id>
<content type='text'>
Drop down to a single high-mem task when we've got &lt;=16GB, as the system
probably isn't completely free RAM, ninja will be using a couple gigs,
along with whatever "normal" actions will be running concurrently. So
it's unlikely that we can handle two 6-8GB actions along with everything
else.

Also print warnings when we detect &lt;=16GB total RAM, or when we're
running more parallel jobs than than we have GB RAM. These both notify
the user and suggest lowering the `-j` value if they run into problems.

Bug: 141066538
Test: fake totalRAM to [0.5,8,16]GB, checking warning
Test: fake totalRAM to 17GB, `m -j4 nothing` has no warning
Test: `m -j187 nothing` on a 188GB system
Test: `m -j188 nothing` on a 188GB system
Change-Id: Ieb008e9f462d5f40fb65781d94cf116b1caf8446
Merged-In: Ieb008e9f462d5f40fb65781d94cf116b1caf8446
(cherry picked from commit 570a292bab2ae73b3338c86cf5836606074adb39)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Drop down to a single high-mem task when we've got &lt;=16GB, as the system
probably isn't completely free RAM, ninja will be using a couple gigs,
along with whatever "normal" actions will be running concurrently. So
it's unlikely that we can handle two 6-8GB actions along with everything
else.

Also print warnings when we detect &lt;=16GB total RAM, or when we're
running more parallel jobs than than we have GB RAM. These both notify
the user and suggest lowering the `-j` value if they run into problems.

Bug: 141066538
Test: fake totalRAM to [0.5,8,16]GB, checking warning
Test: fake totalRAM to 17GB, `m -j4 nothing` has no warning
Test: `m -j187 nothing` on a 188GB system
Test: `m -j188 nothing` on a 188GB system
Change-Id: Ieb008e9f462d5f40fb65781d94cf116b1caf8446
Merged-In: Ieb008e9f462d5f40fb65781d94cf116b1caf8446
(cherry picked from commit 570a292bab2ae73b3338c86cf5836606074adb39)
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor RBE support for Javac/R8/D8 to use the remoteexec package.</title>
<updated>2020-05-25T14:57:47+00:00</updated>
<author>
<name>Treehugger Robot</name>
<email>treehugger-gerrit@google.com</email>
</author>
<published>2020-04-28T19:46:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=ac80afa6428e79614a1f28fbf8a6aea47938358c'/>
<id>ac80afa6428e79614a1f28fbf8a6aea47938358c</id>
<content type='text'>
Bug: b/156613606
Test: build with and without RBE_JAVAC/RBE_R8/RBE_D8 set.
Change-Id: I1607f8cfb4d2c3cbb3672152bbeb561d9968bc60
Merged-In: I1607f8cfb4d2c3cbb3672152bbeb561d9968bc60
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: b/156613606
Test: build with and without RBE_JAVAC/RBE_R8/RBE_D8 set.
Change-Id: I1607f8cfb4d2c3cbb3672152bbeb561d9968bc60
Merged-In: I1607f8cfb4d2c3cbb3672152bbeb561d9968bc60
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow remote execution of link actions.</title>
<updated>2020-04-23T15:23:21+00:00</updated>
<author>
<name>Ramy Medhat</name>
<email>abdelaal@google.com</email>
</author>
<published>2020-04-13T17:21:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=1154b69f45319fc8f115df4af5bbdab926b044aa'/>
<id>1154b69f45319fc8f115df4af5bbdab926b044aa</id>
<content type='text'>
This CL adds a remoteexec package that allows adding a configurable RBE
prefix to the template.

Change-Id: I6b4ea773f6bae5706415a1830f822db7decca92f
Test: built aosp crosshatch userdebug with and without RBE_CXX_LINKS.
Merged-In: Ica920c3d7f79f2996210b9cbd448126451c1707c
Bug: b/154820732
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This CL adds a remoteexec package that allows adding a configurable RBE
prefix to the template.

Change-Id: I6b4ea773f6bae5706415a1830f822db7decca92f
Test: built aosp crosshatch userdebug with and without RBE_CXX_LINKS.
Merged-In: Ica920c3d7f79f2996210b9cbd448126451c1707c
Bug: b/154820732
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Always keep rsp files" into rvc-dev</title>
<updated>2020-04-01T09:53:02+00:00</updated>
<author>
<name>Anton Hansson</name>
<email>hansson@google.com</email>
</author>
<published>2020-04-01T09:53:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=cd4c32e5566b40c86ad79b491dd25df38212245e'/>
<id>cd4c32e5566b40c86ad79b491dd25df38212245e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Rename VTS to VTS10" am: 7182c45fe7 am: 4058983c0c am: 8989420fee am: 2d2a3643f5</title>
<updated>2020-03-31T23:20:53+00:00</updated>
<author>
<name>Dan Shi</name>
<email>dshi@google.com</email>
</author>
<published>2020-03-31T20:34:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=1a9a9127b177c3c1c7015a5fecd70fe7ed809029'/>
<id>1a9a9127b177c3c1c7015a5fecd70fe7ed809029</id>
<content type='text'>
Bug: 151896491
Test: none

Change-Id: Iee9324c4edefef56171ecfac64fd11a9595e5f7c
Merged-In: Iadad4ba96bf9a7f3b1d12c9d4eeb90fb1ed0841d
Merged-In: Iee9324c4edefef56171ecfac64fd11a9595e5f7c
(cherry picked from commit ee3ec387b0ca2d3ecb0df63cb25840874c295a1e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 151896491
Test: none

Change-Id: Iee9324c4edefef56171ecfac64fd11a9595e5f7c
Merged-In: Iadad4ba96bf9a7f3b1d12c9d4eeb90fb1ed0841d
Merged-In: Iee9324c4edefef56171ecfac64fd11a9595e5f7c
(cherry picked from commit ee3ec387b0ca2d3ecb0df63cb25840874c295a1e)
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify message around nsjail error</title>
<updated>2020-03-28T18:05:05+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2020-03-02T20:36:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=6d5d8a6d6a0a1a9dad8b70a50d8e3195bfefc0b7'/>
<id>6d5d8a6d6a0a1a9dad8b70a50d8e3195bfefc0b7</id>
<content type='text'>
We have known problems (docker; distros w/o user namespaces) which mean
that we won't be turning this into a fatal error anytime soon. Also
remove the bug report link, it's not useful to continue getting the same
reports.

Bug: 123210688
Test: treehugger
Change-Id: I271871d68150417ac938f074d3730cad4518e327
Merged-In: I271871d68150417ac938f074d3730cad4518e327
(cherry picked from commit 1871d88e4f443494d936b5cbe79b01b25167a8ce)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have known problems (docker; distros w/o user namespaces) which mean
that we won't be turning this into a fatal error anytime soon. Also
remove the bug report link, it's not useful to continue getting the same
reports.

Bug: 123210688
Test: treehugger
Change-Id: I271871d68150417ac938f074d3730cad4518e327
Merged-In: I271871d68150417ac938f074d3730cad4518e327
(cherry picked from commit 1871d88e4f443494d936b5cbe79b01b25167a8ce)
</pre>
</div>
</content>
</entry>
<entry>
<title>Always keep rsp files</title>
<updated>2020-03-27T12:03:30+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2020-03-12T17:30:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=706d5f673009f96935c30ca756318f23e44de759'/>
<id>706d5f673009f96935c30ca756318f23e44de759</id>
<content type='text'>
It's painful to debug without these.

Bug: 151160048
Test: do a build; find out -name '*.rsp'
Change-Id: I6fc25095442178c0bcbc1dea444ba51e9259c600
Merged-In: I6fc25095442178c0bcbc1dea444ba51e9259c600
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's painful to debug without these.

Bug: 151160048
Test: do a build; find out -name '*.rsp'
Change-Id: I6fc25095442178c0bcbc1dea444ba51e9259c600
Merged-In: I6fc25095442178c0bcbc1dea444ba51e9259c600
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup vendor_boot artifacts in PRODUCT_OUT on installclean</title>
<updated>2020-03-19T19:57:35+00:00</updated>
<author>
<name>Will McVicker</name>
<email>willmcvicker@google.com</email>
</author>
<published>2020-03-19T18:57:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=92326a9fa47e2eda9718d2659bb136db424b85da'/>
<id>92326a9fa47e2eda9718d2659bb136db424b85da</id>
<content type='text'>
This makes sure that we don't keep old vendor_boot artifacts around
after a clean.

Signed-off-by: Will McVicker &lt;willmcvicker@google.com&gt;
Fixes: 151957122
Bug: 151949371
Test: touch $OUT/vendor-ramdisk/test-file &amp;&amp; make installclean
Change-Id: I357929583f234212a998dceaa31506fce42e0255
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes sure that we don't keep old vendor_boot artifacts around
after a clean.

Signed-off-by: Will McVicker &lt;willmcvicker@google.com&gt;
Fixes: 151957122
Bug: 151949371
Test: touch $OUT/vendor-ramdisk/test-file &amp;&amp; make installclean
Change-Id: I357929583f234212a998dceaa31506fce42e0255
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop using the host python3</title>
<updated>2020-03-07T19:22:30+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2019-12-09T22:33:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=828e1575e1bd059aa5aa7c29f31b967052002ce7'/>
<id>828e1575e1bd059aa5aa7c29f31b967052002ce7</id>
<content type='text'>
We've now got a prebuilt in prebuilts/build-tools

Bug: 123089883
Test: treehugger
Change-Id: Ic0fb09c8970f3a1c9f3b7b0303168520dcbfc3d8
Merged-In: Ic0fb09c8970f3a1c9f3b7b0303168520dcbfc3d8
(cherry picked from commit 669f769470ff4ac4c97b6dac3d07c6c32343e44a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We've now got a prebuilt in prebuilts/build-tools

Bug: 123089883
Test: treehugger
Change-Id: Ic0fb09c8970f3a1c9f3b7b0303168520dcbfc3d8
Merged-In: Ic0fb09c8970f3a1c9f3b7b0303168520dcbfc3d8
(cherry picked from commit 669f769470ff4ac4c97b6dac3d07c6c32343e44a)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add CCACHE_DIR to allowed environment variables</title>
<updated>2020-02-18T11:28:53+00:00</updated>
<author>
<name>John Eckerdal</name>
<email>john.eckerdal@sony.com</email>
</author>
<published>2020-02-04T14:59:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=974b0e80c7dba45c08390e28b9dbf2b60f71ec4e'/>
<id>974b0e80c7dba45c08390e28b9dbf2b60f71ec4e</id>
<content type='text'>
Trying to override the default directory for ccache by using the
CCACHE_DIR environment variable fails unless it is in the allowed
list.

Bug: 149670916
Test: manual
Change-Id: I8e7eea7a5c25d7ea5f0956fafc70d62522f3c4fc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Trying to override the default directory for ccache by using the
CCACHE_DIR environment variable fails unless it is in the allowed
list.

Bug: 149670916
Test: manual
Change-Id: I8e7eea7a5c25d7ea5f0956fafc70d62522f3c4fc
</pre>
</div>
</content>
</entry>
</feed>
