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

Support relative paths when prebuilding dependencies with CMake #1174

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

graebm
Copy link
Contributor

@graebm graebm commented Dec 3, 2024

Issue:
When aws-crt-java started prebuilding AWS-LC, the release pipeline broke due to a relative path being passed to CMake (see: awslabs/aws-crt-java#851)

Since the AwsPrebuildDependency changed the working directory while running CMake, the relative path became invalid.

Description of changes:
Instead of changing the working directory while running CMake, use the -B<path-to-build> option (which exists prior to CMake 3.13 even though it's not documented, note that it's a bit weird pre-3.13 with no space after the B))

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

…OT changing the working directory. Instead use the -B<path-to-build> option, which exists prior to CMake 3.13 even though it's not documented (note: it's a bit weird pre-3.13, with no space after the B)
@graebm graebm merged commit fadfef4 into main Dec 4, 2024
56 checks passed
@graebm graebm deleted the prebuild-relative-paths branch December 4, 2024 00:05
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.

2 participants