These changes were enough to compile compiler-rt builtins for armv8m.main and
armv8.1m.main.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
From an ELF perspective this looks good to me, armv7e-m appears in the same places for these targets. Will be worth adding someone from Apple to see if it is worth adding to CompilerRTDarwinUtils.cmake.
compiler-rt/lib/builtins/CMakeLists.txt | ||
---|---|---|
564 | in cmake/Modules/CompilerRTDarwinUtils.cmake there are a few references to macho_embedded_ARCHS for example: set(DARWIN_macho_embedded_ARCHS armv6m armv7m armv7em armv7 i386 x86_64) Would be useful to get someone from Apple on the review to check if we should add to this list as well. My guess is that these aren't needed for building bare-metal ELF. |
Hi @beanz . @peter.smith wondered if it would be useful to add armv8 targets to DARWIN_macho_embedded_ARCHS or somewhere else. Do you have an opinion on this, or could you recommend someone else who might have?
Thanks!
It's now been a bit more than a week since the last reply. I suggest we merge this. If we want to add the architectures to the Apple-specific targets, that can always be done later.
Sorry for not seeing this. Ignoring macho_embedded is the right call. That is really just used for macho baremetal and not many people outside Apple would bother with it.
in cmake/Modules/CompilerRTDarwinUtils.cmake there are a few references to macho_embedded_ARCHS for example:
Would be useful to get someone from Apple on the review to check if we should add to this list as well. My guess is that these aren't needed for building bare-metal ELF.