From: Rusty Russell Date: Wed, 31 Jul 2019 06:56:30 +0000 (+0930) Subject: configurator: fix openmp test on some versions of clang. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=920ca95d6ef6cad6f33cddb235bc3cb9dea4d00c configurator: fix openmp test on some versions of clang. Discovered on bionic's Travis install, it failed at *runtime* when it couldn't find the shared library. Signed-off-by: Rusty Russell --- diff --git a/tools/configurator/configurator.c b/tools/configurator/configurator.c index d676b882..d99d4a00 100644 --- a/tools/configurator/configurator.c +++ b/tools/configurator/configurator.c @@ -431,7 +431,7 @@ static const struct test base_tests[] = { " return i + 1;\n" "}" }, { "HAVE_OPENMP", "#pragma omp and -fopenmp support", - "INSIDE_MAIN", NULL, NULL, + "INSIDE_MAIN|EXECUTE|MAY_NOT_COMPILE", NULL, NULL, "int i;\n" "#pragma omp parallel for\n" "for(i = 0; i < 0; i++) {};\n"