Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with static libs #10

Merged
merged 7 commits into from
Mar 20, 2024
Merged

Build with static libs #10

merged 7 commits into from
Mar 20, 2024

Conversation

EricEngle-NOAA
Copy link
Contributor

No description provided.

Fixed some issues with getting proper sp lib information.
Added check for 'sp_mod' in the ip static library file. The NCEPLIBS
team is re-arranging the sp subroutines in the next ip release (past
v5.0.0).

Removed sp include dir logic.  sp (standalone) does not provide an
include file.
Added logic to check for if the ip static library contains references
to OpenMP.
setup.py updated to support finding and static linking to the OpenMP
library (GNU: libgomp; Intel: libiomp5).

Also, a significant update here of a new extension module,
openmp_handler, that allows for the in-program control of setting
and getting the OpenMP thread count.  The extension module functions
are:

openmp_handler.get_openmp_num_threads() and
openmp_handler.set_openmp_num_threads()

These are exposed at the top-level grib2io-interp module.
[skip ci]
@EricEngle-NOAA EricEngle-NOAA linked an issue Mar 20, 2024 that may be closed by this pull request
@EricEngle-NOAA EricEngle-NOAA merged commit 5915423 into main Mar 20, 2024
@EricEngle-NOAA EricEngle-NOAA deleted the build-with-static-libs branch March 20, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow for static library linking
1 participant