{"action":"created","issue":{"url":"https://api.github.com/repos/ocaml/ocaml/issues/507","repository_url":"https://api.github.com/repos/ocaml/ocaml","labels_url":"https://api.github.com/repos/ocaml/ocaml/issues/507/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/ocaml/issues/507/comments","events_url":"https://api.github.com/repos/ocaml/ocaml/issues/507/events","html_url":"https://github.com/ocaml/ocaml/pull/507","id":140451344,"number":507,"title":"The Makefile.nt Rampage","user":{"login":"whitequark","id":54771,"avatar_url":"https://avatars.githubusercontent.com/u/54771?v=3","gravatar_id":"","url":"https://api.github.com/users/whitequark","html_url":"https://github.com/whitequark","followers_url":"https://api.github.com/users/whitequark/followers","following_url":"https://api.github.com/users/whitequark/following{/other_user}","gists_url":"https://api.github.com/users/whitequark/gists{/gist_id}","starred_url":"https://api.github.com/users/whitequark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitequark/subscriptions","organizations_url":"https://api.github.com/users/whitequark/orgs","repos_url":"https://api.github.com/users/whitequark/repos","events_url":"https://api.github.com/users/whitequark/events{/privacy}","received_events_url":"https://api.github.com/users/whitequark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":38,"created_at":"2016-03-13T05:37:59Z","updated_at":"2016-03-17T15:05:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ocaml/ocaml/pulls/507","html_url":"https://github.com/ocaml/ocaml/pull/507","diff_url":"https://github.com/ocaml/ocaml/pull/507.diff","patch_url":"https://github.com/ocaml/ocaml/pull/507.patch"},"body":"I'm working on a proper Unix-to-Windows cross-compiler opam repository and the proliferation of completely unnecessary Makefile.nt files annoyed me to the greatest extent. So I did a cleanup pass.\r\n\r\nAfter this, the only nontrivial Makefile.nt files are the ones in stdlib (reasonable), asmrun+byterun (needs to have pic/shared/profiling to be sorted out), otherlibs/systhreads (reasonable), and ocamldoc (stupid differences, but beyond my attention span to fix).\r\n\r\nI tried to avoid creating a Makefile.shared if there wasn't one, or, conversely, removing, in an effort to keep the diffs tractable, though this results in some inconsistency."},"comment":{"url":"https://api.github.com/repos/ocaml/ocaml/issues/comments/197924183","html_url":"https://github.com/ocaml/ocaml/pull/507#issuecomment-197924183","issue_url":"https://api.github.com/repos/ocaml/ocaml/issues/507","id":197924183,"user":{"login":"bluddy","id":87875,"avatar_url":"https://avatars.githubusercontent.com/u/87875?v=3","gravatar_id":"","url":"https://api.github.com/users/bluddy","html_url":"https://github.com/bluddy","followers_url":"https://api.github.com/users/bluddy/followers","following_url":"https://api.github.com/users/bluddy/following{/other_user}","gists_url":"https://api.github.com/users/bluddy/gists{/gist_id}","starred_url":"https://api.github.com/users/bluddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluddy/subscriptions","organizations_url":"https://api.github.com/users/bluddy/orgs","repos_url":"https://api.github.com/users/bluddy/repos","events_url":"https://api.github.com/users/bluddy/events{/privacy}","received_events_url":"https://api.github.com/users/bluddy/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T15:05:59Z","updated_at":"2016-03-17T15:05:59Z","body":"> Looks to me like ninja is written in C++, and is configured in python/provides a python API if needed\r\n\r\nI thought it was written in python as well. What do you suggest, c-cube? I would really love to start moving (not so much the compiler but more the community) away from depending on Makefiles or anything Unix-specific for building OCaml code. Where is the solution? OCamlbuild can't do it in its current state, and I'm not sure the will is there to get it to where it needs to be. ocp-build seems promising but doesn't seem to be getting much love."}}