]> git.ozlabs.org Git - ccan/commitdiff
configurator: fix openmp test on some versions of clang.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Jul 2019 06:56:30 +0000 (16:26 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Jul 2019 06:56:30 +0000 (16:26 +0930)
Discovered on bionic's Travis install, it failed at *runtime* when
it couldn't find the shared library.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/configurator/configurator.c

index d676b882329d55706e818eb93884393deb520e31..d99d4a003065557a79815dfeca4d292eb4b1e699 100644 (file)
@@ -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"