You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Reporting an issue with the Snitch install behavior with cmake ('main' branch).
Basically, specifying the install prefix with the configuration step will make it work. But specifying it directly along the 'cmake --install [build dir] --prefix [install prefix]' will retain the default install path.
I've noticed that calls to 'install()' are always using the 'DESTINATION ${CMAKE_INSTALL_PREFIX}/' prefix. By removing it, the behavior is once again as intended.
Would you consider this a bug or is it by design?
The text was updated successfully, but these errors were encountered:
Hi and thanks for reporting this. This is the first time I hear about cmake --install [...] --prefix [...]! I always set this up at configure time. So no, this is not by design, it's a bug. I'll create a PR for this, thanks for the hint on the fix (it would have taken me a while to figure it out, the CMake documentation being what it is).
Hi! Reporting an issue with the Snitch install behavior with cmake ('main' branch).
Basically, specifying the install prefix with the configuration step will make it work. But specifying it directly along the 'cmake --install [build dir] --prefix [install prefix]' will retain the default install path.
These command will lead to a correct install:
This won't work as intended:
The error emerged when using a non-privileged OS user (Ubuntu 22:04) as this leads to install fail:
I've noticed that calls to 'install()' are always using the 'DESTINATION ${CMAKE_INSTALL_PREFIX}/' prefix. By removing it, the behavior is once again as intended.
Would you consider this a bug or is it by design?
The text was updated successfully, but these errors were encountered: