-
Notifications
You must be signed in to change notification settings - Fork 23
Install static versions of xspress3 and img_mod libraries to build wi… #52
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
base: master
Are you sure you want to change the base?
Conversation
…th STATIC_BUILD=YES
|
Just a note on this. In this case Quantum did provide static versions (.a) of their libraries. Often vendors don't do that, they only provide shareable versions (.so). However, even if they had only provided .so files you could still build the application statically by changing these lines: to this: |
|
@jwlodek why would you want to do that? |
|
I prefer to build statically whenever possible, so I can make the executable entirely portable. It was not clear to me that the static builds are an older version of the libraries given that they do not have version numbers. Maybe what we can do is make the installation of the static libraries conditional on if Edit: Or, if we want to always use the newer shared libraries during linking even in a static build we can apply Mark's suggestion and use |
|
I've ran into this again today - since the static libraries are out of date, should we just remove them and change the |
|
@jwlodek If the Makefile is changed to use |
|
I think it makes sense to remove the static libs. They're not the most convenient to build and the lack of version number changes means it is hard to tell if they are synchronised. |
|
We can leave the static libs if we use |
|
It would be great if the shared libraries from the vendor were versioned and if updates to them were detailed in individual PRs. |
…th STATIC_BUILD=YES
At the moment, it seems if you perform a build with
STATIC_BUILD=YESyou get an error about how-lxspress3and-limg_modcould not be found.