Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: begin working on supporting PGI
PGI doesn't actually work yet; there are a few things to fix in Squash: * The splicing code relies on TLS, but PGI doesn't support it (!). It should be possible to tweak the code a bit to avoid TLS, which would be a good thing for portability in general; TCC doesn't support TLS either, though PGI is the only modern non-toy compiler I'm aware of which doesn't. * PGI doesn't like -fno-builtin, and it's not MSVC. There also may be something we can fix in Hedley; I was getting an error from the conformant array parameters (HEDLEY_ARRAY_PARAM). It should work in any C99-compliant compiler, but the error was sufficiently cryptic that I want to take a closer look before pushing a change. Additionally, there are issues in libaries various plugins use. IIRC brotli, gipfeli, and libdeflate (and maybe others) have issues I haven't looked at yet. If anyone wants to take a stab, there is now a community edition: http://www.pgroup.com/products/community.htm I'll try to get back to it soon (I'm curious about performance). IIRC brotli, gipfeli, libdeflate, and possibly others will need some changes.
- Loading branch information