You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test for RPC instead of checking hardcoded paths (wrf-model#1830)
Change to configure to test for RPC package instead of checking hardcoded paths, so that non-standard RPC installs can still be found.
TYPE: enhancement
KEYWORDS: configure, build, rpc, make, test
SOURCE: Brian Vanderwende (NCAR)
DESCRIPTION OF CHANGES:
Problem:
If an RPC library is installed in a non-standard prefix with a package manager like Spack, WRF will not be able to find it.
Solution:
Instead of checking hardcoded locations for `rpc/types.h`, compile a test program to check for one of the variants. Since symbolic linking hacks are occasionally done to make tirpc friendlier, it's also good to check constants to confirm the version used.
LIST OF MODIFIED FILES (from develop):
M Makefile
M configure
A tools/rpc_test.c
TESTS CONDUCTED:
1. The success is determined by running `configure` on a system that uses Spack to install libtirpc.
2. The Jenkins tests have passed - no impact on other part of code.
RELEASE NOTE: Test for RPC headers to support non-standard locations.
0 commit comments