[clang] [flang] [llvm] [mlir] [Flang]Fix for changed code at the end of AllocaIP. (PR #92430)

2024-06-17 Thread Ye Luo via cfe-commits
ye-luo wrote: progress? https://github.com/llvm/llvm-project/pull/92430 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CMake] Change GCC_INSTALL_PREFIX from warning to fatal error (PR #85891)

2024-03-26 Thread Ye Luo via cfe-commits
ye-luo wrote: `-DRUNTIMES_CMAKE_ARGS="-DCMAKE_C_FLAGS=--gcc-install-dir=$GCC_ROOT;-DCMAKE_CXX_FLAGS=--gcc-install-dir=$GCC_ROOT"` worked for me https://github.com/llvm/llvm-project/pull/85891 ___ cfe-commits mailing list cfe-commits@lists.llvm.org htt

[clang] [CMake] Change GCC_INSTALL_PREFIX from warning to fatal error (PR #85891)

2024-03-25 Thread Ye Luo via cfe-commits
ye-luo wrote: The term deprecated refers to a functionality that still exists in software whose use is not recommended. Contradictorily, GCC_INSTALL_PREFIX got me fatal error now without a clear message explaining how to keep it working. I had to dig deep to figure it out. Will "temporary" `U

[clang] [openmp] [OpenMP] Respect LLVM per-target install directories (PR #83282)

2024-03-05 Thread Ye Luo via cfe-commits
ye-luo wrote: Fixed the issue https://github.com/llvm/llvm-project/commit/0fa04b6e2cd2169a8e3d22ae879394dbf07c0466 Unrelated to building as projects. https://github.com/llvm/llvm-project/pull/83282 ___ cfe-commits mailing list cfe-commits@lists.llvm.o

[clang] [openmp] [OpenMP] Respect LLVM per-target install directories (PR #83282)

2024-03-05 Thread Ye Luo via cfe-commits
ye-luo wrote: I'm OK with the first two ``` -DLLVM_RUNTIME_TARGETS=default;amdgcn-amd-amdhsa;nvptx64-nvidia-cuda Enables the runtimes for the target triples, default is what you get without specifying anything ``` I actually think default should automatically include amdgcn and nvptx when I hav

[clang] [openmp] [OpenMP] Respect LLVM per-target install directories (PR #83282)

2024-03-05 Thread Ye Luo via cfe-commits
ye-luo wrote: Could you explain what each line do exactly? https://github.com/llvm/llvm-project/pull/83282 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [openmp] [OpenMP] Respect LLVM per-target install directories (PR #83282)

2024-03-05 Thread Ye Luo via cfe-commits
ye-luo wrote: > > @jdoerfert I would like to see the device code compilation (on device > > runtime) and host runtime compilation fully separate. Then I can build the > > runtime with gcc or sanitizer without disturbing device code compilation. > > Could you elaborate on this? One of my long-t

[clang] [openmp] [OpenMP] Respect LLVM per-target install directories (PR #83282)

2024-03-05 Thread Ye Luo via cfe-commits
ye-luo wrote: > > @jhuber6 could you build openmp as a project instead of runtime? > > Ah, I could try that. Though I believe that Johannes is going to completely > deprecate the projects build once moving to llvm/offload. @jdoerfert I would like to see the device code compilation (on device r

[clang] [openmp] [OpenMP] Respect LLVM per-target install directories (PR #83282)

2024-03-05 Thread Ye Luo via cfe-commits
ye-luo wrote: @jhuber6 could you build openmp as a project instead of runtime? https://github.com/llvm/llvm-project/pull/83282 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [openmp] [OpenMP] Respect LLVM per-target install directories (PR #83282)

2024-03-05 Thread Ye Luo via cfe-commits
ye-luo wrote: Still a myth on my side, I saw ``` [ 89%] Linking CXX shared library ../../../../../lib/libomptarget.rtl.cuda.so [ 90%] Linking CXX shared library ../../../../../lib/libomptarget.rtl.amdgpu.so -- Installing: /soft/compilers/llvm/main-20240305/lib/x86_64-unknown-linux-gnu/libomptarg

[clang] [openmp] [OpenMP] Respect LLVM per-target install directories (PR #83282)

2024-03-05 Thread Ye Luo via cfe-commits
ye-luo wrote: @jhuber6 unfortunately after 2fb764d2dae288f24335dfc168b5491a1017fc83 ``` ls /soft/compilers/llvm/master-nightly/lib/x86_64-unknown-linux-gnu/libomptarget.rtl* /soft/compilers/llvm/master-nightly/lib/x86_64-unknown-linux-gnu/libomptarget.rtl.cuda.so /soft/compilers/llvm/

[clang] [openmp] [OpenMP] Respect LLVM per-target install directories (PR #83282)

2024-03-01 Thread Ye Luo via cfe-commits
ye-luo wrote: It seems being installed twice both under `lib` and `lib/x86_64-unknown-linux-gnu`. files are the identical as diff show nothing. https://github.com/llvm/llvm-project/pull/83282 ___ cfe-commits mailing list cfe-commits@lists.llvm.org htt

[clang] [openmp] [OpenMP] Respect LLVM per-target install directories (PR #83282)

2024-03-01 Thread Ye Luo via cfe-commits
ye-luo wrote: ``` yeluo@epyc-server:/soft/llvm/main-20240301/lib$ ls libomp* -l lrwxrwxrwx 1 yeluo yeluo 34 Mar 1 11:18 libomptarget.rtl.amdgpu.so -> libomptarget.rtl.amdgpu.so.19.0git -r--r--r-- 1 yeluo yeluo 67532024 Mar 1 11:04 libomptarget.rtl.amdgpu.so.19.0git lrwxrwxrwx 1 yeluo ye

[clang] [LinkerWrapper] Forward more arguments to the CPU offloading linker (PR #75757)

2023-12-18 Thread Ye Luo via cfe-commits
https://github.com/ye-luo approved this pull request. https://github.com/llvm/llvm-project/pull/75757 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [LinkerWrapper] Forward more arguments to the CPU offloading linker (PR #75757)

2023-12-18 Thread Ye Luo via cfe-commits
https://github.com/ye-luo closed https://github.com/llvm/llvm-project/pull/75757 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 38822b9 - Revert "[clang] Adding Platform/Architecture Specific Resource Header Installation Targets"

2022-04-23 Thread Ye Luo via cfe-commits
Author: Ye Luo Date: 2022-04-23T09:32:53-05:00 New Revision: 38822b98fa3b9d740b9a68b0de34296205d20819 URL: https://github.com/llvm/llvm-project/commit/38822b98fa3b9d740b9a68b0de34296205d20819 DIFF: https://github.com/llvm/llvm-project/commit/38822b98fa3b9d740b9a68b0de34296205d20819.diff LOG: R