-
Notifications
You must be signed in to change notification settings - Fork 47
feat: add conda recipe sample for Unreal Engine using rattler-build #169
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
Conversation
Signed-off-by: cherie-chen <[email protected]>
| # rattler-build automatically adds python and python_abi as runtime dependencies in the generated repodata.json file. | ||
| # Since this is an OpenJD adaptor package that will be installed into environments where Python is already present (and managed separately), | ||
| # we don't want rattler-build to inject these dependencies automatically. | ||
| # The ignore_run_exports directive prevents rattler-build from adding these implicit runtime dependencies while still allowing us to use them as build-time host dependencies. |
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.
Commends added to address PR feedback in PR168.
karthikbekalp
left a 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.
Great job @Cherie-Chen ! Just few minor nits. Feel free to ignore if you don't think they are necessary. :)
| version: ${{ version }} | ||
|
|
||
| source: | ||
| - path: 'C:\Program Files\Epic Games\UE_5.6\Engine' |
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.
Its best to use string interpolation {{version}} so that we don't need to edit for a different version.
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.
Good point. I will update this
Signed-off-by: cherie-chen <[email protected]>
|
|
||
| 1. Locate the built package in <publish-conda-channel> | ||
|
|
||
| 2. Upload to your S3 channel: |
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.
You can use the publish command to handle the upload and re-indexing in one step too. Describing that could make this section simpler and easier to follow.
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.
Good call. I have updated the readme to make it clearer on this.
…ising a conda package using rattler build Signed-off-by: cherie-chen <[email protected]>
…ising a conda package using rattler build Signed-off-by: cherie-chen <[email protected]>
karthikbekalp
left a 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.
Thanks for addressing the changes!
feat: add conda recipe sample for Unreal Engine using rattler-build
What was the problem/requirement? (What/Why)
There was a need to provide a sample conda recipe demonstrating how to package Unreal Engine for use with AWS Deadline Cloud. This is essential for customers who use Unreal Engine source build to render content.
What was the solution? (How)
Unreal Engine is too large (~80,000 files, 20+ GiB) to package using the standard Deadline Cloud job submission workflow. Uploading as a job attachment—whether compressed or not—creates significant overhead from upload/download/decompression time. This PR adds a UE conda recipe designed for local builds on machines where UE is already installed. Users can then publish directly to their S3 conda channel using rattler-build.
What is the impact of this change?
Provides developers and customers a conda recipe examples of packaging a Unreal Engine as a conda package so it can be used alongside Unreal Engine applications in the Deadline Cloud ecosystem.
How was this change tested?
Rendered UE jobs successfully in CMF and SMF.
Screenshot of successful run in SMF:
Was this change documented?
Yes, a README.md is added as part of the PR
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.