{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":1585601,"defaultBranch":"master","name":"accelerate","ownerLogin":"AccelerateHS","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2011-04-08T02:50:11.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1648588?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1699438217.0","currentOid":""},"activityList":{"items":[{"before":"5ceb2da5d9ddc4ea0a5705d46bf4de9321ba17da","after":"fbee01da36aba525d8c60922d1e83500556d7650","ref":"refs/heads/master","pushedAt":"2024-04-27T10:19:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tomsmeding","name":"Tom Smeding","path":"/tomsmeding","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6559933?s=80&v=4"},"commit":{"message":"Update tracy to 0.10","shortMessageHtmlLink":"Update tracy to 0.10"}},{"before":"d332735f8af4fdc137feead16b4b9f3c9e9d22e8","after":"5ceb2da5d9ddc4ea0a5705d46bf4de9321ba17da","ref":"refs/heads/master","pushedAt":"2024-04-09T09:31:41.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"tomsmeding","name":"Tom Smeding","path":"/tomsmeding","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6559933?s=80&v=4"},"commit":{"message":"Merge pull request #538 from MaksymilianDemitraszek/master\n\nUpdated path in setup script","shortMessageHtmlLink":"Merge pull request #538 from MaksymilianDemitraszek/master"}},{"before":"334d05519436bb7f20f9926ec76418f5b8afa359","after":"d332735f8af4fdc137feead16b4b9f3c9e9d22e8","ref":"refs/heads/master","pushedAt":"2024-04-09T09:29:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tomsmeding","name":"Tom Smeding","path":"/tomsmeding","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6559933?s=80&v=4"},"commit":{"message":"Compatibility fix with GHC 9.8\n\nThanks @noahmartinwilliams!\n\nCloses #541","shortMessageHtmlLink":"Compatibility fix with GHC 9.8"}},{"before":"e486f3c2b6ff5b941d2f57f5897b881e5d4da745","after":"334d05519436bb7f20f9926ec76418f5b8afa359","ref":"refs/heads/master","pushedAt":"2023-11-10T14:31:03.000Z","pushType":"pr_merge","commitsCount":4,"pusher":{"login":"tomsmeding","name":"Tom Smeding","path":"/tomsmeding","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6559933?s=80&v=4"},"commit":{"message":"Merge pull request #539 from AccelerateHS/process_options\n\nflags.c: More robust flags parsing","shortMessageHtmlLink":"Merge pull request #539 from AccelerateHS/process_options"}},{"before":"410b76911d11f9cd13bd41ce629057a3c2b7963d","after":"fac9f857f06fabdb8478ea28470ca9bec199b87f","ref":"refs/heads/process_options","pushedAt":"2023-11-08T22:59:56.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"tomsmeding","name":"Tom Smeding","path":"/tomsmeding","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6559933?s=80&v=4"},"commit":{"message":"Fix typos","shortMessageHtmlLink":"Fix typos"}},{"before":"c8a316ffed4b38e04f7bab9b575accb6b61a0456","after":"e486f3c2b6ff5b941d2f57f5897b881e5d4da745","ref":"refs/heads/master","pushedAt":"2023-11-08T22:58:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tomsmeding","name":"Tom Smeding","path":"/tomsmeding","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6559933?s=80&v=4"},"commit":{"message":"Fix up HEAD^\n\nOf course, the directory to be created is just hs_tmpdir; the ../ chain\nwas to get back to $PWD relative to c_builddir, where the symlink lives.","shortMessageHtmlLink":"Fix up HEAD^"}},{"before":"f03d0adb56a8cfab84cc277d728122bcf00bb304","after":"410b76911d11f9cd13bd41ce629057a3c2b7963d","ref":"refs/heads/process_options","pushedAt":"2023-11-08T14:06:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tomsmeding","name":"Tom Smeding","path":"/tomsmeding","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6559933?s=80&v=4"},"commit":{"message":"Fix typos","shortMessageHtmlLink":"Fix typos"}},{"before":"d92db4e7a2c45e1db07843754e25bbd166443f97","after":"f03d0adb56a8cfab84cc277d728122bcf00bb304","ref":"refs/heads/process_options","pushedAt":"2023-11-08T10:11:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tomsmeding","name":"Tom Smeding","path":"/tomsmeding","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6559933?s=80&v=4"},"commit":{"message":"Remove debug prints","shortMessageHtmlLink":"Remove debug prints"}},{"before":null,"after":"d92db4e7a2c45e1db07843754e25bbd166443f97","ref":"refs/heads/process_options","pushedAt":"2023-11-08T10:10:17.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"tomsmeding","name":"Tom Smeding","path":"/tomsmeding","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6559933?s=80&v=4"},"commit":{"message":"flags.c: More robust flags parsing\n\nTwo important changes:\n1. We now parse _all_ +ACC ... -ACC blocks instead of only the first\n one.\n2. We don't segfault if we encounter a NULL in argv[].\n\nThese fixes were informed by the awkward bug of \"passing +RTS or +ACC\nmakes the program hang indefinitely\". The reason this happened was that,\nperhaps since recently, GHC has changed (?) approaches to parsing +RTS\narguments. I'm not sure what it did before, but at least now, it\nshuffles all the non-RTS arguments to the front of argv[] and puts a\nNULL value as the first non-argument. Stale copies of other, perhaps\nRTS, arguments can be found after that NULL.\n\nWhat happened is that the process_options constructor function got\ncalled multiple times during execution (to be precise, twice); the\nsecond invocation seems to be connected to accelerate-llvm-native\nstarting some threads. But the strange thing is that it only gets called\n_once_ more, not numCapabillities more times.\n\nIn any case, we get called multiple times, and the second time the GHC\nRTS had put a NULL in argv[], and we happily didn't check for NULL and\nran strncmp() which segfaulted. And due to some signal handler on\nSIGSEGV which may or may not handle that by ignoring it entirely (?),\nnothing happened and all froze.\n\nThe direct fix for that is (2.) above, but in order to make this robust\nwe also have to do (1.). The reason is that if a user does this:\n\n +ACC abcd -ACC +ACC efgh -ACC\n\nthen our first run would have parsed \"abcd\" as an Accelerate flag and\nrewritten the argument list to:\n\n -RTS -RTS -RTS +ACC efgh -ACC\n\nwhich the GHC RTS would have rewritten to:\n\n +ACC efgh -ACC -RTS -RTS\n\nafter which the second invocation of process_options() would parse a\n+ACC block that we didn't parse before, resulting in non-idempotency. We\ndon't want that, so we make sure to parse _all_ +ACC blocks the first\ntime round.","shortMessageHtmlLink":"flags.c: More robust flags parsing"}},{"before":"17466411109170c4e4361d9980f1cded0eb85efb","after":"c8a316ffed4b38e04f7bab9b575accb6b61a0456","ref":"refs/heads/master","pushedAt":"2023-11-07T21:41:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tomsmeding","name":"Tom Smeding","path":"/tomsmeding","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6559933?s=80&v=4"},"commit":{"message":"Setup.hs: Fix tracy symlink when being built as dep","shortMessageHtmlLink":"Setup.hs: Fix tracy symlink when being built as dep"}},{"before":"f9eb010ed267357ae0e23d7ddf98186ef2ff5034","after":"17466411109170c4e4361d9980f1cded0eb85efb","ref":"refs/heads/master","pushedAt":"2023-10-09T19:38:12.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"tmcdonell","name":"Trevor L. McDonell","path":"/tmcdonell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/728113?s=80&v=4"},"commit":{"message":"Merge pull request #537 from AccelerateHS/setup-symlink","shortMessageHtmlLink":"Merge pull request #537 from AccelerateHS/setup-symlink"}},{"before":null,"after":"19e7294e17cf5990dcb9dff050569140350d6d5a","ref":"refs/heads/setup-symlink","pushedAt":"2023-10-09T14:22:03.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"tomsmeding","name":"Tom Smeding","path":"/tomsmeding","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6559933?s=80&v=4"},"commit":{"message":"Fix Setup.hs if c_tmpdir already exists but is invalid","shortMessageHtmlLink":"Fix Setup.hs if c_tmpdir already exists but is invalid"}},{"before":"450ed688318fc7e11b1398f1667bbe2d29f9a6b7","after":"f9eb010ed267357ae0e23d7ddf98186ef2ff5034","ref":"refs/heads/master","pushedAt":"2023-08-22T11:15:18.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"tmcdonell","name":"Trevor L. McDonell","path":"/tmcdonell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/728113?s=80&v=4"},"commit":{"message":"update cabal.project","shortMessageHtmlLink":"update cabal.project"}},{"before":"dbc3b3b1c8de9281ecc823f6d73d2cfaa81438b9","after":"450ed688318fc7e11b1398f1667bbe2d29f9a6b7","ref":"refs/heads/master","pushedAt":"2023-06-13T16:26:25.409Z","pushType":"push","commitsCount":1,"pusher":{"login":"tomsmeding","name":"Tom Smeding","path":"/tomsmeding","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6559933?s=80&v=4"},"commit":{"message":"Show instances for TupR and LeftHandSide","shortMessageHtmlLink":"Show instances for TupR and LeftHandSide"}},{"before":"ea6ed7583ae5e7b0a4c93ee3aa9bb0159bd672ee","after":"dbc3b3b1c8de9281ecc823f6d73d2cfaa81438b9","ref":"refs/heads/master","pushedAt":"2023-04-14T11:55:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tomsmeding","name":"Tom Smeding","path":"/tomsmeding","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6559933?s=80&v=4"},"commit":{"message":"Fix Semigroup instance for Exp Maybe\n\nFixes #517","shortMessageHtmlLink":"Fix Semigroup instance for Exp Maybe"}},{"before":"5971c5d8e4dbba28d2017e7ce422cf46a20197cb","after":"ea6ed7583ae5e7b0a4c93ee3aa9bb0159bd672ee","ref":"refs/heads/master","pushedAt":"2023-04-12T09:40:59.000Z","pushType":"push","commitsCount":52,"pusher":{"login":"tmcdonell","name":"Trevor L. McDonell","path":"/tmcdonell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/728113?s=80&v=4"},"commit":{"message":"ci: change in behaviour of ‘cabal haddock’\n\nhaskell/cabal#8725","shortMessageHtmlLink":"ci: change in behaviour of ‘cabal haddock’"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEO8ch6gA","startCursor":null,"endCursor":null}},"title":"Activity · AccelerateHS/accelerate"}