This commit is contained in:
Andrew Kane
2024-03-30 16:15:11 -07:00
parent eeeacc771b
commit cd8d04359a
2 changed files with 1 additions and 26 deletions

View File

@@ -24,18 +24,6 @@ jobs:
- run: |
export PG_CONFIG=`which pg_config`
sudo --preserve-env=PG_CONFIG make install
mac:
runs-on: macos-latest
if: ${{ !startsWith(github.ref_name, 'windows') }}
steps:
- uses: actions/checkout@v4
- uses: ankane/setup-postgres@v1
with:
postgres-version: 14
- run: make
env:
PG_CFLAGS: -DUSE_ASSERT_CHECKING -Wall -Wextra -Werror -Wno-unused-parameter
- run: make install
windows:
runs-on: windows-latest
if: ${{ !startsWith(github.ref_name, 'mac') }}
@@ -70,14 +58,3 @@ jobs:
make
env:
PG_CFLAGS: -DUSE_ASSERT_CHECKING -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare
valgrind:
if: ${{ !startsWith(github.ref_name, 'mac') && !startsWith(github.ref_name, 'windows') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ankane/setup-postgres-valgrind@v1
with:
postgres-version: 16
- run: make
- run: sudo --preserve-env=PG_CONFIG make install
- run: make installcheck

View File

@@ -7,8 +7,6 @@
#ifdef __FLT16_MAX__
#define FLT16_SUPPORT
#else
#error "_Float16 not supported"
#endif
#ifdef FLT16_SUPPORT
@@ -16,7 +14,7 @@
#define HALF_MAX FLT16_MAX
#else
/* TODO #pragma message("")? */
#define half uint16
#define half __fp16
#define HALF_MAX 65504
#endif