Validating with LLVM
ben at smart-cactus.org
Thu Nov 1 15:19:23 UTC 2018
Travis Whitaker <pi.boy.travis at gmail.com> writes:
> Hello GHC Devs,
> I'm working on a very tiny patch for GHC. The patch concerns the LLVM code
> generator, and I'd like to run the validate script. ./validate ignores mk/
> build.mk (which is probably correct) and it doesn't seem to be using the
> LLVM backend. LLVM tools are on the PATH; I'm working from the ghc-8.4
> branch so I'm using LLVM 5.
> Is it possible to validate with the LLVM backend? If not, what's considered
> a sufficiently thorough test? Apologies if I'm missing something obvious.
The validate script doesn't support this directly. I would do the
make test WAY=llvm
That should do what you want (and IIRC is what we do in the LLVM CI
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 487 bytes
Desc: not available
More information about the ghc-devs