[PATCH] building lnt tools to test cross-compiling

Robert Lytton robert at xmos.com
Thu Feb 13 14:15:37 PST 2014


Hi Daniel,

  ifdef USER_MODE_EMULATION
  RUNSAFELY := $(RUNSAFELY) -t "$(TIMEIT)"
  else
  RUNSAFELY := $(RUNSAFELY) -t "$(TIMEIT_TARGET)"
  endif
> You forgot to also look at where TIMEIT is used, which includes this line:
> RUNSAFELYLOCAL := $(RUNSAFELYLOCAL) --show-errors -t "$(TIMEIT)"
> With USER_MODE_EMULATION off, both can be used.

Quite right, my mistake, I originally had:
  -all:: timeit timeit-target fpcmp TargetConfig.mk
  +ifdef USER_MODE_EMULATION
  +all:: timeit fpcmp TargetConfig.mk
  +else
  +all:: timeit timeit-target fpcmp TargetConfig.mk
  +endif

Would this be acceptable?
Would ' timeit-target' ever be run on an emulator?
I'm trying to understand how remote testing and the use of an emulator would combine...

Robert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140213/b35dc0c6/attachment.html>


More information about the llvm-commits mailing list