Add docs on setting up cross-compilers#35405
Conversation
There was a problem hiding this comment.
Thanks @wyphan for this addition!
Just one comment: it may be worth adding a sentence on cross-compiling for a different microarchitectures.
For example, on my system compilers are added with target x86_64 by default, and in order to be able to compile for target=zen3 on a haswell system, I only need to do the spack config change (no need to modify compiler specs).
|
Spack doesn't support cross-compilation, so I don't think we should imply with docs that it can. |
scheibelp
left a comment
There was a problem hiding this comment.
I'd like to move this section and adjust the language a bit (specifics in comments)
|
so, to chime in: Spack supports cross-compilation (to an extent); firstly: there's a flag (called back in 2019 there were 2 discussions (this one about trying to cross-compile boost and this one about trying to cross compile a GCC compiler) we're also interested in this use-case; i've found this issue (#17239) that starts to tackle this into a direction; |
Specifically, this is added to the section on manual compiler configuration.