
1 Nov
2018
1 Nov
'18
11:19 a.m.
Travis Whitaker
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 following: ./validate --build-only make test WAY=llvm That should do what you want (and IIRC is what we do in the LLVM CI script). Cheers, - Ben