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

Some changes to the build.shs script #88

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

micaeljtoliveira
Copy link
Contributor

Some changes to the build.sh script:

  • do not append the git hash to the executable anymore
  • installation is done purely with the "cmake --install"
  • installation directory is now a subdirectory of the directory where the script is to be found, named after the build type (e.g., access-om3/Release)

The idea is that we should now use spack to install Access-OM3 on gadi, so there should be no need of appending the git hashes to the executables.

 - do not append the git hash to the executable anymore
 - installation is done purely with the "cmake --install"
 - installation directory is now a subdirectory of the directory where the script
   is to be found, named after the build type (e.g., access-om3/Release)
@micaeljtoliveira
Copy link
Contributor Author

@aekiss @dougiesquire Happy to get some feedback about these changes.

Copy link
Collaborator

@dougiesquire dougiesquire left a comment

Choose a reason for hiding this comment

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

Seems fine to me. I guess the Wiki will need updating. It would also be good to have info on installing with spack (I didn't see it).

@aekiss
Copy link
Contributor

aekiss commented Dec 18, 2023

Seems ok to me, since it's still possible to determine the source code for any executable.

@micaeljtoliveira micaeljtoliveira self-assigned this Jan 9, 2024
@micaeljtoliveira micaeljtoliveira added the build system Build system label Jan 9, 2024
@micaeljtoliveira micaeljtoliveira added this to the 0.3.x milestone Jan 9, 2024
@micaeljtoliveira micaeljtoliveira merged commit 6f9085f into main Jan 9, 2024
2 checks passed
@micaeljtoliveira micaeljtoliveira deleted the simplify_build_script branch April 5, 2024 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system Build system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants