Open stefantalpalaru opened 6 years ago
You don't expect me to write one overnight, do you? That said, I don't think writing one is in my current power. I'll probably focus on optimizing the current solver by removing more complex hacks and focusing on providing good input rather than working around the bad input developers give.
(and 3 minutes is actually quite a good result for Portage)
Would you be open to a contribution using an external C++ library like https://www.msoos.org/cryptominisat4/ ?
Generally I don't mind extra deps but in this case it'd strongly depend on someone actually doing the integration. There are two requirements though:
The license is fine - mostly MIT - https://github.com/msoos/cryptominisat/blob/master/LICENSE.txt
Yes, an opt-in solver behind a new USE flag and "emerge" argument was what I had in mind.
libsolv seems good too. It may be a good start to just have an interface for using an external solver, so different implementations can be tested and compared.
Yes, if someone is working on this, I'd suggest focusing on having a one-of-N switch, rather than binary y/n between two resolvers. But I won't be expecting miracles ;-).
I presume you know all the problems with SAT from the recent mailing list threads?
I presume you know all the problems with SAT from the recent mailing list threads?
We do now: https://archives.gentoo.org/gentoo-dev/message/40f9585ba6a9850eb82853d945d608eb
libsolv would be great, especially if it could be used by qmerge in portage-utils(qmerge is binary pkg merger written in C)
Details: https://research.swtch.com/version-sat
Importance:
(and this is an overclocked FX-8320E@4.4GHz, not some ARM SoC)