{"action":"created","issue":{"url":"https://api.github.com/repos/luvit/luvi/issues/153","repository_url":"https://api.github.com/repos/luvit/luvi","labels_url":"https://api.github.com/repos/luvit/luvi/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/luvit/luvi/issues/153/comments","events_url":"https://api.github.com/repos/luvit/luvi/issues/153/events","html_url":"https://github.com/luvit/luvi/issues/153","id":158398736,"number":153,"title":"Build system should change","user":{"login":"milani","id":508130,"avatar_url":"https://avatars.githubusercontent.com/u/508130?v=3","gravatar_id":"","url":"https://api.github.com/users/milani","html_url":"https://github.com/milani","followers_url":"https://api.github.com/users/milani/followers","following_url":"https://api.github.com/users/milani/following{/other_user}","gists_url":"https://api.github.com/users/milani/gists{/gist_id}","starred_url":"https://api.github.com/users/milani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milani/subscriptions","organizations_url":"https://api.github.com/users/milani/orgs","repos_url":"https://api.github.com/users/milani/repos","events_url":"https://api.github.com/users/milani/events{/privacy}","received_events_url":"https://api.github.com/users/milani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-03T15:54:26Z","updated_at":"2016-06-05T18:52:58Z","closed_at":null,"body":"According to different discussions like #109, I suppose supporting embedded devices is a target for luv and luvi. But the build system does not allow this.\r\n\r\nDuring the build, luajit needs some binaries to be built on the HOST system (buildvm and minilua) and CMAKE does not allow two compilers to run, you should either build for cross-compiling or not. \r\n\r\nAnother issue is that luvi uses luajit at some stage in the build process to generate byte-codes for some lua scripts, if we cross-compile, luajit won't run on the host machine.\r\n\r\nI think moving to another build system like gyp or pure Makefile would solve the first issue. For the second, we can force two builds of luajit, one for host, one for target."},"comment":{"url":"https://api.github.com/repos/luvit/luvi/issues/comments/223830235","html_url":"https://github.com/luvit/luvi/issues/153#issuecomment-223830235","issue_url":"https://api.github.com/repos/luvit/luvi/issues/153","id":223830235,"user":{"login":"milani","id":508130,"avatar_url":"https://avatars.githubusercontent.com/u/508130?v=3","gravatar_id":"","url":"https://api.github.com/users/milani","html_url":"https://github.com/milani","followers_url":"https://api.github.com/users/milani/followers","following_url":"https://api.github.com/users/milani/following{/other_user}","gists_url":"https://api.github.com/users/milani/gists{/gist_id}","starred_url":"https://api.github.com/users/milani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milani/subscriptions","organizations_url":"https://api.github.com/users/milani/orgs","repos_url":"https://api.github.com/users/milani/repos","events_url":"https://api.github.com/users/milani/events{/privacy}","received_events_url":"https://api.github.com/users/milani/received_events","type":"User","site_admin":false},"created_at":"2016-06-05T18:52:58Z","updated_at":"2016-06-05T18:52:58Z","body":"Problem is not using a toolchain. It is that luajit and luvi need to build some parts for host not the target and cmake can not do this. "}}
{"actor":{"display_login":"milani"}}