llvm / llvm/Polygeist

make[1]: *** No rule to make target 'install'. Stop. make: *** [Makefile:555: install-recursive] Error 1 CMake Error at tools/polymer/CMakeLists.txt:28 (execute_process): execute_process failed command indexes: 1: "Child return code: 2"

Open
#393 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
624
Forks
170
PR merge metrics
No merged PRs in 30d

Description

Near the end of building Polygeist, well the cmake command, I get

Libraries have been installed in:
   /mnt/d/LLVM/NewPolygeistDir/build/pluto/install/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/mnt/d/LLVM/NewPolygeistDir/build/pluto/install/bin'
  /bin/bash ./libtool   --mode=install /usr/bin/install -c clan '/mnt/d/LLVM/NewPolygeistDir/build/pluto/install/bin'
libtool: install: /usr/bin/install -c .libs/clan /mnt/d/LLVM/NewPolygeistDir/build/pluto/install/bin/clan
make[4]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan'
make[3]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan'
Making install in doc
make[3]: Entering directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/doc'
make[4]: Entering directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/doc'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/doc'
make[3]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/doc'
Making install in tests
make[3]: Entering directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/tests'
make[4]: Entering directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/tests'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/tests'
make[3]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/tests'
make[2]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan'
make[1]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan'
Making install in candl
make[1]: Entering directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/candl'
make[1]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/candl'
make[1]: *** No rule to make target 'install'.  Stop.
make: *** [Makefile:555: install-recursive] Error 1
CMake Error at tools/polymer/CMakeLists.txt:28 (execute_process):
  execute_process failed command indexes:

    1: "Child return code: 2"



-- Configuring incomplete, errors occurred!
See also "/mnt/d/LLVM/NewPolygeistDir/build/CMakeFiles/CMakeOutput.log".
See also "/mnt/d/LLVM/NewPolygeistDir/build/CMakeFiles/CMakeError.log".
nyck33@lenovo-gtx1650:/mnt/d/LLVM/NewPolygeistDir/build$

What is this install? I see candl in three palces in the repo

image

Can I build Polymer on its own and add it in or is there a workaround for this on WSL2?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at tools/polymer/CMakeLists.txt:28 and inspect the install command that reaches build/pluto/pluto/candl, where Makefile:555 reports the missing install target. Reproduce the configuration on WSL2 and compare CMakeOutput.log and CMakeError.log; done means Polymer configures without the candl install failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.