On Thu, Jun 18, 2020 at 05:24:25PM -0400, y2s1982 . wrote:
> (LLVM currently simply puts { "ompd.so", NULL }, but I am assuming this was
> just a placeholder.)

Let's put there { "libgompd" SONAME_SUFFIX (1), NULL } for now.
You'll need to change the SONAME_SUFFIX macros though - remove the ()s
around the strings, so that it can be further concatenated.

libgomp/config/darwin/plugin-suffix.h:#define SONAME_SUFFIX(n) ("." #n ".dylib")
libgomp/config/posix/plugin-suffix.h:#define SONAME_SUFFIX(n) (".so." #n)
libgomp/config/hpux/plugin-suffix.h:#define SONAME_SUFFIX(n) (".sl." #n)
libgomp/target.c:  const char *suffix = SONAME_SUFFIX (1);

        Jakub

Reply via email to