Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Changes added for GCHP]

### Changed
- Disabled f2py in GCHP

### Fixed

Expand Down
20 changes: 11 additions & 9 deletions python/esma_python.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# CMake code involving Python

list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/f2py2")
include (esma_find_python2_module)
include (esma_check_python2_module)
include (esma_add_f2py2_module)
list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/f2py3")
include (esma_find_python3_module)
include (esma_check_python3_module)
include (esma_add_f2py3_module)
# Exclude the following from GCHP
#list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/f2py2")
#include (esma_find_python2_module)
#include (esma_check_python2_module)
#include (esma_add_f2py2_module)
#list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/f2py3")
#include (esma_find_python3_module)
#include (esma_check_python3_module)
#include (esma_add_f2py3_module)

option(USE_F2PY "Turn on F2PY builds" ON)
# Turn off F2PY builds in GCHP
option(USE_F2PY "Turn on F2PY builds" OFF)