🔧 👷 Refactor LLVM toolchain for native builds and improved CI#37
Merged
🔧 👷 Refactor LLVM toolchain for native builds and improved CI#37
Conversation
65dd9fb to
b84a698
Compare
- Add ar, ld, nm, objcopy, objdump, ranlib, strip to cpp_info executables - Expand CMake variables to include all compiler and utility tools - Define standard environment variables (CC, CXX, AS, AR, LD, NM, etc.) in buildenv - Add README section documenting how to build tools for platforms using the toolchain
61befe9 to
0ddbaad
Compare
- Deleted build profiles as the llvm-X profiles will include the default profile by default We need to update the readme next
8a27dec to
c496e80
Compare
7067d27 to
fe0e434
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enable the LLVM toolchain package to build applications for native
platforms (Linux, macOS, Windows) in addition to cross-compilation
targets. Previously, the toolchain only configured itself when
settings_target was present (cross-compilation). Now it properly
detects and configures for native builds as well.
Key changes:
OBJCOPY, OBJDUMP, RANLIB, STRIP, ADDR2LINE, etc.) for better
toolchain integration
CMake correctly identifies the target OS
context separation and auto-detection of OS/arch
macos_arm, macos_x86_64, windows_arm, windows_x86_64)
CI workflow improvements:
Demo and test updates:
Documentation: