ComparativeGenomicsToolkit / cactus

Official home of genome aligner based upon notion of Cactus graphs
Other
481 stars 106 forks source link

Try to make illegal instruction message more precise #1364

Closed glennhickey closed 2 months ago

glennhickey commented 2 months ago

Printing the "cpu not compatible with avx2" message whenever a command crashes with exit 4 can be confusing, as shown in #1348 .

This PR requires "illegal instruction" to be found in stderr (if stderr captured) for the message to happen, which will hopefully make cases like #1348 more rare.