Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Install headers #1896

Closed
wants to merge 1 commit into from

Conversation

rzr
Copy link
Contributor

@rzr rzr commented Jun 21, 2019

Reintroduce this feature after 99ec371

It was useful for debian packaging (iotjs-dev)

Relate-to: #1145
Change-Id: Idd9a18bbe692baeb468152df5149374512e9350b
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@samsung.com

@daeyeon
Copy link
Member

daeyeon commented Jun 26, 2019

Can you introduce what iotjs-dev is?

@rzr
Copy link
Contributor Author

rzr commented Jun 27, 2019

It's a common pratice to install developers files in a separate package (to save storage),
So while packaging for debian/raspbian I made an "iotjs-dev" subpackage for developers that would use iotjs library, that could also applies to rpm/tizen too.

@daeyeon
Copy link
Member

daeyeon commented Jun 27, 2019

  1. As you know, such a development package isn't officially guided. If you think it's meaningful, why don't we hear other developer's opinion and deploy the package automatically based on any release version?

  2. The followings look enough to install the headers.
    https://github.com/lws-project/iotjs/blob/11641646c6e75345a8cf0bdb6e893cd6186ad643/cmake/iotjs.cmake#L588

Reintroduce this feature after 99ec371

It was useful for debian packaging (iotjs-dev),
to match quality standards.

Email has been updated for community support

Relate-to: https://packages.qa.debian.org/i/iotjs.html
Fowarded: jerryscript-project#1896
Relate-to: jerryscript-project#1145
Change-Id: Idd9a18bbe692baeb468152df5149374512e9350b
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
rzr added a commit to TizenTeam/iotjs that referenced this pull request Jul 24, 2020
Reintroduce this feature after 99ec371

It was useful for debian packaging (iotjs-dev),
to match quality standards.

Email has been updated for community support

Relate-to: https://packages.qa.debian.org/i/iotjs.html
Fowarded: jerryscript-project#1896
Relate-to: jerryscript-project#1145
Change-Id: Idd9a18bbe692baeb468152df5149374512e9350b
Bug: jerryscript-project#1945
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
rzr added a commit to rzr/iotjs that referenced this pull request Jul 29, 2020
Reintroduce this feature after 99ec371

It was useful for debian packaging (iotjs-dev),
to match quality standards.

Email has been updated for community support

Relate-to: https://packages.qa.debian.org/i/iotjs.html
Fowarded: jerryscript-project#1896
Relate-to: jerryscript-project#1145
Change-Id: Idd9a18bbe692baeb468152df5149374512e9350b
Bug: jerryscript-project#1945
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
rzr added a commit to TizenTeam/iotjs that referenced this pull request Aug 6, 2020
Reintroduce this feature after 99ec371

It was useful for debian packaging (iotjs-dev),
to match quality standards.

Email has been updated for community support

Relate-to: https://packages.qa.debian.org/i/iotjs.html
Fowarded: jerryscript-project#1896
Relate-to: jerryscript-project#1145
Change-Id: Idd9a18bbe692baeb468152df5149374512e9350b
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
rzr added a commit to TizenTeam/iotjs that referenced this pull request Oct 15, 2020
Add extra install step for installing lib along headers (Fixes: jerryscript-project#1896).

Also remove headers, lib when installing executable.

This is useful for debian's iotjs-dev package

Change-Id: Ib9f6cb50631f4cdfeb308108f91ed28e7d204dc4
Forwarded: jerryscript-project#1948
Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/cmake/lib/review/master
Bug: jerryscript-project#1945
Bug-Debian: https://bugs.debian.org/957364
Relate-to: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/cmake/lib/review/master
Last-Update: 2020-10-15
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
rzr added a commit to TizenTeam/iotjs that referenced this pull request Oct 15, 2020
Add extra install step for installing lib along headers (Fixes: jerryscript-project#1896).

Also remove headers, lib when installing executable.

This is useful for debian's iotjs-dev package

Change-Id: Ib9f6cb50631f4cdfeb308108f91ed28e7d204dc4
Forwarded: jerryscript-project#1948
Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/cmake/lib/review/master
Bug: jerryscript-project#1945
Bug-Debian: https://bugs.debian.org/957364
Relate-to: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/cmake/lib/review/master
Last-Update: 2020-10-15
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
@rzr
Copy link
Contributor Author

rzr commented Oct 15, 2020

This change can be ignored if this other change is merged:

#1948

rzr added a commit to TizenTeam/iotjs that referenced this pull request Oct 15, 2020
installing the static lib will also install headers (Fixes: jerryscript-project#1896).

This is useful for debian's iotjs-dev package

Change-Id: Ib9f6cb50631f4cdfeb308108f91ed28e7d204dc4
Forwarded: jerryscript-project#1948
Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/cmake/lib/review/master
Bug: jerryscript-project#1945
Bug-Debian: https://bugs.debian.org/957364
Relate-to: jerryscript-project#1896
Last-Update: 2020-10-15
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
rzr added a commit to TizenTeam/iotjs that referenced this pull request Oct 15, 2020
installing the static lib will also install headers (Fixes: jerryscript-project#1896).

This is useful for debian's iotjs-dev package

Change-Id: Ib9f6cb50631f4cdfeb308108f91ed28e7d204dc4
Forwarded: jerryscript-project#1948
Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/cmake/lib/review/master
Bug: jerryscript-project#1945
Bug-Debian: https://bugs.debian.org/957364
Relate-to: jerryscript-project#1896
Last-Update: 2020-10-15
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
rzr added a commit to TizenTeam/iotjs that referenced this pull request Oct 16, 2020
installing the static lib will also install headers (Fixes: jerryscript-project#1896).

This is useful for debian's iotjs-dev package

The extra archive rule is needed to prevent this error:

   install TARGETS given no ARCHIVE DESTINATION for static library target

Change-Id: Ib9f6cb50631f4cdfeb308108f91ed28e7d204dc4
Forwarded: jerryscript-project#1948
Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/cmake/lib/review/master
Bug: jerryscript-project#1945
Bug-Debian: https://bugs.debian.org/957364
Relate-to: jerryscript-project#1896
Last-Update: 2020-10-16
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
@rzr rzr closed this Dec 21, 2020
LaszloLango pushed a commit that referenced this pull request May 12, 2021
Installing the static lib will also install headers (Fixes: #1896).

This is useful for debian's iotjs-dev package. The extra archive rule is needed to prevent this error:
   install TARGETS given no ARCHIVE DESTINATION for static library target

Change-Id: Ib9f6cb50631f4cdfeb308108f91ed28e7d204dc4
Forwarded: #1948
Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/cmake/lib/review/master
Bug: #1945
Bug-Debian: https://bugs.debian.org/957364
Relate-to: #1896
Last-Update: 2020-10-16

IoT.js-DCO-1.0-Signed-off-by: Philippe Coval rzr@users.sf.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants