Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support arm builds again #7

Merged
merged 1 commit into from
Oct 27, 2016
Merged

support arm builds again #7

merged 1 commit into from
Oct 27, 2016

Conversation

dirk-thomas
Copy link
Member

  • ARM builds need to happen on Xenial since we don't support Trusty anymore.
  • In order to not pass --src-mounted --workspace-path as part of the greedy --ament-test-arg they need to be prefixed with --.
  • Since there is currently no OpenSplice Debian package for Xenial / ARM we disable the installation of it (this means enabling the use_opensplice flag for ARM jobs will fail the build).
  • Since there are no ARM binaries of Connext we also change the default value of the parameter to false.

@dirk-thomas dirk-thomas added the in review Waiting for review (Kanban column) label Oct 27, 2016
@dirk-thomas dirk-thomas self-assigned this Oct 27, 2016
@@ -177,7 +177,7 @@ tmpd=`mktemp -d`
mkdir $tmpd/src
curl -sk https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos -o $tmpd/ros2.repos
vcs import $tmpd/src --input $tmpd/ros2.repos
export CI_ARGS="$CI_ARGS --src-mounted --workspace-path $tmpd"
export CI_ARGS="$CI_ARGS -- --src-mounted --workspace-path $tmpd"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logic could end up duplicated in another part of the code and then we might one day end up with --ament-test-args -- -- --src-mounted --workspace-path (which current makes ament invocations fail). I know it's not an issue for now, but I ticketed it at ament/ament_tools#111

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if ament/ament_tools#111 is to be marked as wontfix, I suggest moving the extra delimiter to where any catch-all argument are appended.

Otherwise, if we decide not to append the --ament-test-args for one reason or another, or we append another argument that is not catch-all before we get to this line, we will end up with -- --src-mounted --workspace-path which will cause ament to fail

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@dhood dhood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dirk-thomas
Copy link
Member Author

Good catch. Added the trailing delimiter to the windows args. See e.g. https://github.com/ros2/ci/pull/7/files#diff-1cba2a8b70d9923b4b888bca2911fd9aR245

@dirk-thomas dirk-thomas merged commit 2e5104a into master Oct 27, 2016
@dirk-thomas dirk-thomas deleted the arm branch October 27, 2016 21:27
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Oct 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants