aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2025-06-05 17:56:21 +0100
committerGitHub <noreply@github.com>2025-06-05 17:56:21 +0100
commit6306f0fa21739d426b5ce394b356a482a4f43e98 (patch)
tree19938ee784e20dbe78a4862a38f7c54e0c336e13 /clang/lib/CodeGen/CodeGenModule.cpp
parent64c094b14c822ccf42fcad759a25e22215aabc23 (diff)
downloadllvm-6306f0fa21739d426b5ce394b356a482a4f43e98.zip
llvm-6306f0fa21739d426b5ce394b356a482a4f43e98.tar.gz
llvm-6306f0fa21739d426b5ce394b356a482a4f43e98.tar.bz2
[libclc] Support LLVM_ENABLE_RUNTIMES when building (#141574)
This commit deprecates the use of LLVM_ENABLE_PROJECTS in favour of LLVM_ENABLE_RUNTIMES when building libclc. Alternatively, using -DLLVM_RUNTIME_TARGETS=<triple> combined with -DRUNTIMES_<triple>_LLVM_ENABLE_RUNTIMES=libclc also gets pretty far but fails due to zlib problems building the LLVM utility 'prepare_builtins'. I'm not sure what's going on there but I don't think it's required at this stage. More work would be required to support that option. This does nothing to change how the host tools are found in order to be used to actually build the libclc libraries. Note that under such a configuration the final libclc builtin libraries are placed in `<build>/runtimes/runtimes-bins/libclc/`, which differs from a non-runtimes build. The installation location remains the same. Fixes #124013.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions