[clang] [clang-format] Support globstar in .clang-format-ignore (PR #121404)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 1 15:43:57 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-clang-x86_64-linux-debian` running on `gribozavr4` while building `clang` at step 6 "test-openmp".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/6/builds/5457

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-openmp) failure: test (failure)
******************** TEST 'libomp :: ompt/parallel/nested.c' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/b/1/openmp-clang-x86_64-linux-debian/llvm.build/./bin/clang -fopenmp   -I /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -I /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test -L /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/src  -fno-omit-frame-pointer -I /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/parallel/nested.c -o /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/parallel/Output/nested.c.tmp -lm -latomic && /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/parallel/Output/nested.c.tmp | tee /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/parallel/Output/nested.c.tmp.out | /b/1/openmp-clang-x86_64-linux-debian/llvm.build/./bin/FileCheck /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/parallel/nested.c
# executed command: /b/1/openmp-clang-x86_64-linux-debian/llvm.build/./bin/clang -fopenmp -I /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -I /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test -L /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -fno-omit-frame-pointer -I /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/parallel/nested.c -o /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/parallel/Output/nested.c.tmp -lm -latomic
# .---command stderr------------
# | In file included from /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/parallel/nested.c:6:
# | /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/callback.h:185:6: warning: "Clang 5.0 and later add an additional wrapper for outlined functions when compiling with debug information." [-W#warnings]
# |   185 |     #warning "Clang 5.0 and later add an additional wrapper for outlined functions when compiling with debug information."
# |       |      ^
# | /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/callback.h:186:6: warning: "Please define -DDEBUG iff you manually pass in -g to make the tests succeed!" [-W#warnings]
# |   186 |     #warning "Please define -DDEBUG iff you manually pass in -g to make the tests succeed!"
# |       |      ^
# | 2 warnings generated.
# `-----------------------------
# executed command: /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/parallel/Output/nested.c.tmp
# .---command stderr------------
# | OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
# `-----------------------------
# executed command: tee /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/parallel/Output/nested.c.tmp.out
# executed command: /b/1/openmp-clang-x86_64-linux-debian/llvm.build/./bin/FileCheck /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/parallel/nested.c
# RUN: at line 2
/b/1/openmp-clang-x86_64-linux-debian/llvm.build/./bin/clang -fopenmp   -I /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -I /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test -L /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/src  -fno-omit-frame-pointer -I /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/parallel/nested.c -o /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/parallel/Output/nested.c.tmp -lm -latomic && /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/parallel/Output/nested.c.tmp | sort -n -s | tee /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/parallel/Output/nested.c.tmp.out | /b/1/openmp-clang-x86_64-linux-debian/llvm.build/./bin/FileCheck --check-prefix=THREADS /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/parallel/nested.c
# executed command: /b/1/openmp-clang-x86_64-linux-debian/llvm.build/./bin/clang -fopenmp -I /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -I /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test -L /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -fno-omit-frame-pointer -I /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/parallel/nested.c -o /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/parallel/Output/nested.c.tmp -lm -latomic
# .---command stderr------------
# | In file included from /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/parallel/nested.c:6:
# | /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/callback.h:185:6: warning: "Clang 5.0 and later add an additional wrapper for outlined functions when compiling with debug information." [-W#warnings]
# |   185 |     #warning "Clang 5.0 and later add an additional wrapper for outlined functions when compiling with debug information."
# |       |      ^
# | /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/callback.h:186:6: warning: "Please define -DDEBUG iff you manually pass in -g to make the tests succeed!" [-W#warnings]
# |   186 |     #warning "Please define -DDEBUG iff you manually pass in -g to make the tests succeed!"
# |       |      ^
# | 2 warnings generated.
# `-----------------------------
# executed command: /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/parallel/Output/nested.c.tmp
# .---command stderr------------
# | OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
# `-----------------------------
# executed command: sort -n -s
# executed command: tee /b/1/openmp-clang-x86_64-linux-debian/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/parallel/Output/nested.c.tmp.out
# executed command: /b/1/openmp-clang-x86_64-linux-debian/llvm.build/./bin/FileCheck --check-prefix=THREADS /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/parallel/nested.c
# .---command stderr------------
# | /b/1/openmp-clang-x86_64-linux-debian/llvm.src/openmp/runtime/test/ompt/parallel/nested.c:294:14: error: THREADS: expected string not found in input
# |  // THREADS: {{^}}[[THREAD_ID]]: ompt_event_barrier_implicit_parallel_end: parallel_id={{[0-9]+}}, task_id=[[IMPLICIT_TASK_ID]]
# |              ^
# | <stdin>:418:116: note: scanning from here
# | 4503599627370497: ompt_event_barrier_implicit_parallel_begin: parallel_id=844424930131971, task_id=4503599627370498, codeptr_ra=(nil)
...

```

</details>

https://github.com/llvm/llvm-project/pull/121404


More information about the cfe-commits mailing list