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

Use git hash for zstd vendor #969

Merged
merged 1 commit into from
Mar 9, 2022
Merged

Use git hash for zstd vendor #969

merged 1 commit into from
Mar 9, 2022

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Mar 7, 2022

CMake ExternalProject_add recommends using a specific git hash with
GIT_TAG because branches and tags can be updated to point to different
references.

https://cmake.org/cmake/help/latest/module/ExternalProject.html

This switches zstd_vendor to a git hash.
sqlite3_vendor and shared_queues_vendor don't need to be changed because
they use URL and URL_MD5 instead.

Signed-off-by: Shane Loretz sloretz@osrfoundation.org

CMake ExternalProject_add recommends using a specific git hash with
GIT_TAG because branches and tags can be updated to point to different
references.

https://cmake.org/cmake/help/latest/module/ExternalProject.html

This switches zstd_vendor to a git hash.
sqlite3_vendor and shared_queues_vendor don't need to be changed because
they use URL and URL_MD5 instead.

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz sloretz requested a review from clalancette March 7, 2022 23:58
@sloretz sloretz requested a review from a team as a code owner March 7, 2022 23:58
@sloretz sloretz self-assigned this Mar 7, 2022
@sloretz sloretz requested review from emersonknapp and jhdcs and removed request for a team March 7, 2022 23:58
@jhdcs
Copy link
Contributor

jhdcs commented Mar 8, 2022

There appears to be a build error on Ubuntu Jammy - It's not able to find a build target for Python 3.9?

@clalancette
Copy link
Contributor

There appears to be a build error on Ubuntu Jammy - It's not able to find a build target for Python 3.9?

Ubuntu Jammy is currently going through a (painful) Python 3.9 -> 3.10 transition. Some of our underlying dependencies haven't been rebuilt, and so things are not working. At the moment, we are relying strictly on builds from https://ci.ros2.org, which doesn't have this problem (due to the way it's Python is setup, which is different than for the PR jobs). Once Jammy sorts itself out with the Python version, PR builds should come back.

Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

Looks good to me with green CI.

@sloretz
Copy link
Contributor Author

sloretz commented Mar 8, 2022

CI (build: --packages-above-and-dependencies zstd_vendor test: --packages-select zstd_vendor)

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@sloretz
Copy link
Contributor Author

sloretz commented Mar 8, 2022

Looks like CI is green 🎉 . @jhdcs if it looks good to you, may I merge this?

Copy link
Contributor

@jhdcs jhdcs left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@jhdcs jhdcs merged commit 9880894 into master Mar 9, 2022
@delete-merged-branch delete-merged-branch bot deleted the sloretz__zstd_vendor__sha256 branch March 9, 2022 12:31
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.

3 participants