[all-commits] [llvm/llvm-project] 3f9d51: [OpenMP] kmp_affinity.h: add missing #else

YunQiang Su via All-commits all-commits at lists.llvm.org
Tue Oct 25 19:53:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f9d51ab5a1d0bd23acccca13d060ded7dff2086
      https://github.com/llvm/llvm-project/commit/3f9d51ab5a1d0bd23acccca13d060ded7dff2086
  Author: YunQiang Su <wzssyqa at gmail.com>
  Date:   2022-10-25 (Tue, 25 Oct 2022)

  Changed paths:
    M openmp/runtime/src/kmp_affinity.h

  Log Message:
  -----------
  [OpenMP] kmp_affinity.h: add missing #else

When detect __NR_sched_getaffinity. the last #else is missing,
which make the last platform MIPS64 failed to build with an error:
   "Unknown or unsupported architecture"

Reviewed By: MaskRay

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




More information about the All-commits mailing list