Skip to content

Time check flag propagation and default value. #696

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

Merged
merged 2 commits into from
Aug 31, 2022

Conversation

ACSimon33
Copy link
Contributor

Description

We had an issue where we need architecture flags for the Nagfor compiler to run on Apple Silicon. Those flags are defined from the outside build harness via:

-DCMAKE_Fortran_FLAGS="-Wc,-target,arm64-apple-macos11"
-DCMAKE_EXE_LINKER_FLAGS="-Wl,-arch,arm64"

The problem was that these flags weren't propagated to the time check subproject, resulting in all of the tests failing including second_NONE.f. That alone wouldn't be a problem if the default value for TIME_FUNC was set correctly, which wasn't the case.

I added the flag propagation as well as the correct default value for TIME_FUNC. I also added -DCMAKE_VERBOSE_MAKEFILE=ON which will add a bit more output to the log files. It won't add anything to stdout or stderr.

Checklist

  • [N/A] The documentation has been updated.
  • [N/A] If the PR solves a specific issue, it is set to be closed on merge.

…project. Enable verbose output (will only show in the log files). Bit of formatting.
Copy link
Collaborator

@weslleyspereira weslleyspereira left a comment

Choose a reason for hiding this comment

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

Thanks!

@ACSimon33
Copy link
Contributor Author

Can we merge this or should I change something?

@langou langou merged commit 801ac2f into Reference-LAPACK:master Aug 31, 2022
@langou
Copy link
Contributor

langou commented Aug 31, 2022

Can we merge this or should I change something?

Thanks for ping.

@julielangou julielangou added this to the LAPACK 3.11.0 milestone Nov 12, 2022
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.

5 participants