Skip to content
This repository was archived by the owner on Jul 1, 2021. It is now read-only.

check Poco version and if below 1.4.1p1 build from source#10

Merged
dirk-thomas merged 2 commits intomasterfrom
fix_flaky_pendulum_test
Sep 29, 2017
Merged

check Poco version and if below 1.4.1p1 build from source#10
dirk-thomas merged 2 commits intomasterfrom
fix_flaky_pendulum_test

Conversation

@dirk-thomas
Copy link
Copy Markdown
Member

See ros2/demos#177 why we need at least Poco version 1.4.1p1.

This patch falls back to build Poco from source if the installed version is too old which fixes ros2/demos#177: Build Status (look for Found Poco version 0x01030600 is too old, building from source instead in the console output).

Fixes #9

@dirk-thomas dirk-thomas added the in review Waiting for review (Kanban column) label Sep 29, 2017
@dirk-thomas dirk-thomas self-assigned this Sep 29, 2017
NO_DEFAULT_PATH
)
if(NOT Poco_VERSION_FILE)
message(STATUS "Found Poco version (< 1.4.0) is too old, building from source instead")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks like this version file was added in 1.3.7, can you clarify how you picked "1.4.0" for the printed message?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The CHANGELOG lists the addition in the "Release 1.4.0" section. That is where I got the version number from. Also I don't see any listing of a version 1.3.7 (neither in the changelog nor as a tag).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ok, I guess they had a branch for it but didnt ever released 1.3.7 and several commits on that branch say "preparing for 1.4.0". Sorry for the noise

Copy link
Copy Markdown
Member

@mikaelarguedas mikaelarguedas left a comment

Choose a reason for hiding this comment

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

Nice! ran 100 times without failing 👍

@dirk-thomas
Copy link
Copy Markdown
Member Author

Thanks for catching and fixing the style glitch.

@dirk-thomas dirk-thomas merged commit b5f6c81 into master Sep 29, 2017
@dirk-thomas dirk-thomas deleted the fix_flaky_pendulum_test branch September 29, 2017 18:26
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Sep 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

check version of poco and build from source if older than 1.4.1p1 pendulum_demo sometimes hanging forever

2 participants