{"action":"created","issue":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/3207","repository_url":"https://api.github.com/repos/Project-OSRM/osrm-backend","labels_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/3207/labels{/name}","comments_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/3207/comments","events_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/3207/events","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/3207","id":186017473,"number":3207,"title":"Add wiki documentation about how to use ENABLE_MASON option","user":{"login":"springmeyer","id":20300,"avatar_url":"https://avatars.githubusercontent.com/u/20300?v=3","gravatar_id":"","url":"https://api.github.com/users/springmeyer","html_url":"https://github.com/springmeyer","followers_url":"https://api.github.com/users/springmeyer/followers","following_url":"https://api.github.com/users/springmeyer/following{/other_user}","gists_url":"https://api.github.com/users/springmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/springmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springmeyer/subscriptions","organizations_url":"https://api.github.com/users/springmeyer/orgs","repos_url":"https://api.github.com/users/springmeyer/repos","events_url":"https://api.github.com/users/springmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/springmeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"springmeyer","id":20300,"avatar_url":"https://avatars.githubusercontent.com/u/20300?v=3","gravatar_id":"","url":"https://api.github.com/users/springmeyer","html_url":"https://github.com/springmeyer","followers_url":"https://api.github.com/users/springmeyer/followers","following_url":"https://api.github.com/users/springmeyer/following{/other_user}","gists_url":"https://api.github.com/users/springmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/springmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springmeyer/subscriptions","organizations_url":"https://api.github.com/users/springmeyer/orgs","repos_url":"https://api.github.com/users/springmeyer/repos","events_url":"https://api.github.com/users/springmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/springmeyer/received_events","type":"User","site_admin":false},"assignees":[{"login":"springmeyer","id":20300,"avatar_url":"https://avatars.githubusercontent.com/u/20300?v=3","gravatar_id":"","url":"https://api.github.com/users/springmeyer","html_url":"https://github.com/springmeyer","followers_url":"https://api.github.com/users/springmeyer/followers","following_url":"https://api.github.com/users/springmeyer/following{/other_user}","gists_url":"https://api.github.com/users/springmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/springmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springmeyer/subscriptions","organizations_url":"https://api.github.com/users/springmeyer/orgs","repos_url":"https://api.github.com/users/springmeyer/repos","events_url":"https://api.github.com/users/springmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/springmeyer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-10-28T20:43:32Z","updated_at":"2016-12-21T15:45:22Z","closed_at":null,"body":"After I work on https://github.com/Project-OSRM/osrm-backend/issues/3202 and get a sense of what linux and OS X versions are supported with deps provided by `-DENABLE_MASON` I'll add a wiki entry for how to build with it.\r\n\r\nUbuntu 16.04:\r\n\r\n```\r\napt-get update -y\r\napt-get install -y zlib1g-dev curl libstdc++-5-dev make binutils libc-dev libgcc-5-dev git\r\ngit clone https://github.com/Project-OSRM/osrm-backend.git\r\ncd osrm-backend\r\n./third_party/mason/mason install cmake 3.6.2\r\nexport PATH=$(./third_party/mason/mason prefix cmake 3.6.2)/bin:$PATH\r\nmkdir build\r\ncd build\r\ncmake ../ -DENABLE_MASON=1\r\nmake\r\n```\r\n\r\nUbuntu 12.04 -> 15.04:\r\n\r\n```\r\napt-get update -y\r\napt-get install -y software-properties-common python-software-properties || true\r\nadd-apt-repository -y ppa:ubuntu-toolchain-r/test\r\napt-get update -y\r\napt-get install -y zlib1g-dev curl libstdc++-5-dev make binutils libc-dev libgcc-5-dev git\r\ngit clone https://github.com/Project-OSRM/osrm-backend.git\r\ncd osrm-backend\r\n./third_party/mason/mason install cmake 3.6.2\r\nexport PATH=$(./third_party/mason/mason prefix cmake 3.6.2)/bin:$PATH\r\nmkdir build\r\ncd build\r\ncmake ../ -DENABLE_MASON=1\r\nmake\r\n```\r\n\r\n`docker run -it centos:7 /bin/bash`\r\n\r\n```bash\r\nyum update\r\nyum install git openssl make automake gcc gcc-c++ kernel-devel zlib-devel wget\r\ngit clone https://github.com/Project-OSRM/osrm-backend.git\r\ncd osrm-backend\r\n./third_party/mason/mason install clang++ 3.8.1\r\nexport PATH=$(./third_party/mason/mason prefix clang++ 3.8.1)/bin:$PATH\r\nexport CC=clang\r\nexport CXX=clang++\r\n./third_party/mason/mason build cmake 3.6.2\r\nexport PATH=$(./third_party/mason/mason prefix cmake 3.6.2)/bin:$PATH\r\nmkdir build\r\ncd build\r\ncmake ../ -DENABLE_MASON=1\r\n\r\n\r\n```\r\n\r\nTODO:\r\n\r\n - docker run -it base/archlinux /bin/bash"},"comment":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/comments/268555489","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/3207#issuecomment-268555489","issue_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/3207","id":268555489,"user":{"login":"springmeyer","id":20300,"avatar_url":"https://avatars.githubusercontent.com/u/20300?v=3","gravatar_id":"","url":"https://api.github.com/users/springmeyer","html_url":"https://github.com/springmeyer","followers_url":"https://api.github.com/users/springmeyer/followers","following_url":"https://api.github.com/users/springmeyer/following{/other_user}","gists_url":"https://api.github.com/users/springmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/springmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springmeyer/subscriptions","organizations_url":"https://api.github.com/users/springmeyer/orgs","repos_url":"https://api.github.com/users/springmeyer/repos","events_url":"https://api.github.com/users/springmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/springmeyer/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T15:45:22Z","updated_at":"2016-12-21T15:45:22Z","body":"Documented on the wiki how to use `ENABLE_MASON=ON` with the two main platforms we've tested on (OS X and Ubuntu):\r\n\r\n  - Ubuntu: https://github.com/Project-OSRM/osrm-backend/wiki/Building-on-Ubuntu/_compare/13c950a5c0c05c42ecb7bc04eb759e543e3eff41...64521c769a42b8af0c59a9b1474b3e30ec9e368e\r\n  - OS X: https://github.com/Project-OSRM/osrm-backend/wiki/Building-OSRM/_compare/b51a6551a512a821544f6c28ae4aa2ee9cb2f3ca...64521c769a42b8af0c59a9b1474b3e30ec9e368e"}}
{"actor":{"display_login":"springmeyer"}}