Skip to content

build: small fixups for LLVM 21 support#2034

Merged
lgritz merged 1 commit intoAcademySoftwareFoundation:mainfrom
boberfly:llvm21_fixups
Oct 29, 2025
Merged

build: small fixups for LLVM 21 support#2034
lgritz merged 1 commit intoAcademySoftwareFoundation:mainfrom
boberfly:llvm21_fixups

Conversation

@boberfly
Copy link
Contributor

Description

I wanted to move onto LLVM 21 so I tried the new #2030 merge but I think it wasn't tested with Optix and there were a few setTargetTriple calls that needed to be tweaked as well.

Tests

Just a basic build with Optix 9 and LLVM 21.1.2 works with this.

Checklist:

  • I have read the contribution guidelines.
  • I have updated the documentation, if applicable.
  • I have ensured that the change is tested somewhere in the testsuite (adding new test cases if necessary).
  • My code follows the prevailing code style of this project. If I haven't
    already run clang-format v17 before submitting, I definitely will look at
    the CI test that runs clang-format and fix anything that it highlights as
    being nonconforming.

Signed-off-by: Alex Fuller <boberfly@gmail.com>
Copy link
Collaborator

@lgritz lgritz left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for catching this.

@lgritz lgritz merged commit 29f1484 into AcademySoftwareFoundation:main Oct 29, 2025
26 checks passed
lgritz pushed a commit to lgritz/OpenShadingLanguage that referenced this pull request Oct 29, 2025
@lgritz lgritz added build / testing / port / CI Affecting the build system, tests, platform support, porting, or continuous integration. llvm Needs LLVM knowledge labels Nov 22, 2025
bisqottii pushed a commit to bisqottii/OpenShadingLanguage that referenced this pull request Jan 24, 2026
Signed-off-by: Alex Fuller <boberfly@gmail.com>
Signed-off-by: Alexandru Biscoveanu <alex.biscoveanu.gfx@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build / testing / port / CI Affecting the build system, tests, platform support, porting, or continuous integration. llvm Needs LLVM knowledge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants