[flang-commits] [flang] [llvm] [CMake] Fix using precompiled headers with ccache (PR #131397)

LLVM Continuous Integration via flang-commits flang-commits at lists.llvm.org
Tue Apr 8 06:23:34 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-expensive-checks-ubuntu` running on `as-builder-4` while building `flang,llvm` at step 4 "cmake-configure".

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

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

```
Step 4 (cmake-configure) failure: cmake (failure)
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- bolt project is disabled
-- clang project is disabled
-- clang-tools-extra project is disabled
-- compiler-rt project is disabled
-- cross-project-tests project is disabled
-- libc project is disabled
-- libclc project is disabled
-- lld project is enabled
-- lldb project is disabled
-- mlir project is disabled
-- openmp project is disabled
-- polly project is disabled
-- pstl project is disabled
-- flang project is disabled
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter) (Required
  is at least version "3.8")

      Reason given by package: 
          Interpreter: Cannot use the interpreter "/usr/bin/python3.10"

Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.22/Modules/FindPython/Support.cmake:3180 (find_package_handle_standard_args)
  /usr/share/cmake-3.22/Modules/FindPython3.cmake:490 (include)
  CMakeLists.txt:993 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/CMakeFiles/CMakeOutput.log".

```

</details>

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


More information about the flang-commits mailing list