[all-commits] [llvm/llvm-project] 18cb17: [HIP] Fix spack detection

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Mon May 17 10:24:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18cb17ce4cd54b9971550840b6f0b872de0d4c8c
      https://github.com/llvm/llvm-project/commit/18cb17ce4cd54b9971550840b6f0b872de0d4c8c
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2021-05-17 (Mon, 17 May 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/ROCm.h
    M clang/test/Driver/rocm-detect.hip

  Log Message:
  -----------
  [HIP] Fix spack detection

Missing or duplicate spack package should not cause error, since
users may only installed llvm/clang package, or users may installed
duplicate HIP package but will use environment variable or compiler
option to choose HIP path.

The message about missing or duplicate spack package is informational,
therefore should be emitted only when -v is specified.

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D102556




More information about the All-commits mailing list