cpuinfo: add support for BSD
Description
Adds naive support for BSD based distributions based on the code for linux
/cc @jbeich, @brad0 please test this to make sure this is actually correct.
I tested this in a FreeBSD 13.0 VM on AWS but not an OpenBSD vm yet, and it only has the code for amd64 BSD and doesn't have the components for arm (as I assume cpuinfo gets excluded in the CMakeLists from a previous fix)
Issue
Closes #1613 (closed)
Author(s)
Performance impact
-
quality -
memory -
speed -
8 bit -
10 bit -
N/A
Test set
-
obj-1-fast can be found here -
other -
N/A
Merge method
-
Allow the maintainer to squash and merge when PR is ready to create a 1-commit to the master branch. The maintainer will be able to fix typos / combine commit messages to create a more readable 1-commit message or use whatever is stated in the 'Description' section -
I will clean up my commits and the maintainer shall use 'rebase and merge' to the master branch