From 920ca95d6ef6cad6f33cddb235bc3cb9dea4d00c Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 31 Jul 2019 16:26:30 +0930 Subject: [PATCH] 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 --- tools/configurator/configurator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.2