-
Notifications
You must be signed in to change notification settings - Fork 122
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
build: fix pkgconfig files #1913
Conversation
# This module provides function for joining paths | ||
# known from most languages | ||
# | ||
# SPDX-License-Identifier: (MIT OR CC0-1.0) |
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.
A note for reference: Here's a link to the CC0-1.0 license: https://creativecommons.org/publicdomain/zero/1.0/
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1913 +/- ##
=======================================
Coverage 78.50% 78.50%
=======================================
Files 585 585
Lines 99681 99681
Branches 14265 14273 +8
=======================================
+ Hits 78257 78258 +1
Misses 20788 20788
+ Partials 636 635 -1 ☔ View full report in Codecov by Sentry. |
Hello @theoparis -- thanks for the PR! Is there an easy way to test this in our CI, so we can avoid a regression in the future? |
Hmm, I'm not sure what the best way of testing this kind of change would be. I made a Nix derivation here. Maybe it could be tested via a Nix github action? Nix is what reported the broken pkg-config paths. |
Description of changes:
Currently the pkgconfig files are broken when aws-lc is built with Nix.
See https://github.com/jtojnar/cmake-snips?tab=readme-ov-file#concatenating-paths-when-building-pkg-config-files, and the PR made to libfmt fmtlib/fmt#1657
Call-outs:
I'm not sure if bumping the minimum required CMake version is preferred. The alternative would be to add https://github.com/jtojnar/cmake-snips/blob/master/CMakeScripts/JoinPaths.cmake to the
cmake/
directory in the repository. However, most linux distributions have at least CMake 3.20, if not 3.25 so I don't see why this would be a problem.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.