[all-commits] [llvm/llvm-project] 3f1eaf: [OpenMP] Provide __NR_sched_[gs]etaffinity on Linu...

Rainer Orth via All-commits all-commits at lists.llvm.org
Tue May 6 00:13:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f1eafaa04f1c04ae5c7aae3e452eb75c507584d
      https://github.com/llvm/llvm-project/commit/3f1eafaa04f1c04ae5c7aae3e452eb75c507584d
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2025-05-06 (Tue, 06 May 2025)

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

  Log Message:
  -----------
  [OpenMP] Provide __NR_sched_[gs]etaffinity on Linux/sparc64 (#138525)

`libomp` doesn't currently build on Linux/sparc64 due to lack of
`__NR_sched_setaffinity` and `__NR_sched_getaffinity` definitions.

This patch provides those.

Tested on `sparcv9-sun-solaris2.11`, `sparc64-unknown-linux-gnu`,
`amd64-pc-solaris2.11`, and `x86_64-pc-linux-gnu`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list