Validating with LLVM
Ben Gamari
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
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20181101/9e16ad53/attachment.sig>
More information about the ghc-devs
mailing list