Skip to content

Make firmware URL overrideable - #6098

Merged
dorodnic merged 2 commits into
realsenseai:developmentfrom
mikepurvis:patch-2
Mar 22, 2020
Merged

Make firmware URL overrideable#6098
dorodnic merged 2 commits into
realsenseai:developmentfrom
mikepurvis:patch-2

Conversation

@mikepurvis

@mikepurvis mikepurvis commented Mar 20, 2020

Copy link
Copy Markdown
Contributor

Change as proposed in #5114. This permits the firmware binaries to be mirrored on-site for more restrictive CI environments that do not permit external network access at build time.

Closes: #5114

@radfordi radfordi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, @mikepurvis! Looks good to me.

Comment thread common/fw/CMakeLists.txt Outdated

message(STATUS "Fetching recommended firmwares:")

set(REALSENSE_FIRMWARE_URL "http://realsense-hw-public.s3.amazonaws.com" CACHE STRING)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I thought the docstring was (annoyingly) required here. Any idea why this works?

set(<variable> <value>... CACHE <type> <docstring> [FORCE])

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Indeed, it does seem to be failing the CI here. Fixed now.

@dorodnic
dorodnic changed the base branch from master to development March 22, 2020 09:50
@dorodnic

Copy link
Copy Markdown
Contributor

Thanks @mikepurvis @radfordi

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.

Alternative download location for firmware?

3 participants