mirror of
https://github.com/google/brotli.git
synced 2024-11-09 21:50:07 +00:00
Blacklist PGI from using conformant array parameters. (#511)
* Blacklist PGI from using conformant array parameters. There is a bug in pgcc with conformant array parameters where the length argument is a pointer which triggers a compiler error (PGC-S-0094, to be specific). The issue has been reported to PGI and is being tracked internally as TPR 23778. For more information, see https://www.pgroup.com/userforum/viewtopic.php?t=5501 * travis: Add PGI Community Edition build. For details on the installation script, see https://github.com/nemequ/pgi-travis
This commit is contained in:
parent
53366083e0
commit
d03c38da7f
@ -21,6 +21,13 @@ case "$1" in
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
"linux")
|
||||
case "${CC}" in
|
||||
"pgcc")
|
||||
wget -q -O /dev/stdout 'https://raw.githubusercontent.com/nemequ/pgi-travis/master/install-pgi.sh' | /bin/sh
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
"script")
|
||||
|
@ -118,6 +118,12 @@ matrix:
|
||||
packages:
|
||||
- clang-3.5
|
||||
|
||||
###
|
||||
## PGI Community Edition on Linux
|
||||
###
|
||||
- os: linux
|
||||
env: BUILD_SYSTEM=cmake C_COMPILER=pgcc CXX_COMPILER=pgc++
|
||||
|
||||
###
|
||||
## Python build on Linux
|
||||
###
|
||||
|
@ -81,7 +81,7 @@ typedef void* (*brotli_alloc_func)(void* opaque, size_t size);
|
||||
typedef void (*brotli_free_func)(void* opaque, void* address);
|
||||
|
||||
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && \
|
||||
!defined(__cplusplus)
|
||||
!defined(__cplusplus) && !defined(__PGI)
|
||||
#define BROTLI_ARRAY_PARAM(L) L
|
||||
#else
|
||||
#define BROTLI_ARRAY_PARAM(L)
|
||||
|
Loading…
Reference in New Issue
Block a user