GalSim-developers / GalSim

The modular galaxy image simulation toolkit. Documentation:
http://galsim-developers.github.io/GalSim/
Other
224 stars 105 forks source link

Fix shared clib #1128

Closed rmjarvis closed 3 years ago

rmjarvis commented 3 years ago

@erykoff has been trying out the new shared library build for use with the LSST DM stack, and found some problems. Specifically, it had required adding -lfftw3 -fopenmp when using the library, which is not ideal.

This PR is to fix the linking steps to work better to not need to explicitly add these link flags whenever using the libgalsim.so library.

Will release 2.3.1 with this fix when Eli gives me the go ahead.

erykoff commented 3 years ago

This branch is working for me.