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

Install all uhdm related headers in flat $PREFIX/include/uhdm/*.h #488

Merged
merged 1 commit into from
Sep 12, 2021
Merged

Install all uhdm related headers in flat $PREFIX/include/uhdm/*.h #488

merged 1 commit into from
Sep 12, 2021

Conversation

hzeller
Copy link
Collaborator

@hzeller hzeller commented Sep 9, 2021

DON'T MERGE INTO SURELOG YET

This removes the arbitrary distinction between relatively
meaningless names header/ and include/

Adapt all code that used the previous paths in their includes
to point to the new location.

Install location is presumed to be a 'system location', i.e. the distributed includes are used in angled brackets,
such as #include <uhdm/uhdm.h>

This likely cause one-time disruption for current users that directly included things from uhdm/headers/foo.h as these are now in uhdm/foo.h; currently the user-base is small enough to be a limited disruption.

While at it, install also the UHDM.capnp in $PREFIX/lib/uhdm
for other tools using different languages to pick up just the
schema.

Fixes #484

Signed-off-by: Henner Zeller [email protected]

@hzeller
Copy link
Collaborator Author

hzeller commented Sep 9, 2021

... we'll only get this in once the previous change #487 is in again.

This removes the arbitrary distinction between relatively
meaningless names header/ and include/

Adapt all code that used the previous paths in their includes
to point to the new location.

Install location is presumed to be a 'system location', i.e.
the includes are used in angled brackets,
such as #include <uhdm/uhdm.h>

This likely cause one-time disruption for current users, but
currently the user-base is small enough to be a limited
disruption.

While at it, install also the UHDM.capnp in $PREFIX/lib/uhdm
for other tools using different languages to pick up just the
schema.

Fixes #484

Signed-off-by: Henner Zeller <[email protected]>
@hzeller hzeller marked this pull request as ready for review September 11, 2021 23:12
@hzeller
Copy link
Collaborator Author

hzeller commented Sep 11, 2021

Once this is merged, I have another change that then updates Surelog to use the new includes (e.g. #include <uhdm/uhdm.h>) and updates the UHDM submodule.

But till then, merge this into UHDM (so that I can refer to head in the Surelog change), but do not update submodule in Surelog alone (as that will not compile without the other change)

@alaindargelas alaindargelas merged commit d8d55fb into chipsalliance:master Sep 12, 2021
kamilrakoczy pushed a commit to antmicro/yosys-f4pga-plugins that referenced this pull request Oct 29, 2021
Since the following PRs
chipsalliance/UHDM#488
chipsalliance/Surelog#1827
... the new location of uhdm headers is prefixed with
uhdm, such as <uhdm/foo.h>

Signed-off-by: Henner Zeller <[email protected]>
tjurtsch pushed a commit to antmicro/yosys-f4pga-plugins that referenced this pull request Oct 29, 2021
Since the following PRs
chipsalliance/UHDM#488
chipsalliance/Surelog#1827
... the new location of uhdm headers is prefixed with
uhdm, such as <uhdm/foo.h>

Signed-off-by: Henner Zeller <[email protected]>
kbieganski pushed a commit to antmicro/yosys-f4pga-plugins that referenced this pull request Oct 29, 2021
Since the following PRs
chipsalliance/UHDM#488
chipsalliance/Surelog#1827
... the new location of uhdm headers is prefixed with
uhdm, such as <uhdm/foo.h>

Signed-off-by: Henner Zeller <[email protected]>
kgugala pushed a commit to antmicro/yosys-f4pga-plugins that referenced this pull request Oct 29, 2021
Since the following PRs
chipsalliance/UHDM#488
chipsalliance/Surelog#1827
... the new location of uhdm headers is prefixed with
uhdm, such as <uhdm/foo.h>

Signed-off-by: Henner Zeller <[email protected]>
tpagarani pushed a commit to tpagarani/yosys-symbiflow-plugins that referenced this pull request Dec 7, 2021
Since the following PRs
chipsalliance/UHDM#488
chipsalliance/Surelog#1827
... the new location of uhdm headers is prefixed with
uhdm, such as <uhdm/foo.h>

Signed-off-by: Henner Zeller <[email protected]>
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.

Cleanup of header installation
2 participants