mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-11-01 21:07:59 +00:00
to install a helper script to be used with ccache for handling its compiler checks with either nvcc or an ordinary compiler. Signed-off-by: Matt Madison <matt@madison.systems>
9 lines
119 B
Bash
9 lines
119 B
Bash
#!/bin/sh
|
|
compiler="$1"
|
|
shift
|
|
if [ $(basename "$compiler") = "nvcc" ]; then
|
|
"$compiler" --version
|
|
else
|
|
"$@"
|
|
fi
|