-
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
Some little improvements #47
Conversation
guillep
commented
Feb 2, 2023
- updated for Pharo 11
- finding z3 in M1 installations
- add a comment to bit vector class with an example
The full pharo build fails because of this error, that seems unrelated:
|
The other one seems to fail in ST/X because of my changes. But there are two of them:
I'll undo those for now, but it raises the question:
|
This is definitely a very welcome PR. A few nitpicks before this can be merged: In Removing
To expedite merging of this PR, I would recommend dropping Finally, I would reword the commit message in So yeah, what I am proposing for this PR, is to keep only |
That's for @janvrany . |
I don't get it. What remains of "Update for Pharo 11" then? Perhaps we should have a quick call with @janvrany when he comes online? |
I added I think that there is not much left in this PR finally :P. So, to summarise:
|
BTW, I was super happy I made the example I needed work yesterday :) |
Well, we are pretty interested in getting off of the long-outdated Pharo 8. See, for example, Issue 24. So when you submit a PR which says "This make MA work on Pharo11", we are obviously excited. |
The steep learning curve for Z3, for SMT in general, for MachineArithmetic which is not just an FFI for Z3 but on top of that contains a dependent type system, so there is the learning curve related to dependent types -- that's a very big and painful problem (and we haven't even gotten to the "interesting applications" of MachineArithmetic, such as PharoArchC or TinyRossa!), and what documentation is appropriate as "user-oriented", to me this seems like a huge open-ended question. Its discussion definitely doesn't fit in this PR thread; we can discuss separately. |
Not right now. For St/X maybe I can archive JUnit .xml report.
Having a look right now.
I'm in my office now, will be here until say 3:30pm UK time. Just ping in BA slack. |
Sigh, it seems to me MS changed something in Windows runner, this build |
I don't get it. What does Windows have to do with |
I think I fixed Windows build problem: https://github.com/shingarov/MachineArithmetic/actions/runs/4084147512
|
The error @guillep was referring was from Windows CI runner. So because of my ignorance, we ended up in situation when an attempt to Now, apparently some versions of GNU make are smart enough to detect this and ignore the inclusion - this is case of my and your case, it "worked" just it did not created the Some other version seems to fail with an error. |
@guillep Do you still want the deprecation fix merged? |
I just understood why it was missing. This is because it is in Note however, that once I fix it, the thing will stop working on Pharo 11 - see my comment in #24 |
I saw all the comments, but that makes me wonder. Why is |
Oh, PreSmalltalks is definitely required for Z3 to work. |
Ok, maybe it was just not needed for my small examples |
Looking at the code, For core Z3
It is not specific to Z3, this is used on multiple places in this codebases and other that depend on it ( ArchC and Tinyrossa for example).
Looking a the code, yes, it should be okay to use |
That wasn't my point. My point is, right now we assume PreSmalltalks is always present in all configurations (and this is true about all repos), simply because the day has 24hrs. My understanding of why Guille had to pull in
I still suggest what I had suggested before: reset the branch to only contain |
27ea77b
to
2936134
Compare
2936134
to
25ff5f6
Compare
Thanks @guillep ! I'll let @shingarov to press the merge button. |