rib/gputop

meson.build web dependencies wrongly included?

Closed this issue · 2 comments

In meson.build, the web dependencies seem to be added when build_webui is false. This seems wrong. Shouldn't this be: if build_webui ?

if *not* build_webui
  libuv_dep = subproject('libuv').get_variable('libuv_dep')
  wslay_dep = subproject('wslay').get_variable('wslay_dep')
  h2o_dep = subproject('h2o').get_variable('h2o_dep')

  subdir('server')
  subdir('wrapper')
  subdir('utils')
endif

Hmm no because the webui uses the websocket stack available in webbrowsers implementations.
So we don't need libuv/wslay/h2o.
Server is obviously as native tool as well as wrapper & utils (a single tool to deal with HW configurations on the command line).

Thanks. I'm trying to build this under Yocto so my build environment for this build is minimized to what the package actually requires. I'll close the issue but bother you privately. :)