[Openmp-commits] [openmp] [OpenMP] Add ompt_start_tool declaration in omp-tools.h (PR #97099)

LLVM Continuous Integration via Openmp-commits openmp-commits at lists.llvm.org
Wed Jul 3 11:10:41 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building `openmp` at step 6 "test-openmp".

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

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-openmp) failure: test (failure)
******************** TEST 'ompd-test :: openmp_examples/example_2.c' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang -fopenmp -g -gdwarf-4 /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/openmp/libompd/test/openmp_examples/example_2.c -o /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/libompd/test/openmp_examples/Output/example_2.c.tmp  -I /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/openmp/libompd/test -I /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src  -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src 2>&1 | tee /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/libompd/test/openmp_examples/Output/example_2.c.tmp.compile
# executed command: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang -fopenmp -g -gdwarf-4 /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/openmp/libompd/test/openmp_examples/example_2.c -o /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/libompd/test/openmp_examples/Output/example_2.c.tmp -I /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/openmp/libompd/test -I /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: tee /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/libompd/test/openmp_examples/Output/example_2.c.tmp.compile
# .---command stdout------------
# | In file included from /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/openmp/libompd/test/openmp_examples/example_2.c:4:
# | /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/openmp/libompd/test/openmp_examples/../ompt_plugin.h:130:34: error: static declaration of 'ompt_start_tool' follows non-static declaration
# |   130 | static ompt_start_tool_result_t *ompt_start_tool(unsigned int omp_version,
# |       |                                  ^
# | /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/lib/clang/19/include/omp-tools.h:1416:27: note: previous declaration is here
# |  1416 | ompt_start_tool_result_t *ompt_start_tool(unsigned int omp_version,
# |       |                           ^
# | 1 error generated.
# `-----------------------------

--

********************


```

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


More information about the Openmp-commits mailing list