aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-04-20 06:16:19 +0200
committerGitHub <noreply@github.com>2025-04-20 04:16:19 +0000
commitac8fc09688e10e983b99224b5dc5cbbeeedb1879 (patch)
tree3c7bb60168303c26e03a8802502c7e945ffc4808 /llvm/lib/CodeGen/MachineInstr.cpp
parent9bcb18db89c5a3b317c0de2a5e94f18044390c3f (diff)
downloadllvm-ac8fc09688e10e983b99224b5dc5cbbeeedb1879.zip
llvm-ac8fc09688e10e983b99224b5dc5cbbeeedb1879.tar.gz
llvm-ac8fc09688e10e983b99224b5dc5cbbeeedb1879.tar.bz2
[offload] Unset `-march` when building GPU libraries (#136442)
Unset `-march` when invoking the compiler and linker to build the GPU libraries. These libraries use GPU targets rather than the CPU targets, and an incidental `-march=native` causes Clang to be able to determine the GPU used — which causes the build to fail when there is no GPU available. Resetting `-march=` should suffice to revert to building generic code for the time being. See the discussion in: https://github.com/llvm/llvm-project/pull/126143#issuecomment-2816718492
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions