Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As spoken at SC' 2023, this adds the necessary files for generating a Debian package in the debian/ directory.
It also has a docker/ directory which creates the .deb package inside a debian docker image. It was done this way so one can generate the Debian package always in a clean environment, and from non-debian machines (My workstation right now is a mac).
The workflow is simple:
cd docker ./build.sh
After a minute or two, there's a deb file with the latest tag from the "upstream" - in my case, set to
https://github.com/TACC/Lmod.git
.This might need some adjustment in the docker file as it expects at least a branch called
debian
with thedebian
anddocker
directories to build itself there. Once this is on themaster
branch, this part is unnecessary.I am talking about this: https://github.com/surak/Lmod/blob/4986506b836dfa9b6767f692830ecb907f864766/docker/Dockerfile#L44