Closed lahwaacz closed 2 months ago
While we are working on this, you could use
cmake --install build/ --prefix _dummy_install_prefix/usr/local
@MarcelKoch DESTDIR
and --prefix
are not the same things. While I used _dummy_install_prefix
in this minimal repro example, in practice I need to package the DESTDIR
tree and later extract it at /
, i.e. --prefix
must be relative to DESTDIR
.
I understand that they are not the same, but from the documentation you linked, you could just combine DESTDIR
and the install prefix and put in into --prefix
.
--prefix
does not work, it leaves the absolute path in files like lib/pkgconfig/ginkgo.pc
so the install tree is not relocatable.
Hi @lahwaacz, I think this should be fixed with PR #1597. Can you maybe comment if it works for you?
@MarcelKoch That seems to work, thanks!
Build procedure:
The last command results in this error:
Using DESTDIR is necessary for packaging.