Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8568)

Issue 281820043: i#1551 port to ARM: add cross-compile to unix suite

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 4 months ago by Byron
Modified:
8 years, 4 months ago
Reviewers:
bruening
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#1551 port to ARM: add cross-compile to unix suite Adds two cross-compile builds to the unix test suite to verify that the ARM build works. Skips ARM tests. ---------------

Patch Set 1 #

Total comments: 11

Patch Set 2 : revisions #

Total comments: 6

Patch Set 3 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -0 lines) Patch
M suite/runsuite.cmake View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M suite/runsuite_common_post.cmake View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M suite/runsuite_common_pre.cmake View 1 2 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 9
Byron
8 years, 4 months ago (2015-12-14 00:16:29 UTC) #1
Byron
I can't find any way to disable the output of ctest_configure(), so it will print ...
8 years, 4 months ago (2015-12-14 00:38:17 UTC) #2
bruening
https://codereview.appspot.com/281820043/diff/1/suite/runsuite.cmake File suite/runsuite.cmake (right): https://codereview.appspot.com/281820043/diff/1/suite/runsuite.cmake#newcode266 suite/runsuite.cmake:266: if (UNIX) Not a sufficient if(): this should not ...
8 years, 4 months ago (2015-12-14 15:55:49 UTC) #3
Byron
Commit log for latest patchset: --------------- i#1551 port to ARM: add cross-compile to unix suite ...
8 years, 4 months ago (2015-12-14 21:37:02 UTC) #4
Byron
The summary now looks like this when the ARM cross-compile is not available: ================================================== RESULTS ...
8 years, 4 months ago (2015-12-14 21:38:46 UTC) #5
Byron
Correction (pasted a buggy summary above): ================================================== RESULTS arm-debug-internal-32: skipped (platform unavailable) arm-release-external-32: skipped (platform ...
8 years, 4 months ago (2015-12-14 21:40:25 UTC) #6
bruening
A few issues to clean up some hardcoded vs generic behavior, but after that LGTM ...
8 years, 4 months ago (2015-12-15 16:47:09 UTC) #7
Byron
Committed as https://github.com/DynamoRIO/dynamorio/commit/beacb913e0b6dbeb80f69a6cc13e1d088ea1f196 Final commit log: --------------- i#1551 port to ARM: add cross-compile to unix ...
8 years, 4 months ago (2015-12-18 03:47:23 UTC) #8
Byron
8 years, 4 months ago (2015-12-18 03:49:28 UTC) #9
https://codereview.appspot.com/281820043/diff/20001/suite/runsuite_common_pre...
File suite/runsuite_common_pre.cmake (right):

https://codereview.appspot.com/281820043/diff/20001/suite/runsuite_common_pre...
suite/runsuite_common_pre.cmake:592: if (optional_build)
On 2015/12/15 16:47:09, bruening wrote:
> Add an XXX about this being a hidden param via global var that would be
cleaner
> as a real param but that would break back compat.  Add a note about it as
> another param to the comment at the top of testbuild_ex.

Done.

https://codereview.appspot.com/281820043/diff/20001/suite/runsuite_common_pre...
suite/runsuite_common_pre.cmake:598: message("Warning: cross-compile for ARM is
not available--skipping ARM build")
On 2015/12/15 16:47:09, bruening wrote:
> This hardcoded message about an ARM cross-compile for a generic variable
> "optional_build" does not seem right.  This should be changed to just print
sthg
> generic like "optional build ${name} failed".

Done.

https://codereview.appspot.com/281820043/diff/20001/suite/runsuite_common_pre...
suite/runsuite_common_pre.cmake:599: file(WRITE
${CTEST_BINARY_DIRECTORY}/Testing/platform-unavailable "${name}")
On 2015/12/15 16:47:09, bruening wrote:
> The docs for "optional_build" should state that it is meant for
> cross-compilation or other cases, to justify this "platform unavailable"
> message.  Maybe it should be "optional_cross_compile" or sthg.

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b