Add gcc-tune script
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{
|
||||
writeShellApplication,
|
||||
gcc,
|
||||
gnugrep,
|
||||
}:
|
||||
|
||||
writeShellApplication {
|
||||
name = "gcc-tune";
|
||||
runtimeInputs = [
|
||||
gcc
|
||||
gnugrep
|
||||
];
|
||||
text = ''
|
||||
gcc -march=native -Q --help=target | grep 'mtune='
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user