Add gcc-tune script

This commit is contained in:
Greg Hellings
2025-10-02 23:06:58 -05:00
parent 11825210f9
commit 3046178f6b
3 changed files with 18 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
{
writeShellApplication,
gcc,
gnugrep,
}:
writeShellApplication {
name = "gcc-tune";
runtimeInputs = [
gcc
gnugrep
];
text = ''
gcc -march=native -Q --help=target | grep 'mtune='
'';
}