OpenFlowLM-Next icon indicating copy to clipboard operation
OpenFlowLM-Next copied to clipboard

How to install after successful build?

Open hungaborhorvath opened this issue 1 week ago • 1 comments

I have a Framework laptop 13 with AMD Ryzen AI 5 340 and 64 GiB RAM, running an updated Debian Trixie:

ghorvath@FrameWorkLaptop13:~/work/llm/amd/OpenFlowLM-Next$ cat /etc/debian_version 
13.8

The kernel and the xrt related packages are pulled from the backports rather than stable. I can give a detailed list of packages with versions if that helps.

I managed to build OpenFlowLM-Next. The page I used was: https://github.com/Atomic-Germ/OpenFlowLM-Next/blob/main/docs/linux-getting-started.md mostly the Build system section.

However, the final installation step I'm struggling with. I'm not sure I would want to install systemwide, but even then, the command cmake --install --preset linux-default under the Quick build subsection gives me the usual help (this is the same command mentioned in the main README, as well):

ghorvath@FrameWorkLaptop13:~/work/llm/amd/OpenFlowLM-Next$ cmake --install --preset linux-default
Unknown argument linux-default
Usage: cmake --install <dir> [options]
Options:
  <dir>              = Project binary directory to install.
  --config <cfg>     = For multi-configuration tools, choose <cfg>.
  --component <comp> = Component-based install. Only install <comp>.
  --default-directory-permissions <permission> 
     Default install permission. Use default permission <permission>.
  -j <jobs> --parallel <jobs>
     Build in parallel using the given number of jobs. 
     The CMAKE_INSTALL_PARALLEL_LEVEL environment variable
     specifies a default parallel level when this option is not given.
  --prefix <prefix>  = The installation prefix CMAKE_INSTALL_PREFIX.
  --strip            = Performing install/strip.
  -v --verbose       = Enable verbose output.
ghorvath@FrameWorkLaptop13:~/work/llm/amd/OpenFlowLM-Next$ 

According to this help, I should give the directory where I want the binary files to be installed, but even running cmake --install build/bin --preset linux-default results in the same help.

Or do I need to run this with sudo? If so, what exactly will happen in the system (in case I want to clean up later)?

One more note: I also tried cmake --test --preset linux-default as is in the main README, but that errored out:

ghorvath@FrameWorkLaptop13:~/work/llm/amd/OpenFlowLM-Next$ cmake --test --preset linux-default
CMake Error: Unknown argument --test
CMake Error: Run 'cmake --help' for all supported options.

Let me know what other info I can give to help debugging.

hungaborhorvath avatar Nov 21 '26 18:11 hungaborhorvath

sudo cmake --install build should do it

Atomic-Germ avatar Nov 29 '26 17:11 Atomic-Germ