Skip to content

Commit

Permalink
v1.0.6: Add ability to not allow f2py code to build for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 committed Oct 30, 2024
1 parent 8ce0867 commit 859b3c4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Removed

# [v1.0.6.1] 2023-09-08

### Changed

- Allow ability to not compile f2py code for CI purposes

# [v1.0.6] 2023-09-08

### Added
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cmake_policy (SET CMP0054 NEW)

project (
GMAOpyobs
VERSION 1.0.2
VERSION 1.0.6.1
LANGUAGES Fortran CXX C) # Note - CXX is required for ESMF

# Enforce out of source directory builds
Expand Down
5 changes: 5 additions & 0 deletions src/f2py/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ esma_set_this ( OVERRIDE GMAOpyobs )

# cmake requirements
# ------------------
# NOTE: For CI purposes, f2py is hard to support. Until
# a solution can be found, we add a flag to allow
# the user to disable f2py in these circumstances
if (USE_F2PY)
find_package(F2PY3 REQUIRED)


Expand Down Expand Up @@ -58,3 +62,4 @@ esma_set_this ( OVERRIDE GMAOpyobs )
)
add_dependencies(sgp4_ ${this})

endif (USE_F2PY)

0 comments on commit 859b3c4

Please sign in to comment.