Skip to content

Commit

Permalink
Merge branch 'HDFGroup:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Feb 27, 2024
2 parents cd60d84 + a123cdd commit 007f772
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 12 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/aocc-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
description: "release vs. debug build"
required: true
type: string
build_option:
description: "--enable-production or --disable-production"
required: true
type: string

permissions:
contents: read
Expand Down Expand Up @@ -48,7 +52,7 @@ jobs:
mkdir "${{ runner.workspace }}/build"
cd "${{ runner.workspace }}/build"
$GITHUB_WORKSPACE/configure \
--enable-build-mode=${{ inputs.build_mode }} \
${{ inputs.build_option }} \
--enable-netcdf \
--enable-shared \
--disable-fortran \
Expand Down Expand Up @@ -116,7 +120,7 @@ jobs:
mkdir "${{ runner.workspace }}/build"
cd "${{ runner.workspace }}/build"
$GITHUB_WORKSPACE/configure \
--enable-build-mode=${{ inputs.build_mode }} \
${{ inputs.build_option }} \
--enable-netcdf \
--disable-shared \
--enable-fortran \
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/autotools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
netcdf: enable
shared: enable
build_mode: "debug"
build_option: "--disable-production"

call-release-netcdf-autotools:
name: "Autotools Release NetCDF Workflows"
Expand All @@ -26,6 +27,7 @@ jobs:
netcdf: enable
shared: enable
build_mode: "production"
build_option: "--enable-production"

call-debug-static-autotools:
name: "Autotools Debug Static Workflows"
Expand All @@ -34,6 +36,7 @@ jobs:
netcdf: disable
shared: disable
build_mode: "debug"
build_option: "--disable-production"

call-release-static-autotools:
name: "Autotools Release Static Workflows"
Expand All @@ -42,21 +45,26 @@ jobs:
netcdf: disable
shared: disable
build_mode: "production"
build_option: "--enable-production"

call-release-auto-intel:
name: "Autotools Intel Workflows"
uses: ./.github/workflows/intel-auto.yml
with:
build_mode: "production"
build_option: "--enable-production"

call-release-auto-nvhpc:
name: "Autotools nvhpc Workflows"
uses: ./.github/workflows/nvhpc-auto.yml
with:
build_mode: "production"
build_option: "--enable-production"

call-release-auto-aocc:
name: "Autotools aocc Workflows"
uses: ./.github/workflows/aocc-auto.yml
with:
build_mode: "production"
build_option: "--enable-production"

6 changes: 5 additions & 1 deletion .github/workflows/intel-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
description: "release vs. debug build"
required: true
type: string
build_option:
description: "--enable-production or --disable-production"
required: true
type: string

permissions:
contents: read
Expand Down Expand Up @@ -57,7 +61,7 @@ jobs:
mkdir "${{ runner.workspace }}/build"
cd "${{ runner.workspace }}/build"
$GITHUB_WORKSPACE/configure \
--enable-build-mode=${{ inputs.build_mode }} \
${{ inputs.build_option }} \
--enable-netcdf \
--enable-shared \
--disable-fortran
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/main-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
description: "release vs. debug build"
required: true
type: string
build_option:
description: "--enable-production or --disable-production"
required: true
type: string
shared:
description: "shared enable/disable"
required: true
Expand Down Expand Up @@ -59,7 +63,7 @@ jobs:
mkdir "${{ runner.workspace }}/build"
cd "${{ runner.workspace }}/build"
$GITHUB_WORKSPACE/configure \
--enable-build-mode=${{ inputs.build_mode }} \
${{ inputs.build_option }} \
--${{ inputs.netcdf }}-netcdf \
--disable-fortran \
--${{ inputs.shared }}-java \
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/nvhpc-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
description: "release vs. debug build"
required: true
type: string
build_option:
description: "--enable-production or --disable-production"
required: true
type: string

permissions:
contents: read
Expand Down Expand Up @@ -46,8 +50,7 @@ jobs:
mkdir "${{ runner.workspace }}/build"
cd "${{ runner.workspace }}/build"
$GITHUB_WORKSPACE/configure \
FCFLAGS="-fPIC -fortranlibs" \
--enable-build-mode=${{ inputs.build_mode }} \
${{ inputs.build_option }} \
--disable-fortran \
--enable-shared \
#cat config.log
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ppc64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
mkdir "build"
cd "build"
../configure \
--enable-build-mode=production \
--enable-production \
--enable-netcdf \
--disable-fortran \
--disable-java \
Expand Down
8 changes: 4 additions & 4 deletions hdf/src/hdf_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
/* The library always uses UNIXBUFIO */
#define FILELIB UNIXBUFIO

/* Common library headers */
#include "hdf.h"
#include "herr_priv.h"

/*--------------------------------------------------------------------------*/
/* MT/NT constants */
/* Four MT nibbles represent double, float, int, uchar (from most */
Expand Down Expand Up @@ -68,10 +72,6 @@
#define DF_MT DFMT_LE
#endif

/* Common library headers */
#include "hdf.h"
#include "herr_priv.h"

/* Standard C library headers */
#include <assert.h>
#include <ctype.h>
Expand Down
2 changes: 1 addition & 1 deletion hdf/test/tutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ extern

#define MESSAGE(v, a) \
{ \
if (Verbosity > v) { \
if (Verbosity >= v) { \
a \
} \
}
Expand Down

0 comments on commit 007f772

Please sign in to comment.