Skip to content

Commit

Permalink
simplification and cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
guoqing-noaa committed Oct 26, 2023
1 parent d45f06b commit 9555665
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 16 deletions.
5 changes: 3 additions & 2 deletions blending/chgres_winds/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
cmake_minimum_required(VERSION 3.0)
project(chgres_winds)

#set(CFLAGS "-std=c99")
# Find the path to libiomp5.so
find_library(LIBIOMP5_PATH NAMES libiomp5.so)
set(FCODE ${CMAKE_CURRENT_SOURCE_DIR}/chgres_winds.f90)
Expand All @@ -13,4 +12,6 @@ execute_process(
RESULT_VARIABLE F2PY_RESULT
)

install(SCRIPT "installSO.CMake")
#install chgres_winds.so
file(GLOB_RECURSE SOFILE "${CMAKE_CURRENT_BINARY_DIR}/*chgres_winds*.so")
install(FILES ${SOFILE} DESTINATION ${CMAKE_INSTALL_LIBDIR} RENAME chgres_winds.so)
2 changes: 0 additions & 2 deletions blending/chgres_winds/installSO.CMake

This file was deleted.

5 changes: 3 additions & 2 deletions blending/raymond/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
cmake_minimum_required(VERSION 3.0)
project(raymond)

#set(CFLAGS "-std=c99")
set(FCODE ${CMAKE_CURRENT_SOURCE_DIR}/raymond.f)

# Compile the Fortran code using f2py
Expand All @@ -11,4 +10,6 @@ execute_process(
RESULT_VARIABLE F2PY_RESULT
)

install(SCRIPT "installSO.CMake")
#install raymond.so
file(GLOB_RECURSE SOFILE "${CMAKE_CURRENT_BINARY_DIR}/*raymond*.so")
install(FILES ${SOFILE} DESTINATION ${CMAKE_INSTALL_LIBDIR} RENAME raymond.so)
2 changes: 0 additions & 2 deletions blending/raymond/installSO.CMake

This file was deleted.

5 changes: 3 additions & 2 deletions blending/remap_dwinds/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
cmake_minimum_required(VERSION 3.0)
project(remap_dwinds)

#set(CFLAGS "-std=c99")
# Find the path to libiomp5.so
find_library(LIBIOMP5_PATH NAMES libiomp5.so)
set(FCODE ${CMAKE_CURRENT_SOURCE_DIR}/remap_dwinds.f90)
Expand All @@ -13,4 +12,6 @@ execute_process(
RESULT_VARIABLE F2PY_RESULT
)

install(SCRIPT "installSO.CMake")
#install remap_dwinds.so
file(GLOB_RECURSE SOFILE "${CMAKE_CURRENT_BINARY_DIR}/*remap_dwinds*.so")
install(FILES ${SOFILE} DESTINATION ${CMAKE_INSTALL_LIBDIR} RENAME remap_dwinds.so)
2 changes: 0 additions & 2 deletions blending/remap_dwinds/installSO.CMake

This file was deleted.

5 changes: 3 additions & 2 deletions blending/remap_scalar/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
cmake_minimum_required(VERSION 3.0)
project(remap_scalar)

#set(CFLAGS "-std=c99")
# Find the path to libiomp5.so
find_library(LIBIOMP5_PATH NAMES libiomp5.so)
set(FCODE ${CMAKE_CURRENT_SOURCE_DIR}/remap_scalar.f90)
Expand All @@ -13,4 +12,6 @@ execute_process(
RESULT_VARIABLE F2PY_RESULT
)

install(SCRIPT "installSO.CMake")
#install remap_scalar.so
file(GLOB_RECURSE SOFILE "${CMAKE_CURRENT_BINARY_DIR}/*remap_scalar*.so")
install(FILES ${SOFILE} DESTINATION ${CMAKE_INSTALL_LIBDIR} RENAME remap_scalar.so)
2 changes: 0 additions & 2 deletions blending/remap_scalar/installSO.CMake

This file was deleted.

0 comments on commit 9555665

Please sign in to comment.