/mpfr-deploy

deploy code for GNU Multiprecision library

Primary LanguageShellApache License 2.0Apache-2.0

mpfr-deploy

Build Status DOI

Build, test and deploy code for GNU Multiprecision library

Versions

We build the following versions:

  • 3.1.2
  • 4.0.1

How to use this repo

  1. The builds take place inside a docker container on https://ci.sagrid.ac.za
  2. Write a build.sh script that builds your application
  3. Write a check-build.sh script that runs internal tests and anything you'd like to test
  4. Write a deploy.sh script which recompiles with the /cvmfs target.

Contents of the repo

This repo contains three scripts:

  1. build.sh
  2. check-build.sh
  3. deploy.sh

These define basically two test phases, the build and functional test phases, as well as the deployment phase respectively.

Build Test Phase

The build phase does the following things

  1. Set up the build environment variables
  2. Check out the source code
  3. Configure the build
  4. Compile the source into an executable form.
  5. Create a modulefile which loads the dependencies and sets the environment variables needed to execute the application.

The build phase should pass iff the expected libraries and executable files are present. It is your responsibility to define where these files are, on a case-by-case basis.

Functional test phase

The test phase does the following things :

  1. Loads the modulefile created by build.sh
  2. installs the libraries into the $SOFT_DIR directory
  3. Executes the application with a predefined input or configuration

When things go wrong

If you have a legitimate error, or need support, please open an issue

Otherwise, open a topic on the forum

Citing

Cite as : Bruce Becker. (2017). SouthAfricaDigitalScience/mpfr-deploy: CODE-RADE Foundation Release 3 - MPFR [Data set]. Zenodo. http://doi.org/10.5281/zenodo.571362