Skip to content

cmake config error "name too long" #116336

Open
@L00pZBreak3r

Description

@L00pZBreak3r

Configuring the llvm-project with cmake -G ninja gives error

-- Performing Test HAVE_STEADY_CLOCK -- success
-- Performing Test HAVE_PTHREAD_AFFINITY -- failed to compile
-- Configuring done (47.9s)
CMake Error:
  Running

   'F:/Qt/ninja/ninja.exe' '-C' 'F:/Qt/llvm-project.build/build' '-t' 'restat' 'build.ninja' 'F:/Qt/llvm-project.build/build/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/lib/Demangle/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/lib/Support/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/lib/Support/BLAKE3/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/lib/TableGen/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/utils/TableGen/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/utils/TableGen/Basic/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/utils/TableGen/Common/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/include/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/include/llvm/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/include/llvm/CodeGen/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/include/llvm/IR/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/include/llvm/Support/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/include/llvm/Frontend/cmake_install.cmake'  ... (EXTREMELY LONG LINE)

  failed with:

   name too long


-- Generating done (64.3s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions