Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Update to LLVM 15 and Support LLVM 16 on Windows #660

Merged
merged 6 commits into from
Sep 26, 2023
Merged

Conversation

alexbaden
Copy link
Contributor

@alexbaden alexbaden commented Sep 6, 2023

Updates CI to use LLVM 15 and adds build support for LLVM 16.

For CI, the main change is to set VSINSTALLDIR so LLVM picks it up for proper linking. To do this, I use the vswhere.exe application which is installed with visual studio. Presumably this will survive version updates. I also modified the cache getters/setters as the cache was not being used in the build step, previously. Finally, my initial plan was to go to LLVM 16 but I ran into some opaque pointer issues even with my workarounds, so we're at LLVM 15 but I kept the commits to add build support for 16.

Interestingly my first run through the tests failed because I hit the same relocatable section error we've been seeing, so unfortunately LLVM 15 isn't fixing that one. Maybe 16 will.

@alexbaden alexbaden force-pushed the alex/llvm16_windows branch 8 times, most recently from 0b68013 to ee1f220 Compare September 26, 2023 01:37
@alexbaden alexbaden changed the title Update to LLVM 16 on Windows Update to LLVM 15 and Support LLVM 16 on Windows Sep 26, 2023
@alexbaden alexbaden marked this pull request as ready for review September 26, 2023 01:40
@alexbaden alexbaden merged commit 4f37224 into main Sep 26, 2023
@alexbaden alexbaden deleted the alex/llvm16_windows branch September 26, 2023 15:50
Copy link
Contributor

@leshikus leshikus left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants