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

Autoconf: Find Python, even if PYTHON is empty #397

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

marshallward
Copy link
Member

The autoconf Python interpreter search was slightly modified to search for Python even if $PYTHON is set to an empty string. This is done by unsetting PYTHON if it is set but empty, then following the usual macro.

This was required since export PYTHON in a Makefile will create the PYTHON variable but will assign it no value (i.e. empty string). This causes issues in some build environments.

The backup configure~ script was also added to the developer ac-clean cleanup rule.

The autoconf Python interpreter search was slightly modified to search
for Python even if $PYTHON is set to an empty string.  This is done by
unsetting PYTHON if it is set but empty, then following the usual macro.

This was required since `export PYTHON` in a Makefile will create the
`PYTHON` variable but will assign it no value (i.e. empty string).
This causes issues in some build environments.

The backup `configure~` script was also added to the developer
`ac-clean` cleanup rule.
@codecov
Copy link

codecov bot commented Jul 5, 2023

Codecov Report

Merging #397 (ec00962) into dev/gfdl (d44c228) will increase coverage by 0.00%.
The diff coverage is n/a.

❗ Current head ec00962 differs from pull request most recent head e9c4353. Consider uploading reports for the commit e9c4353 to get more accurate results

@@            Coverage Diff            @@
##           dev/gfdl     #397   +/-   ##
=========================================
  Coverage     38.21%   38.21%           
=========================================
  Files           269      269           
  Lines         76413    76413           
  Branches      14033    14033           
=========================================
+ Hits          29201    29203    +2     
+ Misses        41969    41967    -2     
  Partials       5243     5243           

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@adcroft adcroft merged commit 620d933 into NOAA-GFDL:dev/gfdl Jul 7, 2023
@marshallward marshallward deleted the ac_python_null_value branch July 21, 2023 14:39
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.

2 participants