Last active
June 2, 2021 21:26
-
-
Save icaoberg/fe2bbd65b7df59ee1459f31e1bfacea8 to your computer and use it in GitHub Desktop.
Singularity recipe for hyperfine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copyright © 2021 Pittsburgh Supercomputing Center. | |
# All Rights Reserved. | |
IMAGE=singularity-hyperfine-1.11.0.sif | |
DEFINITION=Singularity | |
if [ -f $IMAGE ]; then | |
rm -fv $IMAGE | |
fi | |
sudo singularity build $IMAGE $DEFINITION | |
if [ -f $IMAGE ]; then | |
exit 0 | |
else | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bootstrap: docker | |
From: alpine:edge | |
%labels | |
AUTHOR icaoberg | |
MAINTAINER [email protected] | |
WEBSITE https://www.andrew.cmu.edu/~icaoberg | |
VERSION 1.11.0 | |
%post | |
apk update | |
apk add hyperfine | |
#################################################################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment