Skip to content

Commit

Permalink
deprecate ipxetas (#245)
Browse files Browse the repository at this point in the history
* deprecate ipxetas

* Spack.yml: use grib-util@1.4.0

* debug Spack.yml

* debug MacOS.yml

* debug grib-util failure in Spack CI
  • Loading branch information
AlexanderRichert-NOAA authored Jul 18, 2024
1 parent 2a91ad8 commit 2c6fa1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: NOAA-EMC/ci-test-spack-package@develop
with:
package-name: ip
package-variants: ${{ matrix.variants }} ${{ matrix.variants == '+openmp +shared +pic precision=d' && 'grib-util@develop +tests ^g2c@develop +utils +build_v2_api' || '' }}
package-variants: ${{ matrix.variants }} ${{ matrix.variants == '+openmp +shared +pic precision=d' && 'grib-util@develop +tests ^g2c@develop +utils +build_v2_api ^g2@3.5:' || '' }}
custom-recipe: spack/package.py
spack-compiler: gcc
spack-externals: gmake cmake openblas
Expand Down
6 changes: 5 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# These are the source code filees.
set(fortran_src gdswzd_c.F90 gdswzd_mod.F90 ipolates.F90 ipolatev.F90
ipxetas.F90 ipxwafs.F90 ipxwafs2.F90 ipxwafs3.F90 movect.F90
ipxwafs.F90 ipxwafs2.F90 ipxwafs3.F90 movect.F90
bilinear_interp_mod.F90 bicubic_interp_mod.F90 neighbor_interp_mod.F90
budget_interp_mod.F90 spectral_interp_mod.F90 neighbor_budget_interp_mod.F90
ip_mod.F90 ip_grid_descriptor_mod.F90 ip_grid_mod.F90
Expand All @@ -16,6 +16,10 @@ ip_constants_mod.F90 ip_grids_mod.F90 ip_grid_factory_mod.F90
ip_interpolators_mod.F90 earth_radius_mod.F90 polfix_mod.F90
sp_mod.F)

if(BUILD_DEPRECATED)
set(fortran_src ${fortran_src} ipxetas.F90)
endif()

# Set compiler flags.
if(CMAKE_BUILD_TYPE MATCHES "Debug")
# Bounds checking is turned on for all files for the "Debug" build in the
Expand Down

0 comments on commit 2c6fa1b

Please sign in to comment.