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

Build: Fix cuda compilation flags for LLVM 15 #1659

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Mar 21, 2023

For LLVM 15+, we need to disable opaque pointers. We did this for regular bitcode generation in llvm_macros.cmake, but neglected to make the corresponding change for compiling to ptx in cuda_macros.cmake.

@lgritz
Copy link
Collaborator Author

lgritz commented Mar 21, 2023

We missed this spot in #1592

For LLVM 15+, we need to disable opaque pointers. We did this for
regular bitcode generation in llvm_macros.cmake, but neglected to make
the corresponding change for copmiling to ptx in cuda_macros.cmake.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz lgritz merged commit a047c06 into AcademySoftwareFoundation:main Mar 27, 2023
@lgritz lgritz deleted the lg-cuda branch April 3, 2023 00:27
lgritz added a commit to lgritz/OpenShadingLanguage that referenced this pull request Apr 5, 2023
…ion#1659)

For LLVM 15+, we need to disable opaque pointers. We did this for
regular bitcode generation in llvm_macros.cmake, but neglected to make
the corresponding change for copmiling to ptx in cuda_macros.cmake.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
lgritz added a commit that referenced this pull request Apr 14, 2023
For LLVM 15+, we need to disable opaque pointers. We did this for
regular bitcode generation in llvm_macros.cmake, but neglected to make
the corresponding change for copmiling to ptx in cuda_macros.cmake.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
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.

1 participant