Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Pixel build failures #737
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 12, 2017
Contributor
rm -r out should fix it. You should do that before production releases in general, since it won't handle all changes properly via incremental builds.
|
|
thestinger
closed this
Sep 12, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 12, 2017
Contributor
(or make clean / make clobber but I prefer rm -r out because it's quicker and fully clears away everything it built, including stuff related to build system itself)
|
(or |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
Rudd-O
Sep 12, 2017
OK. Please add that to the docs. Thank you. Note that doing that will cause the build to take six hours, instead of 1 hour.
Rudd-O
commented
Sep 12, 2017
|
OK. Please add that to the docs. Thank you. Note that doing that will cause the build to take six hours, instead of 1 hour. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
Rudd-O
Sep 12, 2017
Note that the solution does not make me happy at all because of the increased build times. ninja should not have a problem dealing with incremental builds.
Rudd-O
commented
Sep 12, 2017
|
Note that the solution does not make me happy at all because of the increased build times. ninja should not have a problem dealing with incremental builds. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 12, 2017
Contributor
I did add it to the documentation recently.
ninja should not have a problem dealing with incremental builds.
Incremental builds usually work but that's not guaranteed as they often don't pick up all changes completely. Removed files / modules don't get removed from the generated code. For development, it possible to get away with doing stuff like rm -r out/target/product/sailfish/system to deal with issues like WebView being removed but that isn't a reliable way of handling all changes. Proper production builds really need to be clean builds.
Similarly, changes to the toolchain are not always picked up, especially across the board. The only safe, complete option for production is a clean build.
|
I did add it to the documentation recently.
Incremental builds usually work but that's not guaranteed as they often don't pick up all changes completely. Removed files / modules don't get removed from the generated code. For development, it possible to get away with doing stuff like Similarly, changes to the toolchain are not always picked up, especially across the board. The only safe, complete option for production is a clean build. |
Rudd-O commentedSep 12, 2017