From bc5548333a5f873a1eab396bd121f216f6d16f76 Mon Sep 17 00:00:00 2001 From: Dusan Jovic <48258889+DusanJovic-NOAA@users.noreply.github.com> Date: Mon, 22 Nov 2021 09:07:46 -0500 Subject: [PATCH] Use upp as a submodule (#421) * Use upp as a submodule and update UPP --- .gitmodules | 4 ++++ CMakeLists.txt | 2 ++ upp | 1 + 3 files changed, 7 insertions(+) create mode 160000 upp diff --git a/.gitmodules b/.gitmodules index a54f243ae..6bb663df1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,7 @@ path = ccpp/physics url = https://github.com/NCAR/ccpp-physics branch = main +[submodule "upp"] + path = upp + url = https://github.com/NOAA-EMC/UPP + branch = develop diff --git a/CMakeLists.txt b/CMakeLists.txt index 03ec1411a..ec9721ba6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,8 @@ add_subdirectory(atmos_cubed_sphere) ### fv3atm ############################################################################### if(INLINE_POST) + set(BUILD_POSTEXEC OFF) + add_subdirectory(upp) set(POST_SRC io/inline_post.F90 io/post_nems_routines.F90 io/post_gfs.F90 io/post_regional.F90) else() set(POST_SRC io/inline_post_stub.F90) diff --git a/upp b/upp new file mode 160000 index 000000000..c939eae6b --- /dev/null +++ b/upp @@ -0,0 +1 @@ +Subproject commit c939eae6bacb3c2a93753bba54b8646f32a0a7ab