Closed
Description
With Apple having released Xcode 15.2 GM this week, it would benefit folks who build other language tooling with LLVM/Clang using this repository to have support for the xros
operating system in target triples (and whatever similar logic is needed in Clang to support XROS.platform
and XRSimulator.platform
).
Currently only Xcode's compilers support it, so any attempt to build tools with llvm/llvm-project that need to process xros
triples fail unless support for the OS is manually patched in.
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
tkremenek commentedon Jan 10, 2024
On the Apple side we are actively working on this, and hope to have patches up soon.
andrewrk commentedon Jan 10, 2024
Why is it called "xros" in the triple?
Rexicon226 commentedon Jan 10, 2024
This was the internal initial development name given to it, before being changed to visionOS "last minute" iirc. However it might have only been changed to visionOS on the outside, with internals still using "xros"?
cyndyishida commentedon Jan 11, 2024
Initial support is up for review at: #77707
We're working on follow-up patches and can close out this issue once those are merged.
allevato commentedon Jan 11, 2024
Thank you @cyndyishida !
JDevlieghere commentedon Jan 18, 2024
Cyndy landed the Mach-O support (#78373) and I've merged support for visionos in the clang driver (#78392) and lldb (#78389). I believe this covers the platform so I'm going to mark this as resolved.
arielttt0 commentedon Mar 18, 2024
does the lld linker support linking of xros aswell? because when i try for example enter: lld -arch arm64 -platform_version xros 1.0.0 1.0 i get "malformed platform: xros"
cyndyishida commentedon Mar 19, 2024
Looks like it was added about 3 weeks ago. #83031 If you're seeing issues on TOT, please file an additional issue.