Closed bocon13 closed 2 years ago
Can I take on this issue? :) First time contributing In a while!
@Michaellin250 Go for it! Please let us know if the issue or objective isn't clear enough, and we can provide more details/guidance.
Hi. I did a pull request and made the change. Let me know if it works!!
Fixed by #1013
Stratum currently depends on Linux headers, which means it can't be built natively on Mac.
For example,
We can use platform defines (e.g.
__linux__
) to help identify the target, so we can use Bazel to determine on a target by target basis what the behavior should be with a select and some custom defines.For example, we probably don't want want to reboot the machine for stratum_dummy or stratum_bmv2, but we could kill the process.
On Mac in general, we probably just want to return gRPC UNIMPLENTED (instead of rebooting the developer machine).
There's also a dependency in
hal.cc
:This might have some hints on how to address the signal handler issue: https://github.com/MichaelSasser/pdfcrack-ng/pull/2/files