[compiler-rt] [compiler-rt] Initial support for builtins on GPU targets (PR #95304)
Yaxun Liu via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 13 09:18:42 PDT 2024
yxsamliu wrote:
> > @compnerd is there a canonical way to build for multiple architectures at the same time? I.e. given a standard CMake invocation I'd like to be able to build output for x64, amdgcn, and nvptx64 if they are all supported by the compiler.
>
> Invoke CMake multiple times :) CMake is designed to build for a single host at a time, so you would need to run a build per host.
Is it possible to build compiler-rt runtime by using LLVM built in a different build directory? This is to avoid building LLVM twice if we want to build compiler-rt for x86_64 and and amdgcn.
https://github.com/llvm/llvm-project/pull/95304
More information about the llvm-commits
mailing list