Hello all,
I was wondering if its possible to add a time to see howlong a build takes.
f.e
I have a build cmd like:
#!/bin/sh
NCORES=$(nproc)
MAXCORES=$(( NCORES - 5 ))
NJS=$(( MAXCORES > 1 ? MAXCORES : 1 ))
echo "Cleaning previous compiled files..."
rm -r qmake-qt6-gcc1420
echo "Make a new directory..."
mkdir qmake-qt6-gcc1420
cd qmake-qt6-gcc1420
echo "Creating the Makefile..."
qmake6 ../ -r -spec os2-g++ -r CONFIG+="release" 2>&1 |tee qmake.out
echo "Compiling the programma with $NJS threads ($NCORES cores)..."
make -j$NJS 2>&1 |tee make.out
echo "Done."
I like to see how long a compiling takes in time
So is it possible to add some strings in this cmd ??
As i have no idea how to add or what string to use.
Could someone helps me out
With kind regards, TeLLie