-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix inspection tests #22
Comments
It's something to do with splitmix which I thought I just fixed but actually still no.
Somehow cabal compiles local dependencies differently? Repro:
The tests also pass if I add splitmix as a git dependency. Haven't tried stack. I don't know what's different. Version information
|
Following these instructions
I get the expected result (pass locally, fail from hackage) Does cabal perhaps use different flags when compiling locally vs from hackage? There is no diff between the uploaded Hackage |
Thanks! I think I found it, the build using local splitmix is also using random-1.1 whereas the build using remote splitmix is using random-1.2. Forcing random-1.1 in that case makes the tests pass. |
(Sorry if it's obvious) Is it a problem of splitmix w/random-1.2 or this project? I am currently disabling tests for Arch. |
This only concerns this project. |
I see, thanks! |
The current status is that, using newer the random 1.2 package, there is a subtle difference, from a lack of inlining, in the generated Core between what generic-random gives you and a reference "manual" implementation. That's "good enough" for virtually all practical purposes, but it's just unfortunate that regressions in this area can currently be caught only by routinely reenabling the test and manually comparing the Core. |
They got broken since last time I looked at this repository, no idea why, I haven't investigated yet.
The text was updated successfully, but these errors were encountered: