-
-
Notifications
You must be signed in to change notification settings - Fork 112
Fix osmium tool build #324
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
base: develop
Are you sure you want to change the base?
Conversation
WalkthroughAdds a Debian GitHub Actions workflow, extends Ubuntu CI to build the Osmium tool, modernizes tools/osmium CMake (PQXX discovery, CMake minimum/project update, Boost/PQXX handling), removes the old FindLibPQXX module, adjusts FindOsmium header check, and makes a small main() signature/return fix in Osmium source. Changes
Estimated code review effort🎯 5 (Critical) | ⏱️ ~120 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 5
🧹 Nitpick comments (1)
.github/workflows/ubuntu.yml (1)
92-96: Consider moving cmake configuration to a dedicated step.The osmium tool cmake configuration is embedded within the "Configure compiler" step. While functional, separating it into its own step would improve readability and make CI logs easier to debug.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (7)
.github/workflows/debian.yml(1 hunks).github/workflows/ubuntu.yml(3 hunks)tools/osmium/CMakeLists.txt(2 hunks)tools/osmium/cmake/FindLibPQXX.cmake(0 hunks)tools/osmium/cmake/FindOsmium.cmake(1 hunks)tools/osmium/cmake/FindPQXX.cmake(1 hunks)tools/osmium/src/getrestrictions.cpp(2 hunks)
💤 Files with no reviewable changes (1)
- tools/osmium/cmake/FindLibPQXX.cmake
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (164)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Release, ubuntu-latest, g++-11)
🔇 Additional comments (10)
.github/workflows/debian.yml (3)
64-65: Verify Debian package compatibility for libpqxx dependency.Installing both
libpqxx-dev(a metapackage) and a specific versioned package likelibpqxx-6.4could potentially create package conflicts in Debian/Ubuntu systems. The-devmetapackage typically depends on a specific runtime version, which may conflict with the explicitly pinned version.Please confirm whether this dependency combination is intentional and works correctly across the test matrix. You can verify by:
- Checking Debian package relationships to see if
libpqxx-devhard-pins a specific runtime version- Running a test build locally with a similar Docker image to confirm no apt resolver conflicts
- Reviewing package documentation for the versions specified in the matrix (6.4, 7.10)
Alternatively, if the goal is to pin a specific pqxx version for compatibility testing, consider whether installing only the versioned package (and letting it pull required dev headers transitively) would be simpler.
51-69: Good practice: Comprehensive dependency coverage for osmium tooling.The workflow correctly installs all required build dependencies including libosmium2-dev and related libraries (libexpat, zlib). This should provide the headers needed to resolve the std::conditional_t type errors mentioned in issue #323.
71-92: No changes needed—workflows and install targets are properly configured.The Debian workflow's Configure and Build steps for osmium tooling match the Ubuntu workflow exactly, and the osmium CMakeLists.txt correctly defines the install target for the getrestrictions binary (INSTALL(TARGETS getrestrictions ...) at lines 95–97). Both workflows safely invoke
make install.tools/osmium/src/getrestrictions.cpp (2)
46-52: LGTM! Proper main function signature and return handling.The changes correctly fix the clang compilation error by using the standard
int main(int argc, char *argv[])signature and replacingexit(1)withreturn 1for consistent exit handling.
136-136: Explicit return statement added.Good practice to explicitly return 0 for successful program termination.
.github/workflows/ubuntu.yml (2)
31-35: Good use of matrix includes for version-specific dependencies.The matrix includes correctly map OS versions to their respective libpqxx versions (7.8 for ubuntu-latest, 6.4 for ubuntu-22.04), ensuring compatibility across different Ubuntu releases.
74-78: Required dependencies for osmium tool build.The added dependencies (libpqxx, libexpat, libosmium2-dev, zlib1g-dev) are necessary for building the osmium tool.
tools/osmium/cmake/FindOsmium.cmake (1)
68-71: Consistent header detection with version extraction.Searching for
osmium/version.hppinstead ofosmium/osm.hppaligns with the version extraction logic at lines 75-80, which already reads fromversion.hpp. This provides a more consistent and reliable detection mechanism.tools/osmium/cmake/FindPQXX.cmake (1)
56-62: PQXX discovery module looks good overall.The module correctly uses
FindPackageHandleStandardArgswith version support. The discovery logic is solid.tools/osmium/CMakeLists.txt (1)
48-54: Good version-aware C++ standard selection.The logic to set C++17 for libpqxx >= 7.0.0 and C++14 for older versions correctly handles the API compatibility requirements between different libpqxx major versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (2)
tools/osmium/CMakeLists.txt (2)
28-28: Consider listing sources explicitly instead of usingFILE(GLOB ...).CMake documentation discourages
FILE(GLOB)for collecting sources because new files won't trigger a reconfigure. However, this is a minor tool and the pattern is commonly used, so this is acceptable if you're aware of the trade-off.
96-96: Install path usesCMAKE_INSTALL_PREFIXdirectly.Using
${CMAKE_INSTALL_PREFIX}/binworks but is less idiomatic than usingbinalone, which CMake will automatically prefix. This is fine as-is but could be simplified.- RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" + RUNTIME DESTINATION bin
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
cmake/FindPQXX.cmake(2 hunks)tools/osmium/CMakeLists.txt(2 hunks)tools/osmium/cmake/FindPQXX.cmake(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- tools/osmium/cmake/FindPQXX.cmake
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (139)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Debian postgis (15, 3.5)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Debian postgis (17, 3.5)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Debian postgis (15, 3.5)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Debian postgis (17, 3.5)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Debian postgis (15, 3.5)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Debian postgis (17, 3.5)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Debian postgis (15, 3.5)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Debian postgis (17, 3.5)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Debian postgis (15, 3.5)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Debian postgis (17, 3.5)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Debian postgis (15, 3.5)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Debian postgis (17, 3.5)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Debian postgis (15, 3.5)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (18, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Debian postgis (15, 3.5)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (18, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Debian postgis (15, 3.5)
- GitHub Check: Debian postgis (14, 3.5)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (18, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Debian postgis (15, 3.5)
- GitHub Check: Debian postgis (14, 3.5)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, g++-11)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (15, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (18, 3, Debug, ubuntu-latest, clang)
🔇 Additional comments (9)
cmake/FindPQXX.cmake (2)
31-31: LGTM!Correctly aligns
mark_as_advancedwith the actual variable namePQXX_LIBRARIESdefined at line 27.
40-48: Good fix for the typo.The correction from
PQXX_VERSION_MAYORtoPQXX_VERSION_MAJORfixes a naming inconsistency that would have caused version parsing issues.tools/osmium/CMakeLists.txt (7)
1-10: LGTM!Good modernization of CMake configuration:
- Minimum version 3.12 is appropriate for the features used.
- Project declaration with explicit VERSION and LANGUAGES is best practice.
15-18: LGTM!Clean migration from
LibPQXXto the unifiedPQXXfinder module, consistent withcmake/FindPQXX.cmake.
48-54: LGTM!The C++ standard conditional logic based on PQXX version is correct—PQXX 7.0+ requires C++17, while earlier versions work with C++14. The
PQXX_DISCONNECTdefinition for older versions is appropriate for API compatibility.
56-57: Good fix removing the conflicting-std=c++0xflag.The previous review concern about conflicting C++ standard flags has been addressed. The code now relies on
CMAKE_CXX_STANDARD(lines 50/53) for standard selection.
71-71: Good fix using the singular form.The previous review concern about
PQXX_INCLUDE_DIRSvsPQXX_INCLUDE_DIRhas been addressed. This now correctly matches the variable defined inFindPQXX.cmake.
99-101: Good fix using the correct target name.The previous review concern about the wrong target name (
osm2pgroutingvsgetrestrictions) has been addressed. The Windows socket libraries are now correctly linked to thegetrestrictionstarget.
39-39:BOOST_MINIMUM_VERSIONis undefined and should be either defined or removed.The variable
BOOST_MINIMUM_VERSIONis referenced at line 39 but is never defined in this file or anywhere else in the repository. When undefined, CMake substitutes an empty string, causingfind_package(Boost)to search without a minimum version constraint. Either defineBOOST_MINIMUM_VERSIONto enforce a minimum Boost version, or remove it from thefind_package()call if no version constraint is needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
tools/osmium/CMakeLists.txt (1)
13-13: Consider aligning SHARE_DIR with top-level CMakeLists pattern.Line 13 uses a hardcoded path
"/usr/share/getrestrictions", while the top-level CMakeLists.txt uses"${CMAKE_INSTALL_PREFIX}/share/osm2pgrouting". If this tool is meant to be relocatable and respect CMAKE_INSTALL_PREFIX (e.g., for non-system installations or cross-compilation), consider updating to:-SET(SHARE_DIR "/usr/share/getrestrictions") +SET(SHARE_DIR "${CMAKE_INSTALL_PREFIX}/share/getrestrictions")This is a minor portability concern and may be intentional if this tool is always installed to
/usr; verify with the project maintainers.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
CMakeLists.txt(1 hunks)tools/osmium/CMakeLists.txt(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (106)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Debian postgis (17, 3.5)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Debian postgis (17, 3.5)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Debian postgis (17, 3.5)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (17, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (17, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (17, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (17, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (17, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (17, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (17, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (17, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (17, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (17, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (17, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (17, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Ubuntu psql (14, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Release, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, clang)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-22.04, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, gcc-latest)
- GitHub Check: Ubuntu psql (13, 3, Debug, ubuntu-latest, g++-11)
- GitHub Check: Ubuntu psql (17, 3, Debug, ubuntu-22.04, clang)
- GitHub Check: Ubuntu psql (17, 3, Release, ubuntu-latest, gcc-latest)
🔇 Additional comments (5)
CMakeLists.txt (1)
71-71: ✓ Correct variable case in Boost status message.The message now correctly references
${Boost_LIBRARIES}(capital B) instead of the invalid${boost_LIBRARIES}, ensuring the status message displays the actual Boost libraries. This aligns with CMake's FindBoost module conventions and is consistent with line 86 where the same variable is used in linking.tools/osmium/CMakeLists.txt (4)
1-28: ✓ Modernized CMake setup and correct PQXX integration.The CMake configuration now uses version 3.12, modern PROJECT declaration, and updated dependency discovery through the new PQXX module (replacing LIBPQXX). The project and executable names are consistent (both
getrestrictions), and all required packages are discovered correctly.
48-66: ✓ C++ standard logic and compiler flags corrected.The obsolete
-std=c++0xflag has been removed (line 56), and the project now relies on modernCMAKE_CXX_STANDARDset by PQXX version logic (C++17 for PQXX ≥7.0.0, else C++14). Debug flags now include-gfor symbol generation. This resolves past review feedback about conflicting C++ standard flags.
71-77: ✓ Status messages use correct variable names.All debugging messages now reference the correct variables:
PQXX_INCLUDE_DIR(singular, not plural) andBoost_LIBRARIES(capital B). These match the outputs fromfind_package()calls and will display actual values instead of empty strings.
85-101: ✓ Executable linking and Windows support corrected.The executable
getrestrictionsis correctly defined, linked with all required libraries (PQXX, PostgreSQL, EXPAT, Boost, Osmium), and Windows socket libraries (wsock32,ws2_32) are properly linked to the correct target name. This resolves past critical issues around target naming consistency.
Fixes #323.
Changes proposed in this pull request:
Related PR: pgRouting/docker-pgrouting#75
@pgRouting/admins
Summary by CodeRabbit
New Features
Chores
Bug Fixes
✏️ Tip: You can customize this high-level summary in your review settings.