[all-commits] [llvm/llvm-project] 90a9e9: [OpenMP] Fix a condition for KMP_OS_SOLARIS. (#71831)

xingxue-ibm via All-commits all-commits at lists.llvm.org
Thu Nov 9 10:30:50 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90a9e9f638073f46a36e0fda44948bc74da5f641
      https://github.com/llvm/llvm-project/commit/90a9e9f638073f46a36e0fda44948bc74da5f641
  Author: xingxue-ibm <57193974+xingxue-ibm at users.noreply.github.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M openmp/runtime/src/z_Linux_util.cpp

  Log Message:
  -----------
  [OpenMP] Fix a condition for KMP_OS_SOLARIS. (#71831)

Line 75 of `z_Linux_util.cpp` checks `#ifdef KMP_OS_SOLARIS` which is
always true regardless of the building platform because macro
`KMP_OS_SOLARIS` is always defined in line 23 of `kmp_platform.h`:
`define KMP_OS_SOLARIS 0`.




More information about the All-commits mailing list