[Openmp-commits] [clang] [llvm] [openmp] [PGO][OpenMP] Instrumentation for GPU devices (PR #76587)

Ethan Luis McDonough via Openmp-commits openmp-commits at lists.llvm.org
Fri Jun 28 10:32:07 PDT 2024


EthanLuisMcDonough wrote:

> Yes of course:
> 
> ```
> cmake \
>   -DCMAKE_BUILD_TYPE=Release \
>   -DCMAKE_INSTALL_PREFIX=~/rocm/trunk_1.0 \
>   -DLLVM_ENABLE_PROJECTS="clang;lld;llvm;clang-tools-extra;compiler-rt;flang" \
>   -DLLVM_LIT_ARGS="-vv --show-unsupported --show-xfail -j 32" \
>   -DLLVM_TARGETS_TO_BUILD="X86;AMDGPU" \
>   -DLLVM_ENABLE_ASSERTIONS=ON \
>   -DLIBOMPTARGET_ENABLE_DEBUG=ON \
>   -DPACKAGE_VENDOR="AMD" \
>   -DCLANG_DEFAULT_LINKER=lld \
>   -DLLVM_ENABLE_RUNTIMES="openmp;offload" \
>   -DRUNTIMES_amdgcn-amd-amdhsa_LLVM_ENABLE_RUNTIMES=libc \
>   -DLLVM_RUNTIME_TARGETS="default;amdgcn-amd-amdhsa" \
>   -DBUILD_SHARED_LIBS=ON \
>   ../llvm -GNinja
> ```

Thanks for this. I'll revert this for now, it seems like the test also fails on the buildbot.

https://github.com/llvm/llvm-project/pull/76587


More information about the Openmp-commits mailing list