| 1 |
This package ensures that the machine has required CPU facilities; users who |
| 2 |
attempt installation on an inadequate processor will receive an error message |
| 3 |
in preinst. This is useful if there's no way to make your package support |
| 4 |
the base ISA for the architecture. |
| 5 |
|
| 6 |
While in general packages are required to at least try, there are situations |
| 7 |
when baseline support is infeasible or a pure waste of time. No one is |
| 8 |
going to run scientific number-crunching software on a pre-SSE2/SSE3 |
| 9 |
machine. Or upstream code may use such extensions unconditionally, and |
| 10 |
you don't have the resources to fix that yourself. |
| 11 |
|
| 12 |
You should also consider how likely other software is to use your package. |
| 13 |
A fast strong hash is something with many uses, big and small, so it's a |
| 14 |
priority to port libraries like libhighwayhash to all CPUs. On the other |
| 15 |
hand, a niche piece of software is unlikely to be repurposed for other uses. |
| 16 |
|
| 17 |
|
| 18 |
The check is skipped in two cases: |
| 19 |
* when the target architecture is not executable at all (an ARM SoC mounted |
| 20 |
into an amd64 machine, etc) |
| 21 |
* when ISA_IGNORE environment variable has a non-empty value |