Skip to content

Producing shared libraries #681

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

Open
rouson opened this issue Mar 18, 2022 · 3 comments
Open

Producing shared libraries #681

rouson opened this issue Mar 18, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@rouson
Copy link
Contributor

rouson commented Mar 18, 2022

Description

Is anyone working on enabling fpm to build shared libraries? I would like to offer fpm as an alternative way to build OpenCoarrays. In thinking through what fpm won't be able to match relative to the current cmake build system generator, an ability to produce shared libraries seems like a useful one at least for system administrators. This feature request overlaps some with issue #524.

Possible Solution

I don't know enough to suggest possible solutions.

Additional Information

No response

@rouson rouson added the enhancement New feature or request label Mar 18, 2022
@awvwgk
Copy link
Member

awvwgk commented Mar 19, 2022

No, this is currently not possible. See my answer in #655 for things to consider in case anyone wants to pick this up.

@wyphan
Copy link
Contributor

wyphan commented May 20, 2022

Thanks @awvwgk for mentioning this in the Spack issue #79.

Spack does handle RPATH issues quite nicely for Linux and MacOS: https://spack.readthedocs.io/en/latest/packaging_guide.html#handling-rpaths
I'm not too familiar with DLLs to comment on how to resolve this for Windows.

@ivan-pi
Copy link
Member

ivan-pi commented Aug 11, 2022

On *nix platforms at least, it may be possible to use libtool as an intermediary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants