{"action":"created","issue":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/1843","labels_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1843/labels{/name}","comments_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1843/comments","events_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1843/events","html_url":"https://github.com/chapel-lang/chapel/pull/1843","id":68941911,"number":1843,"title":"Don't speculatively build with the PGI compiler on Cray X*.","user":{"login":"gbtitus","id":7740880,"avatar_url":"https://avatars.githubusercontent.com/u/7740880?v=3","gravatar_id":"","url":"https://api.github.com/users/gbtitus","html_url":"https://github.com/gbtitus","followers_url":"https://api.github.com/users/gbtitus/followers","following_url":"https://api.github.com/users/gbtitus/following{/other_user}","gists_url":"https://api.github.com/users/gbtitus/gists{/gist_id}","starred_url":"https://api.github.com/users/gbtitus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbtitus/subscriptions","organizations_url":"https://api.github.com/users/gbtitus/orgs","repos_url":"https://api.github.com/users/gbtitus/repos","events_url":"https://api.github.com/users/gbtitus/events{/privacy}","received_events_url":"https://api.github.com/users/gbtitus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"thomasvandoren","id":530981,"avatar_url":"https://avatars.githubusercontent.com/u/530981?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasvandoren","html_url":"https://github.com/thomasvandoren","followers_url":"https://api.github.com/users/thomasvandoren/followers","following_url":"https://api.github.com/users/thomasvandoren/following{/other_user}","gists_url":"https://api.github.com/users/thomasvandoren/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasvandoren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasvandoren/subscriptions","organizations_url":"https://api.github.com/users/thomasvandoren/orgs","repos_url":"https://api.github.com/users/thomasvandoren/repos","events_url":"https://api.github.com/users/thomasvandoren/events{/privacy}","received_events_url":"https://api.github.com/users/thomasvandoren/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-04-16T14:56:12Z","updated_at":"2015-04-16T14:57:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chapel-lang/chapel/pulls/1843","html_url":"https://github.com/chapel-lang/chapel/pull/1843","diff_url":"https://github.com/chapel-lang/chapel/pull/1843.diff","patch_url":"https://github.com/chapel-lang/chapel/pull/1843.patch"},"body":"We have problems involving alloca() in gmp when it's built with the PGI\r\ntarget compiler on Cray X* platforms.  So, don't speculatively build gmp\r\nin that situation.  The specific file changes are as follows:\r\n\r\nthird-party/Makefile:\r\nSet a GMP_SPECULATIVE make variable when invoking the third-party/gmp\r\nMakefile for a speculative build.\r\n\r\nthird-party/gmp/Makefile:\r\nFor speculative builds, squash them entirely and print a message when\r\ntarget=cray-x* and target compiler=*pgi.  For non-speculative builds\r\nwith this target and target compiler, warn that the resulting gmp may\r\nhave problems, but do the build anyway.\r\n\r\nWhile here, I also rearranged the make targets so that we don't unpack\r\nthe tar file or do the configure step unless we're going to build gmp.\r\nWith the previous arrangement, there wasn't a good place to squash the\r\nbuild until after the unpack and configure had been done, which take a\r\nbit of time.\r\n\r\nWhile here, for a 'clean', delete not only the configuration-specific\r\nbuild subdir but also the config-specific install subdir.  This makes\r\nthings a little easier when testing Makefile changes, since for the\r\nspeculatively built packages we depend not only on the build subdir but\r\nalso the install subdir (for the .h file, whose presence tells us that\r\nwe have already speculatively built)."},"comment":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/comments/93755761","html_url":"https://github.com/chapel-lang/chapel/pull/1843#issuecomment-93755761","issue_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1843","id":93755761,"user":{"login":"gbtitus","id":7740880,"avatar_url":"https://avatars.githubusercontent.com/u/7740880?v=3","gravatar_id":"","url":"https://api.github.com/users/gbtitus","html_url":"https://github.com/gbtitus","followers_url":"https://api.github.com/users/gbtitus/followers","following_url":"https://api.github.com/users/gbtitus/following{/other_user}","gists_url":"https://api.github.com/users/gbtitus/gists{/gist_id}","starred_url":"https://api.github.com/users/gbtitus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbtitus/subscriptions","organizations_url":"https://api.github.com/users/gbtitus/orgs","repos_url":"https://api.github.com/users/gbtitus/repos","events_url":"https://api.github.com/users/gbtitus/events{/privacy}","received_events_url":"https://api.github.com/users/gbtitus/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T14:57:01Z","updated_at":"2015-04-16T14:57:01Z","body":"hey @thomasvandoren can you take a look at this one?"}}