From f24bc7a46c2e85b9442acd5e3654ad5a565fbb5c Mon Sep 17 00:00:00 2001 From: Dennis Heimbigner Date: Tue, 24 Sep 2024 15:31:20 -0600 Subject: [PATCH] test1 --- .github/workflows/main-cmake.yml | 2 +- .github/workflows/run_tests_osx.yml | 2 +- .github/workflows/run_tests_ubuntu.yml | 2 +- .github/workflows/run_tests_win_cygwin.yml | 2 +- .github/workflows/run_tests_win_mingw.yml | 2 +- CMakeLists.txt | 6 +----- include/netcdf.h | 2 -- include/netcdf_dispatch.h.in | 6 ------ unit_test/run_pluginpaths.sh | 4 ++-- 9 files changed, 8 insertions(+), 20 deletions(-) diff --git a/.github/workflows/main-cmake.yml b/.github/workflows/main-cmake.yml index 93edb15cef..2a94624736 100644 --- a/.github/workflows/main-cmake.yml +++ b/.github/workflows/main-cmake.yml @@ -1,6 +1,6 @@ name: NetCDF-C CMake CI - Windows -on: [pull_request, workflow_dispatch] +on: [push,pull_request, workflow_dispatch] env: REMOTETESTDOWN: ${{ vars.REMOTETESTDOWN }} diff --git a/.github/workflows/run_tests_osx.yml b/.github/workflows/run_tests_osx.yml index 11f4bc734a..cfe8077423 100644 --- a/.github/workflows/run_tests_osx.yml +++ b/.github/workflows/run_tests_osx.yml @@ -6,7 +6,7 @@ name: Run macOS-based netCDF Tests -on: [pull_request,workflow_dispatch] +on: [push,pull_request,workflow_dispatch] concurrency: group: ${{ github.workflow}}-${{ github.head_ref }} diff --git a/.github/workflows/run_tests_ubuntu.yml b/.github/workflows/run_tests_ubuntu.yml index 3ec6a595cd..6ec2b104be 100644 --- a/.github/workflows/run_tests_ubuntu.yml +++ b/.github/workflows/run_tests_ubuntu.yml @@ -4,7 +4,7 @@ name: Run Ubuntu/Linux netCDF Tests -on: [pull_request,workflow_dispatch] +on: [push,pull_request,workflow_dispatch] env: REMOTETESTDOWN: ${{ vars.REMOTETESTDOWN }} diff --git a/.github/workflows/run_tests_win_cygwin.yml b/.github/workflows/run_tests_win_cygwin.yml index 463177097b..3e6fda20ff 100644 --- a/.github/workflows/run_tests_win_cygwin.yml +++ b/.github/workflows/run_tests_win_cygwin.yml @@ -1,6 +1,6 @@ name: Run Cygwin-based tests -on: [pull_request,workflow_dispatch] +on: [push,pull_request,workflow_dispatch] concurrency: group: ${{ github.workflow}}-${{ github.head_ref }} diff --git a/.github/workflows/run_tests_win_mingw.yml b/.github/workflows/run_tests_win_mingw.yml index 032a31a894..fe88c64648 100644 --- a/.github/workflows/run_tests_win_mingw.yml +++ b/.github/workflows/run_tests_win_mingw.yml @@ -10,7 +10,7 @@ env: CPPFLAGS: "-D_BSD_SOURCE" REMOTETESTDOWN: ${{ vars.REMOTETESTDOWN }} -on: [pull_request,workflow_dispatch] +on: [push,pull_request,workflow_dispatch] concurrency: group: ${{ github.workflow}}-${{ github.head_ref }} diff --git a/CMakeLists.txt b/CMakeLists.txt index 64bec430ba..6351569612 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ cmake_minimum_required(VERSION 3.20.0) #Project Name project(netCDF - LANGUAGES C CXX ASM + LANGUAGES C CXX HOMEPAGE_URL "https://www.unidata.ucar.edu/software/netcdf/" DESCRIPTION "NetCDF is a set of software libraries and machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data." VERSION 4.9.4 @@ -69,10 +69,6 @@ if(BUILD_SHARED_LIBS) set(CMAKE_POSITION_INDEPENDENT_CODE ON) endif() -if(MSVC) -add_compile_options("/Gs10000000") -endif() - add_library(netcdf) add_library(netCDF::netcdf ALIAS netcdf) diff --git a/include/netcdf.h b/include/netcdf.h index 403f927acb..ceaeed2b03 100644 --- a/include/netcdf.h +++ b/include/netcdf.h @@ -226,8 +226,6 @@ Use this in mode flags for both nc_create() and nc_open(). */ #define NC_FORMATX_NCZARR (10) #define NC_FORMATX_UNDEFINED (0) -#define NC_FORMATX_COUNT (NC_FORMATX_NCZARR+1) /* range of formatx indices 0