Skip to content

Add new include search path folder for no-cmake build because of upstream AWS-LC change #2324#792

Merged
torben-hansen merged 1 commit intoaws:mainfrom
torben-hansen:fix_awslc_2324
Apr 28, 2025
Merged

Add new include search path folder for no-cmake build because of upstream AWS-LC change #2324#792
torben-hansen merged 1 commit intoaws:mainfrom
torben-hansen:fix_awslc_2324

Conversation

@torben-hansen
Copy link
Copy Markdown
Contributor

Description of changes:

aws/aws-lc#2324 implements a new import method for s2n-bignum upstream in AWS-LC. Among other things it introduces a new folder structure. This messes with assumptions for the aws-lc-rs prefix build, when not using cmake. aws-lc-rs has hard assumptions on the folder structure to add the correct include search paths.

Now s2n-bignum source in upstream AWS-LC is located under third_party/s2n-bignum/s2n-bignum-imported. Note third_party/s2-bignum contains the AWS-LC-specific header files. Hence we keep the existing search path.

This part of the prefix build of aws-lc-rs is quite brittle. But I can't really come up with any ideas that would resolve that easily.

Testing:

Tested locally using https://github.com/aws/aws-lc/blob/main/.github/workflows/aws-lc-rs.yml:

  • First re-produced the issue.
  • Added this change.
  • Subsequently, ran through all steps successfully.

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.

@torben-hansen torben-hansen requested a review from justsmth April 28, 2025 14:27
@torben-hansen torben-hansen requested a review from a team as a code owner April 28, 2025 14:27
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.90%. Comparing base (c358484) to head (b37b60c).
Report is 226 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #792      +/-   ##
==========================================
- Coverage   95.80%   92.90%   -2.90%     
==========================================
  Files          61       71      +10     
  Lines        8143     9717    +1574     
  Branches        0     9717    +9717     
==========================================
+ Hits         7801     9028    +1227     
- Misses        342      421      +79     
- Partials        0      268     +268     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@justsmth justsmth requested a review from skmcgrail April 28, 2025 16:50
@torben-hansen torben-hansen merged commit 36d2454 into aws:main Apr 28, 2025
276 of 279 checks passed
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.

4 participants