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

Update build.py to support MtoA artifactory download #69

Closed

Conversation

roopavr-adsk
Copy link
Contributor

No description provided.

@roopavr-adsk roopavr-adsk self-assigned this Feb 13, 2024
@@ -500,7 +500,11 @@ def BuildAndInstall(context, buildArgs, stages):

if context.mayaUsdLocation:
extraArgs.append('-DMAYAUSD_LOCATION="{mayaUsdLocation}"'
.format(mayaUsdLocation=context.mayaUsdLocation.replace("\\","/")))
.format(mayaUsdLocation=context.mayaUsdLocation.replace("\\","/")))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should not need the replace here.

Comment on lines +676 to +677
self.mtoaLocation = (os.path.abspath(args.mtoa_location)
if args.mtoa_location else None)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the replace here (like it is for mayaUsdLocation) above. Then these are sent to the BuildAndInstall and will have the / so no replace needed there.

@roopavr-adsk
Copy link
Contributor Author

Closing this PR as I cannot add another file to the PR. This PR was created while editing build.py in place on GitHub.

#71

@roopavr-adsk roopavr-adsk deleted the roopavr/HYDRA-836/addMayaHydraMtoAPluginSupport branch February 14, 2024 16:25
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