Re: ndk-r8c causing complete rebuilds without source changes

classic Classic list List threaded Threaded
1 message Options
pps
Reply | Threaded
Open this post in threaded view
|

Re: ndk-r8c causing complete rebuilds without source changes

pps
Alex, maybe you could communicate that fix to google devs? They still didn't fix that bug in their ndk download. Millions of developers will have that issue because google devs simply decided not to test it. Everytime I need to setup android build machine I google "alex r8c rebuild patch" :) Works well.
Can you give more info what was the problem and how that pipe fixes it? Seems that previous NDKs didn't have similar code in them, it probably took some time to figure out that fix?



On Sunday, November 18, 2012 2:58:40 AM UTC-5, Alex Cohn wrote:
I believe that the fix is easy: use order-only prerequisite, (cf. http://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html).

The patch is to change a single line 289 in build/core/definitions.mk from 

$1: $$(__ndk_file_dir)

to 

$1: | $$(__ndk_file_dir)

Enjoy,
Alex Cohn

On Friday, November 16, 2012 12:44:30 PM UTC+2, Digit wrote:
Reproduced, and tracked at http://code.google.com/p/android/issues/detail?id=39810

On Thu, Nov 15, 2012 at 8:57 AM, mango <[hidden email]> wrote:
Same here.


On Wednesday, November 14, 2012 7:44:43 PM UTC+2, Futumsh wrote:
With r8c, doing an ndk-build without having changed any sources seems to often cause a complete rebuild.  We didn't have this problem with r8b.  Is anyone else experiencing this?  I'm wondering if it's somethiing peculiar to our build setup.


--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/W2Z3YUdOkhUJ.

To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/iwkkBt5RG3QJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.