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

Make firmware URL overrideable #6098

Merged
merged 2 commits into from
Mar 22, 2020
Merged

Conversation

mikepurvis
Copy link
Contributor

@mikepurvis mikepurvis commented Mar 20, 2020

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

Copy link
Contributor

@radfordi radfordi left a comment

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.

@@ -8,30 +8,32 @@ file(READ "firmware-version.h" ver)

message(STATUS "Fetching recommended firmwares:")

set(REALSENSE_FIRMWARE_URL "http://realsense-hw-public.s3.amazonaws.com" CACHE STRING)
Copy link
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
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
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