{"action":"created","issue":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/1866","labels_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1866/labels{/name}","comments_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1866/comments","events_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1866/events","html_url":"https://github.com/chapel-lang/chapel/pull/1866","id":70245961,"number":1866,"title":"Enable clang-included to work with gasnet on a Cray","user":{"login":"mppf","id":3653132,"avatar_url":"https://avatars.githubusercontent.com/u/3653132?v=3","gravatar_id":"","url":"https://api.github.com/users/mppf","html_url":"https://github.com/mppf","followers_url":"https://api.github.com/users/mppf/followers","following_url":"https://api.github.com/users/mppf/following{/other_user}","gists_url":"https://api.github.com/users/mppf/gists{/gist_id}","starred_url":"https://api.github.com/users/mppf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mppf/subscriptions","organizations_url":"https://api.github.com/users/mppf/orgs","repos_url":"https://api.github.com/users/mppf/repos","events_url":"https://api.github.com/users/mppf/events{/privacy}","received_events_url":"https://api.github.com/users/mppf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-22T21:57:25Z","updated_at":"2015-06-05T20:29:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chapel-lang/chapel/pulls/1866","html_url":"https://github.com/chapel-lang/chapel/pull/1866","diff_url":"https://github.com/chapel-lang/chapel/pull/1866.diff","patch_url":"https://github.com/chapel-lang/chapel/pull/1866.patch"},"body":"This patch does these things:\r\n* sets CHPL_ORIG_TARGET_COMPILER when switching to clang-included and modifies\r\n  chpl_arch.py to determine the architecture based PrgEnv stuff if the original\r\n  target compiler was a PrgEnv one.\r\n* adds CHPL_MAKE_BASE_CFLAGS variable which should be the first thing included\r\n  after a $(CC) invocation.\r\n* modifies Gasnet setup in runtime/etc/Makefile.comm-gasnet to not overwrite CC\r\n  but instead append to CHPL_MAKE_BASE_CFLAGS and to\r\n  CHPL_MAKE_THIRD_PARTY_LINK_ARGS\r\n* Add a script to gather essential flags from PrgEnv compiler invocations.\r\n  These populate CHPL_MAKE_BASE_CFLAGS  and CHPL_MAKE_THIRD_PARTY_LINK_ARGS in\r\n  make/compiler/Makefile.clang-included\r\n\r\n- [ ] code review\r\n- [ ] test on many systems\r\n- [ ] pass full local testing"},"comment":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/comments/109431240","html_url":"https://github.com/chapel-lang/chapel/pull/1866#issuecomment-109431240","issue_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1866","id":109431240,"user":{"login":"mppf","id":3653132,"avatar_url":"https://avatars.githubusercontent.com/u/3653132?v=3","gravatar_id":"","url":"https://api.github.com/users/mppf","html_url":"https://github.com/mppf","followers_url":"https://api.github.com/users/mppf/followers","following_url":"https://api.github.com/users/mppf/following{/other_user}","gists_url":"https://api.github.com/users/mppf/gists{/gist_id}","starred_url":"https://api.github.com/users/mppf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mppf/subscriptions","organizations_url":"https://api.github.com/users/mppf/orgs","repos_url":"https://api.github.com/users/mppf/repos","events_url":"https://api.github.com/users/mppf/events{/privacy}","received_events_url":"https://api.github.com/users/mppf/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T20:29:26Z","updated_at":"2015-06-05T20:29:26Z","body":"- [ ] check portability on a variety of Linux VMs"}}