[liblsl] Update to 1.14.0#16461
Conversation
|
FYI The fix to make it compile also on non-Windows platforms was to simply remove the quotation marks where |
|
@JackBoosY Thanks a lot for your refactorings, it's much cleaner now. 👍 Just tested again on Linux and Windows, and looks good to me overall. |
|
One more note: liblsl bundles pugixml but it can be turned off by setting I am not sure what the general recommendation is, but if you prefer to use the vcpkg dependency instead of the bundled one, I am happy to change it. |
ras0219-msft
left a comment
There was a problem hiding this comment.
Thanks for the PR, overall it looks great!
Our policy is that we must use the vcpkg copy of pugixml: https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/maintainer-guide.md#do-not-use-vendored-dependencies
LGTM once this is addressed :)
Alright, I made the necessary changes in 8932039. What about Boost which is currently bundled in parts in liblsl, see https://github.com/sccn/liblsl#boost? In contrast to pugixml, it cannot be disabled easily so if we also want to replace it with the Boost vcpkg package, we need to resort to patching, I'm afraid. |
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
|
@chausner Yep, we should patch its source to use boost components also. |
I looked into this a bit but it seems non-trivial to do. They took a copy of Boost and changed all namespaces to "lslboost". So to make it work with the original Boost headers, we would have to patch the liblsl code base to use the original names everywhere. I am not sure if it is worth the effort. There also does not seem to be an easy way to do this in CMake without resorting to platform-dependent commands like In any case, since the bundling of Boost in liblsl is independent of this package update (Boost has always been bundled with liblsl), I would suggest to merge this PR for now so that we have at least the latest version of the library in vcpkg. The patching to remove the bundled Boost copy could be done separately if anybody feels like it (but it will probably not be me). |
Accepted. |
|
This PR LGTM, thanks for detaching pugixml! |
This updates liblsl to the latest version 1.14.0.
It also fixes an issue that prevented the previous ports from compiling on Linux and probably MacOS. So I removed the corresponding entries from the CI baseline assuming that it now builds fine on both platforms. I successfully tested the port on Windows and Linux but have no way to test on MacOS.
I once again tried to get static builds working but it appears bigger changes need to be made in the original repository so I kept it disabled for now.