Skip to content

ci: Some minor llvm dependency improvements#2090

Merged
lgritz merged 1 commit intoAcademySoftwareFoundation:mainfrom
lgritz:lg-winllvm
Mar 20, 2026
Merged

ci: Some minor llvm dependency improvements#2090
lgritz merged 1 commit intoAcademySoftwareFoundation:mainfrom
lgritz:lg-winllvm

Conversation

@lgritz
Copy link
Collaborator

@lgritz lgritz commented Mar 6, 2026

While debugging some CI failures on Windows, I went down some wrong roads that turned out not to be related to the actual problem... but nevertheless are improvements I wish to keep. Here they are:

  • Attempt to use the install-llvm-action from Windows wasn't able to work (among other reasons) because we weren't passing along the llvm_action_ver variable.

  • For reasons I never quite understood, the llvm install action works a lot better on Windows if done before the "build setup" step. So I just moved that action earlier in the sequence.

  • Some status messages about how we are installing LLVM.

  • A correction in how we detect and print the pkg_ROOT environment variable in the log generated by handle_package_notfound.

  • Allow LLVM_PATH (set by that action) to be a proper hint for FindLLVM.cmake.

While debugging some CI failures on Windows, I went down some wrong
roads that turned out not to be related to the actual problem...  but
nevertheless are improvements I wish to keep. Here they are:

* Attempt to use the install-llvm-action from Windows wasn't able to
  work (among other reasons) because we weren't passing along the
  llvm_action_ver variable.

* For reasons I never quite understood, the llvm install action works
  a lot better on Windows if done before the "build setup" step. So
  I just moved that action earlier in the sequence.

* Some status messages about how we are installing LLVM.

* A correction in how we detect and print the pkg_ROOT environment
  variable in the log generated by handle_package_notfound.

* Allow LLVM_PATH (set by that action) to be a proper hint for
  FindLLVM.cmake.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz
Copy link
Collaborator Author

lgritz commented Mar 20, 2026

2 weeks in review, no objections -> merging

@lgritz lgritz merged commit f9121bb into AcademySoftwareFoundation:main Mar 20, 2026
27 checks passed
@lgritz lgritz deleted the lg-winllvm branch March 20, 2026 21:24
lgritz added a commit to lgritz/OpenShadingLanguage that referenced this pull request Mar 20, 2026
…n#2090)

While debugging some CI failures on Windows, I went down some wrong
roads that turned out not to be related to the actual problem...  but
nevertheless are improvements I wish to keep. Here they are:

* Attempt to use the install-llvm-action from Windows wasn't able to
  work (among other reasons) because we weren't passing along the
  llvm_action_ver variable.

* For reasons I never quite understood, the llvm install action works
  a lot better on Windows if done before the "build setup" step. So
  I just moved that action earlier in the sequence.

* Some status messages about how we are installing LLVM.

* A correction in how we detect and print the pkg_ROOT environment
  variable in the log generated by handle_package_notfound.

* Allow LLVM_PATH (set by that action) to be a proper hint for
  FindLLVM.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