virgo-agent-toolkit / rackspace-monitoring-agent

Rackspace Cloud Monitoring Agent
http://virgoagent.com/rackspace-monitoring-agent/
Apache License 2.0
118 stars 39 forks source link

Use LIT_VERSION in Windows build's make.bat #977

Closed itzg closed 5 years ago

itzg commented 5 years ago

For Windows the Make.bat is used to simulate make on Linux. As a side effect, it's not as robust at using the versions declared in the wrapper build script -- in fact, it seems to pretty much ignore them. Worse still, the get-lit powershell script used in make.bat was always downloading the latest from master instead the version set at the top of make.bat.

A mismatch in lit version would result in errors like this when running the agent:

...s64/home/Administrator/luvi-sigar/src/lua/luvibundle.lua:321: bundle:deps/require.lua: cannot load incompatible bytecode