build: Install to system's path (prefixed by destdir)#1923
Conversation
e0bf1d8 to
4308e5f
Compare
This was introduced first in jerryscript-project#1134 and then droped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Forwarded: jerryscript-project#1923 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc IoT.js-DCO-1.0-Signed-off-by: Philippe Coval philippe.coval@osg.samsung.com
4308e5f to
830411f
Compare
This was introduced first in jerryscript-project#1134 and then droped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Forwarded: jerryscript-project#1923 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@.samsung.com
830411f to
c24eb7b
Compare
This was introduced first in jerryscript-project#1134 and then droped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Forwarded: jerryscript-project#1923 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@samsung.com
|
This was introduced first in jerryscript-project#1134 and then droped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Forwarded: jerryscript-project#1923 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc IoT.js-DCO-1.0-Signed-off-by: Philippe Coval philippe.coval@osg.samsung.com
This was introduced first in jerryscript-project#1134 and then droped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Email has been updated for community support. Forwarded: jerryscript-project#1923 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
c24eb7b to
c75bd95
Compare
This change is useful for debian packaging Runtime destination rely on RUNTIME_OUTPUT_DIRECTORY property This was introduced first in jerryscript-project#1134 and then droped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Email has been updated for community support. Forwarded: jerryscript-project#1923 Bug: jerryscript-project#1945 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/review/install/master Bug-Debian: https://bugs.debian.org/957364 IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net Update: 2020-07-24
c75bd95 to
344912f
Compare
Install directory is prefixed by destdir to install in staging directory. This change is useful for debian packaging. Runtime destination rely on RUNTIME_OUTPUT_DIRECTORY property This was introduced first in jerryscript-project#1134 and then droped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Email has been updated for community support. Forwarded: jerryscript-project#1923 Bug: jerryscript-project#1945 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/review/install/master Bug-Debian: https://bugs.debian.org/957364 Update: 2020-07-24 IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
344912f to
01bca79
Compare
Install directory is prefixed by destdir to install in staging directory. This change is useful for debian packaging. Runtime destination rely on RUNTIME_OUTPUT_DIRECTORY property This was introduced first in jerryscript-project#1134 and then droped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Email has been updated for community support. Forwarded: jerryscript-project#1923 Bug: jerryscript-project#1945 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/review/install/master Bug-Debian: https://bugs.debian.org/957364 Update: 2020-07-24 IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
Install directory is prefixed by destdir to install in staging directory. This change is useful for debian packaging. Runtime destination rely on RUNTIME_OUTPUT_DIRECTORY property This was introduced first in jerryscript-project#1134 and then droped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Email has been updated for community support. Forwarded: jerryscript-project#1923 Bug: jerryscript-project#1945 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/review/install/master Bug-Debian: https://bugs.debian.org/957364 Update: 2020-07-24 IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
01bca79 to
2038ec7
Compare
Install directory is prefixed by destdir to install in staging directory. This change is useful for debian packaging. Runtime destination rely on RUNTIME_OUTPUT_DIRECTORY property This was introduced first in jerryscript-project#1134 and then droped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Email has been updated for community support. Forwarded: jerryscript-project#1923 Bug: jerryscript-project#1945 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/review/install/master Bug-Debian: https://bugs.debian.org/957364 Update: 2020-07-24 IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
Install directory is prefixed by destdir to install in staging directory. This change is useful for debian packaging. Runtime destination rely on RUNTIME_OUTPUT_DIRECTORY property This was introduced first in jerryscript-project#1134 and then droped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Email has been updated for community support. Forwarded: jerryscript-project#1923 Bug: jerryscript-project#1945 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/review/install/master Bug-Debian: https://bugs.debian.org/957364 Update: 2020-07-24 IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
|
Please first merge: |
Install directory is prefixed by destdir to install in staging directory. This change is useful for debian packaging. Runtime destination rely on RUNTIME_OUTPUT_DIRECTORY property This was introduced first in jerryscript-project#1134 and then droped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Email has been updated for community support. Forwarded: jerryscript-project#1923 Bug: jerryscript-project#1945 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/review/install/master Bug-Debian: https://bugs.debian.org/957364 Update: 2020-07-24 IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
2038ec7 to
1271496
Compare
Install directory is prefixed by destdir to install in staging directory. This change is useful for debian packaging. Runtime destination rely on RUNTIME_OUTPUT_DIRECTORY property This was introduced first in jerryscript-project#1134 and then dropped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Email has been updated for community support. Forwarded: jerryscript-project#1923 Bug: jerryscript-project#1945 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/review/install/master Bug-Debian: https://bugs.debian.org/957364 Update: 2020-10-16 IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
1271496 to
d6bb818
Compare
Install directory is prefixed by destdir to install in staging directory. This change is useful for debian packaging. Runtime destination rely on RUNTIME_OUTPUT_DIRECTORY property This was introduced first in jerryscript-project#1134 and then dropped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Email has been updated for community support. Forwarded: jerryscript-project#1923 Bug: jerryscript-project#1945 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/review/install/master Bug-Debian: https://bugs.debian.org/957364 Update: 2020-10-16 IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
d6bb818 to
22167a7
Compare
|
unsure this failure is related to this change: |
Install directory is prefixed by destdir to install in staging directory. This change is useful for debian packaging. Runtime destination rely on RUNTIME_OUTPUT_DIRECTORY property This was introduced first in jerryscript-project#1134 and then dropped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Email has been updated for community support. Forwarded: jerryscript-project#1923 Bug: jerryscript-project#1945 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/review/install/master Bug-Debian: https://bugs.debian.org/957364 Gbp-Pq: Name 0001-iotjs-Install-binaries-to-system-1134.patch Update: 2020-10-16 IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
22167a7 to
e8bfdef
Compare
|
This change is released in: |
akosthekiss
left a comment
There was a problem hiding this comment.
Currently, there are two commits in this PR. Please, squash them.
|
OK, I just realized that the second commit may not belong to this here at all but could have infiltrated this PR from #1948 . That's not good either. This PR should contain the relevant commit only. |
Install directory is prefixed by destdir to install in staging directory. This change is useful for debian packaging. Runtime destination rely on RUNTIME_OUTPUT_DIRECTORY property This was introduced first in jerryscript-project#1134 and then dropped in jerryscript-project#1848 This will be helpful for packaging, or example on Tizen install using RPM macro: "%make_install" of Debian's debhelper. Work along CMAKE_INSTALL_PREFIX, or/and can be overloaded individualy to alternate locations. Email has been updated for community support. Forwarded: jerryscript-project#1923 Bug: jerryscript-project#1945 Relate-to: jerryscript-project#1134 Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/review/install/master Bug-Debian: https://bugs.debian.org/957364 Gbp-Pq: Name 0001-iotjs-Install-binaries-to-system-1134.patch Update: 2020-10-16 IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
e8bfdef to
7e7c78a
Compare
|
Hi, I've rebased it if It's merged i will rebase debian version on this base. Next it will be helpful to update jerryscript with this additional change in: |
|
Thanks for feedback , anyone available to review and merge this one and then I'll update the debian package Cc: @akosthekiss , @zherczeg , @daeyeon , @galpeter, @yadd ... |
|
Note: there is a change request, until that is resolved, this cannot be landed by github |
yes that's why I suggested to review the other one 1st Please can anyone ping @akosthekiss to unblock this ? |
| message(STATUS "LIBRARY_INSTALL_DIR ${INSTALL_PREFIX}/lib") | ||
| message(STATUS "BINARY_INSTALL_DIR ${INSTALL_PREFIX}/${BIN_INSTALL_DIR}") | ||
| message(STATUS "LIBRARY_INSTALL_DIR ${INSTALL_PREFIX}/${LIB_INSTALL_DIR}") | ||
| message(STATUS "INCLUDE_INSTALL_DIR ${INSTALL_PREFIX}/${INC_INSTALL_DIR}") |
There was a problem hiding this comment.
Shouldn't we replace the INSTALL_PREFIX with CMAKE_INSTALL_PREFIX ?
There was a problem hiding this comment.
Can CMAKE_INSTALL_PREFIX be changed in cmake files I thought it was a configuration to be used from the outside (on cmake invocation)...
My install files relies on debhelper DESTDIR there is no need tweak:
https://cmake.org/cmake/help/latest/variable/CMAKE_INSTALL_PREFIX.html
For the record INSTALL_PREFIX was introduced in 99ec371 may this be changed in other change ?
There was a problem hiding this comment.
So the main thing in this PR would be the new INC_INSTALL_DIR variable? If so I'm fine with this change. We'll adapt the INSTALL_PREFIX later on.
There was a problem hiding this comment.
So the main thing in this PR would be the new
INC_INSTALL_DIRvariable? If so I'm fine with this change.
Thanks the problem is that it's blocked by @akosthekiss change request which can be only acknowledged by himself but I am not able to reach him, can anyone help ?
@akosthekiss was requested for review
|
I guess this can be now merged thx |
This was introduced first in #1134 and then droped in #1848
This will be helpful for packaging,
or example on Tizen install using RPM macro: "%make_install"
of Debian's debhelper.
Work along CMAKE_INSTALL_PREFIX,
or/and can be overloaded individualy to alternate locations.
Forwarded: https://github.com/Samsung/iotjs/pull/
Relate-to: #1134
Change-Id: Ib969a1d5c2e7bc402b455377fc57a94654aa74dc
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval philippe.coval@osg.samsung.com