[all-commits] [llvm/llvm-project] 9ff0cc: [openmp] Fix enumeration build issue for openmp li...

ronlieb via All-commits all-commits at lists.llvm.org
Tue Aug 9 03:27:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ff0cc7e0fa7e99163610d2fcb58e96f3315e343
      https://github.com/llvm/llvm-project/commit/9ff0cc7e0fa7e99163610d2fcb58e96f3315e343
  Author: Ron Lieberman <ron.lieberman at amd.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M openmp/cmake/HandleOpenMPOptions.cmake
    M openmp/cmake/config-ix.cmake

  Log Message:
  -----------
  [openmp] Fix enumeration build issue for openmp library

integer value 40962 is outside the valid range of values [0, 31] for this enumeration type [-Wenum-constexpr-conversion]` (Issue #57022)

turn on -Wno-enum-constexpr-conversion to buy some time to fix the more egregious issue in hsa_agent_into_t and hsa_amd_agent_info_t interfaces.

relates to https://reviews.llvm.org/D131307/new/

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




More information about the All-commits mailing list