Visa-Research / volepsi

Efficient Private Set Intersection base on VOLE
MIT License
98 stars 32 forks source link

How can I use my boost that have installed in my computer and not download a new one? #62

Closed Fix3dP0int closed 4 months ago

Fix3dP0int commented 5 months ago

as the title suggests, please give me some solutions. Thank you very much!

ladnir commented 5 months ago

Are you willing to modify the code?

If so, do a clean clone without boost enabled. Then go to out/coproto/cmake/coprotoFindDeps.cmake

Go to line https://github.com/Visa-Research/coproto/blob/main/cmake/coprotoFindDeps.cmake#L146

And set the version of boost you want or remove the versioning altogether.

To be sure it doesn't fetch if it doesn't find your boost, you can comment out

https://github.com/Visa-Research/coproto/blob/main/cmake/coprotoFindDeps.cmake#L155

The enable boost and build. I think that should do it. Maybe I could add better support for this. Will think about it...