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

[nvq++] Add RPATH flags only to the final binary #52

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

boschmitt
Copy link
Collaborator

Description

This changes the behavior of the driver to only add the -rpath flags when linking the final binary. The main reason for this change is that the macOS linker does not allow adding -rpath option when merging object files. But also, when building in Linux, it seems unnecessary to add a -rpath flags when merging objects files (I think they get ignored anyway), and then again when doing the final binary liking.

tools/nvqpp/nvq++.in Outdated Show resolved Hide resolved
@schweitzpgi
Copy link
Collaborator

How do we get rid of all these spelling check warnings?

@amccaskey
Copy link
Collaborator

Per the spell check warnings, I just merged the PR on that one.

@boschmitt boschmitt force-pushed the driver_ldflags branch 2 times, most recently from 4fe6470 to bd8ec11 Compare April 3, 2023 18:27
@boschmitt
Copy link
Collaborator Author

How do we get rid of all these spelling check warnings?

In the three dots, next to the view check for files, you can choose the disable to option that show annotations

tools/nvqpp/nvq++.in Show resolved Hide resolved
tools/nvqpp/nvq++.in Show resolved Hide resolved
@bettinaheim
Copy link
Collaborator

How do we get rid of all these spelling check warnings?

@schweitzpgi In general, add words that are spelled correctly but not recognized (such as e.g. "qubit") to the allow list

Copy link
Collaborator

@schweitzpgi schweitzpgi left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for figuring this one out, Bruno.

@boschmitt boschmitt merged commit 1631ef6 into NVIDIA:main Apr 11, 2023
@boschmitt boschmitt deleted the driver_ldflags branch April 11, 2023 09:39
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
@bettinaheim bettinaheim added the release notes Changes need to be captured in the release notes label Jun 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release notes Changes need to be captured in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants