[OpenMP][libomp] do not try to dlopen libmemkind on macOS
authorDaniel Douglas <daniel_douglas+llvm@apple.com>
Thu, 2 Jun 2022 19:04:58 +0000 (14:04 -0500)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Thu, 2 Jun 2022 19:28:09 +0000 (14:28 -0500)
commit5d25dbff677e2854a285019a4cfbda969e64ace2
tree9153b5fcc548e9a0c84f6ae159b538690b161c35
parent30b7ffe74e66aa0c33c689429c593f261c2c9d13
[OpenMP][libomp] do not try to dlopen libmemkind on macOS

The memkind library is only available for linux. Calling dlopen here
can also be problematic in a client app that fork'ed.

Differential Revision: https://reviews.llvm.org/D126579
openmp/runtime/src/kmp_alloc.cpp