[all-commits] [llvm/llvm-project] 77f4e3: [libc] Remove duplicate architecture from the dete...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Apr 14 13:14:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77f4e38d0b8a19f6265e1341f962666e29de1c05
      https://github.com/llvm/llvm-project/commit/77f4e38d0b8a19f6265e1341f962666e29de1c05
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    M libc/cmake/modules/prepare_libc_gpu_build.cmake

  Log Message:
  -----------
  [libc] Remove duplicate architecture from the detected list

Summary:
When we detect the architectures via `native` we can have systems with
multiple of the same GPU. We need to remove duplicates or else we will
try to build the same target multiple times.


  Commit: 909344c7ac4d77823127c3470c5270f7882fdfd4
      https://github.com/llvm/llvm-project/commit/909344c7ac4d77823127c3470c5270f7882fdfd4
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/CMakeLists.txt

  Log Message:
  -----------
  [OpenMP] Remove duplicates from the list if using 'auto'

Summary:
We can detect the user's GPUs via the `auto` option. But if the user has
multiple GPUs installed or set the list incorrectly, we need to remove
the duplicates.


Compare: https://github.com/llvm/llvm-project/compare/ee6abfc5ea46...909344c7ac4d


More information about the All-commits mailing list