Skip to content

compiler-rt doesn't build with cmake  #34867

Closed
@MagaTailor

Description

@MagaTailor

Trying to use system LLVM 3.8 located in /usr fails:

CMake Error at CMakeLists.txt:113 (include):
  include could not find load file:

    /usr/lib/llvm-3.8/build/share/llvm/cmake/LLVMConfig.cmake
CMake Error at cmake/Modules/AddCompilerRT.cmake:1 (include):
  include could not find load file:

    AddLLVM
Call Stack (most recent call first):
  lib/CMakeLists.txt:4 (include)

because it's located in /usr/share/llvm-3.8/cmake/LLVMConfig.cmake

This particular aarch64 Ubuntu 16.04 image used to work fine 3 weeks ago but, IIRC, cmake wasn't used at the time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions