FS#62299 - [rust/llvm7] Target CPU help is not supported by this LLVM version.
Attached to Project:
Community Packages
Opened by Jan Alexander Steffens (heftig) - Wednesday, 10 April 2019, 13:33 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 13 April 2019, 14:23 GMT
Opened by Jan Alexander Steffens (heftig) - Wednesday, 10 April 2019, 13:33 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 13 April 2019, 14:23 GMT
|
Details
The following parameters to the --print argument do not
work:
> rustc --print target-cpus Target CPU help is not supported by this LLVM version. > rustc --print target-features Target features help is not supported by this LLVM version. rust 1.33.0-2 llvm7-libs 7.0.1-1 |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Saturday, 13 April 2019, 14:23 GMT
Reason for closing: Not a bug
Additional comments about closing: The flags mentioned are unavailable when rust is built with system LLVM.
Saturday, 13 April 2019, 14:23 GMT
Reason for closing: Not a bug
Additional comments about closing: The flags mentioned are unavailable when rust is built with system LLVM.
As far as I know, their approach is to stay compatible with released LLVM versions, so there should be no need to use their LLVM fork.
It seems you can get a list of CPUs/features using: llc -march=x86-64 -mattr=help