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

Github #969 Use stdout instead of file for configure check #1089

Merged
merged 7 commits into from
Nov 18, 2021
Merged

Github #969 Use stdout instead of file for configure check #1089

merged 7 commits into from
Nov 18, 2021

Conversation

byrnHDF
Copy link
Contributor

@byrnHDF byrnHDF commented Oct 13, 2021

github #969 requested that instead of writing config test info to a file that the info be pulled from stdout.
autoconf macro needs to use stderr.

@byrnHDF byrnHDF self-assigned this Oct 13, 2021
@byrnHDF byrnHDF requested a review from brtnfld October 13, 2021 19:19
@byrnHDF byrnHDF changed the title Use stdout instead of file for configure check Github #1019 Use stdout instead of file for configure check Oct 13, 2021
@byrnHDF byrnHDF changed the title Github #1019 Use stdout instead of file for configure check Github #969 Use stdout instead of file for configure check Oct 13, 2021
fi
rm -f pac_Cconftest.out
LDBL_DIG=$(./conftest$EXEEXT 2>&1 | sed -n '1p')
FLT128_DIG=$(./conftest$EXEEXT 2>&1 | sed -n '2p')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if this fails? the error check was removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then the values will be empty.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and it fails during build instead of in configure with probably an obscure error.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The check in configure was only that the file existed and sed could read the file. It didn't check values.
We can add a configure-time check that the values are non-zero?

@brtnfld
Copy link
Contributor

brtnfld commented Oct 28, 2021

What is the reason for the change? Is there some JIRA issue this addresses?

@lrknox
Copy link
Collaborator

lrknox commented Oct 28, 2021 via email

@byrnHDF byrnHDF requested a review from epourmal November 2, 2021 13:52
@byrnHDF
Copy link
Contributor Author

byrnHDF commented Nov 3, 2021

HDF5 does not build on macOS Monterey with GCC 11.2 #1157

@lrknox lrknox merged commit aa2f673 into HDFGroup:develop Nov 18, 2021
lrknox pushed a commit that referenced this pull request Nov 25, 2021
Merge Fix Fortran REGEX and newlines #1226
Merge Github #969 Use stdout instead of file for configure check #1089
Merge Consolidate VFD create list macro #1132
lrknox pushed a commit that referenced this pull request Dec 8, 2021
* Convert SWMR shell scripts to Windows powershell.

* Use $LastExitCode instead of $? in script

* Prevent execution in a different window

* Github #969 Use stdout instead of file for configure check (#1089)

* Use stdout instead of file for configure check

* Make change requested by #1157

* Change fortran to use stderr for configure

* Correct typo

* remove obsolete file check

* Fortran statement fix

* Don't allow H5Pset(get)_all_coll_metadata_ops for DXPLs (#1201)

* Fixes const warnings in H5ES package (#1211)

* Quiets a 'set but not used' warning in h5diff_array.c (#1210)

* Convert vds swmr test script to powershell

* Enable vdsswmr powershell test

* Add configure vdsswmr statement

* Correct powershell script vars

* Convert SWMR shell scripts to Windows powershell.

* Use $LastExitCode instead of $? in script

* Prevent execution in a different window

* Github #969 Use stdout instead of file for configure check (#1089)

* Use stdout instead of file for configure check

* Make change requested by #1157

* Change fortran to use stderr for configure

* Correct typo

* remove obsolete file check

* Fortran statement fix

* Convert vds swmr test script to powershell

* Enable vdsswmr powershell test

* Add configure vdsswmr statement

* Correct powershell script vars

* Cleanup review issues

* Fix variable assignment

* Change the wait function to pass in the path

* Disable actual test execution until programs fixed

* Adjust copyright text

* Fix spelling

Co-authored-by: jhendersonHDF <jhenderson@hdfgroup.org>
Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com>
@byrnHDF byrnHDF deleted the develop-GH969 branch January 12, 2022 19:47
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.

4 participants