[all-commits] [llvm/llvm-project] 3438ed: [openmp] Fix building in debug mode with mingw

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Nov 11 03:55:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3438ed8f7e6bb81dc61d9d3da18cf5662c206862
      https://github.com/llvm/llvm-project/commit/3438ed8f7e6bb81dc61d9d3da18cf5662c206862
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

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

  Log Message:
  -----------
  [openmp] Fix building in debug mode with mingw

Mingw doesn't provide the _malloc_dbg/_free_dbg functions.

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


  Commit: 4bf5893d1ab6ec733f7b0067c69779f5d3843046
      https://github.com/llvm/llvm-project/commit/4bf5893d1ab6ec733f7b0067c69779f5d3843046
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M openmp/runtime/test/affinity/format/fields_values.c

  Log Message:
  -----------
  [openmp] [test] Fix building the affinity/format/fields_values.c testcase on Windows

Add a missing <process.h> include for _getpid. Don't typedef the
pid_t type on mingw, as mingw headers already provide a typedef for
it.

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


  Commit: 323b4309e2418a8662e814b60cd32090b4543337
      https://github.com/llvm/llvm-project/commit/323b4309e2418a8662e814b60cd32090b4543337
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M openmp/runtime/test/tasking/bug_nested_proxy_task.c
    M openmp/runtime/test/tasking/bug_proxy_task_dep_waiting.c

  Log Message:
  -----------
  [openmp] [test] Use omp_testsuite.h instead of directly including pthread.h

OpenMP tests that use pthread functions include this header instead.
On Unix systems, this header includes pthread.h, while it provides
minimal implementations of the used pthread functions for Windows.

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


  Commit: 29ef16c29f4c736aa1c3d770f0ecdf4409db5622
      https://github.com/llvm/llvm-project/commit/29ef16c29f4c736aa1c3d770f0ecdf4409db5622
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M openmp/runtime/test/omp_testsuite.h

  Log Message:
  -----------
  [openmp] [test] Set the right calling convention for the Windows thread start function

This is required on i386 Windows; this fixes 99 testcases in that
build configuration.

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


Compare: https://github.com/llvm/llvm-project/compare/61c2276cb231...29ef16c29f4c


More information about the All-commits mailing list