Skip to content

Commit

Permalink
fix git status query
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrohr committed Oct 22, 2015
1 parent af6dc9a commit 15e8297
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions makes/Make.ptest
Expand Up @@ -103,9 +103,13 @@ dexe.grd: $(HPL_pteobj) $(HPLlib)
#

ifeq ("$(call isenabled,-DHPL_PRINT_GIT_STATUS)", "yes")
../hpl_git_status.tmp ../caldgemm_git_status.tmp ../date.tmp:
echo \"`git status | head -n 1` - `git log --pretty=format:'%H' -n 1` `git status | grep nothing\ to\ commit`\" > ../hpl_git_status.tmp && \
export HPLDIR=`pwd` && cd ../../../caldgemm && echo \"`git status | head -n 1` - `git log --pretty=format:'%H' -n 1` `git status | grep nothing\ to\ commit`\" > $$HPLDIR/../caldgemm_git_status.tmp
../hpl_git_status.tmp: .FORCE
echo \"`LANGUAGE=en git status | head -n 1` - `LANGUAGE=en git log --pretty=format:'%H' -n 1` `LANGUAGE=en git status | grep nothing\ to\ commit`\" > ../hpl_git_status.tmp

../caldgemm_git_status.tmp: .FORCE
export HPLDIR=`pwd` && cd ../../../caldgemm && echo \"`LANGUAGE=en git status | head -n 1` - `LANGUAGE=en git log --pretty=format:'%H' -n 1` `LANGUAGE=en git status | grep nothing\ to\ commit`\" > $$HPLDIR/../caldgemm_git_status.tmp

../date.tmp: .FORCE
echo \"`date`\" > ../date.tmp

HPL_pdinfo.o: ../hpl_git_status.tmp ../caldgemm_git_status.tmp ../date.tmp
Expand Down

0 comments on commit 15e8297

Please sign in to comment.