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

HEAD build is not building the correct commit #108

Closed
mattip opened this issue Jul 16, 2023 · 4 comments · Fixed by #109
Closed

HEAD build is not building the correct commit #108

mattip opened this issue Jul 16, 2023 · 4 comments · Fixed by #109

Comments

@mattip
Copy link
Collaborator

mattip commented Jul 16, 2023

Any build that is not directly from a tag should have dev in the version or some other way to get more appropriate information. Currently, openblas_get_config() returns something like OpenBLAS 0.3.23 USE64BITINT DYNAMIC_ARCH NO_AFFINITY Zen MAX_THREADS=64 even for builds that are not exactly 0.3.23. It would be nice if it were OpenBLAS 0.3.24-dev .... @martin-frbg is there a way to do that in the make command`?

OpenBLAS is not the problem, we are not properly checking out the commit we want

@martin-frbg
Copy link

It should be doing this already (VERSION is defined at build time by the toplevel CMakeLists.txt and Makefile.rule). Maybe your build doesn't because you cherry-picked some PRs on top of a tagged release or something like that ?

@martin-frbg
Copy link

btw it is 0.3.23.dev for anything between 23 and 24, although .24-dev might make at least as much sense, I "inherited" that naming scheme

@mattip
Copy link
Collaborator Author

mattip commented Jul 16, 2023

Strange. The builds for the current commit, after #101, have OpenBLAS 0.3.23.dev .... The builds for what should be HEAD have OpenBLAS 0.3.23 .... I wonder if building the HEAD of develop somehow gets the wrong version? Or maybe that CI job is not doing what I think it should be doing?

Indeed, looking at the build log I see git checkout v0.3.23. This is coming from git checkout $OPENBLAS_COMMIT. @honno is that environment variable being reset to develop when running a scheduled build? clean_code, see the next comment

@mattip mattip changed the title version string for HEAD should have dev in it HEAD build is not building the correct commit Jul 16, 2023
@mattip
Copy link
Collaborator Author

mattip commented Jul 16, 2023

I think when PR #103 was modified to a single yaml file, instead of two separate ones, I did not properly review which commit was used. The call to clean_code should use develop if it is a nightly build

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 a pull request may close this issue.

2 participants