{"action":"opened","issue":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/717","repository_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues","labels_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/717/labels{/name}","comments_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/717/comments","events_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/717/events","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/717","id":142375114,"number":717,"title":"OS X build of Python that could embed LuaJIT?","user":{"login":"kcarnold","id":21072,"avatar_url":"https://avatars.githubusercontent.com/u/21072?v=3","gravatar_id":"","url":"https://api.github.com/users/kcarnold","html_url":"https://github.com/kcarnold","followers_url":"https://api.github.com/users/kcarnold/followers","following_url":"https://api.github.com/users/kcarnold/following{/other_user}","gists_url":"https://api.github.com/users/kcarnold/gists{/gist_id}","starred_url":"https://api.github.com/users/kcarnold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcarnold/subscriptions","organizations_url":"https://api.github.com/users/kcarnold/orgs","repos_url":"https://api.github.com/users/kcarnold/repos","events_url":"https://api.github.com/users/kcarnold/events{/privacy}","received_events_url":"https://api.github.com/users/kcarnold/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-21T15:00:30Z","updated_at":"2016-03-21T15:00:30Z","closed_at":null,"body":"For interop with machine learning code written in Torch, it would be great to be able to use [lupa](https://pypi.python.org/pypi/lupa) with LuaJIT. Unfortunately this fails at present because LuaJIT needs its host executable to be compiled with some special flags.\r\n\r\nWould it be possible to build the Anaconda Python package with the appropriate flags to be able to embed LuaJIT? Specifically, the following flags would need to be passed to the linker:\r\n\r\n`-pagezero_size 10000 -image_base 100000000`\r\n\r\nSee http://luajit.org/install.html.\r\n\r\nI do not know if there are any downsides to these flags; ideally there wouldn't need to be a special build."}}