You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of #115, the CMake scripts were updated to provide better support for building snitch as a shared library. The meson scripts were updated in the process, but only minimally since I don't know enough of meson... Here is what is still missing:
This one I'm less sure; maybe it's not "the meson way". I think the script should only build one of [shared, static, header-only]. Currently the scripts can build any combination of these, which is probably OK if building [static, header-only], but [shared, static] or [shared, header-only] is likely not to work as expected since snitch_config.hpp needs to be different in both cases. If the snitch_config.hpp can be re-generated for each target, then that's fine, but it seems to me it would just complicate the build script.
The text was updated successfully, but these errors were encountered:
@willwray Since you contributed the original meson scripts, I was wondering if you were interested in updating this. It might not be hard, but I haven't yet climbed the learning curve on that one :)
Thank you @topazus for contributing the changes to implement the first item in the list. This leaves us with the second item (whether to limit the scripts to build one type of target at a time, or support building all possible types of target at once). Any opinions?
As of #115, the CMake scripts were updated to provide better support for building snitch as a shared library. The meson scripts were updated in the process, but only minimally since I don't know enough of meson... Here is what is still missing:
-fvisibility=hidden -fvisibility-inlines-hidden
(only when building the library, not when consuming it). Done in Set -fvisibility=hidden and -fvisibility-inlines-hidden for Meson #138.[shared, static, header-only]
. Currently the scripts can build any combination of these, which is probably OK if building[static, header-only]
, but[shared, static]
or[shared, header-only]
is likely not to work as expected sincesnitch_config.hpp
needs to be different in both cases. If thesnitch_config.hpp
can be re-generated for each target, then that's fine, but it seems to me it would just complicate the build script.The text was updated successfully, but these errors were encountered: