<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/58941>58941</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            openmp/libompd/test/CMakeLists.txt is failing with  `Could not find a package configuration file`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            openmp,
            build-problem
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          sylvestre
      </td>
    </tr>
</table>

<pre>
    On linux
316e2599029e was ok
61c2276cb231 is failing

```

-- Looking for __atomic_load_1 in atomic - found
-- Found Python3: /usr/bin/python3.10 (found version "3.10.8") found components: Interpreter Development Development.Module Development.Embed 
CMake Error at /build/llvm-toolchain-snapshot-16~++20221111111130+61c2276cb231/openmp/libompd/test/CMakeLists.txt:9 (find_package):
  Could not find a package configuration file provided by "LLVM" with any of
  the following names:

    LLVMConfig.cmake
    llvm-config.cmake

  Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
  "LLVM_DIR" to a directory containing one of the above files.  If "LLVM"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
See also "/build/llvm-toolchain-snapshot-16~++20221111111130+61c2276cb231/build-llvm/tools/clang/stage2-bins/CMakeFiles/CMakeOutput.log".
See also "/build/llvm-toolchain-snapshot-16~++20221111111130+61c2276cb231/build-llvm/tools/clang/stage2-bins/CMakeFiles/CMakeError.log".
```

I guess 1099498e3f35b2ad4b021ba3888b590259124e74 is the regressor
cc @vigbalu

log:
https://llvm-jenkins.debian.net/view/Debian%20sid/job/llvm-toolchain-binaries/architecture=amd64,distribution=unstable,label=amd64/729/console

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzNVU1v4zYQ_TXyhbAgUZYsHXRI7RgNNsEGu4uiN4MUxzITihRIyon_fYf6yDrYHlqghxqGaM0MH2ce34y5Edf6qyZK6uE9SvZRcp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