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

Work around container build issue #381

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

bwbarrett
Copy link
Contributor

Work around an issue building in containers due to libcuda.so being stubbed out by only checking for libcuda if functional tests are built, and disabling the functional tests by default.

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

@bwbarrett bwbarrett requested a review from rajachan April 9, 2024 19:22
The plugins don't have a link-time dependency on libcuda.so, so
only check for the library if we actually need it (ie, we're building
the functional tests).  This works around a problem building on
containers, where it's likely that the libcuda.so library is either
not there or stubbed out (to be pulled up from the base AMI later).

Signed-off-by: Brian Barrett <bbarrett@amazon.com>
@bwbarrett bwbarrett force-pushed the bugfix/disable-tests-by-default branch from 97fa0e3 to 0db224e Compare April 10, 2024 02:44
@bwbarrett
Copy link
Contributor Author

After talking with Raghu, skip the commit that disables the tests for now for two reasons:

  1. it breaks CI, which assumed the unit tests were always installed
  2. it was a bigger change than we should make in a patch release

@rajachan rajachan merged commit 17022f4 into aws:master Apr 10, 2024
13 checks passed
@bwbarrett bwbarrett deleted the bugfix/disable-tests-by-default branch April 12, 2024 18:06
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