Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save yoachim/b4a63ae8f8b7c5cb95b5 to your computer and use it in GitHub Desktop.
Save yoachim/b4a63ae8f8b7c5cb95b5 to your computer and use it in GitHub Desktop.

First: git tag the package for release. (please also fill out the git "Release" page, making it an official release and giving you a spot to write notes.)

Next, for eups:

  • log into lsst-dev as lsstsw : (without taking along your own ssh github keys!)
  • ssh -a lsstsw@lsst-dev.ncsa.illinois.edu
  • rebuild -r w.2015.30 -r 2.0 lsst_sims (or appropriate DM tag and sims tag: note that these resolve left to right, and any matching tag that is found will be used). -- note the BUILD ID that comes from the rebuild process.
  • publish -b BUILDID -t sims lsst_sims

Next, for Conda binaries: You must build the conda binaries on both a linux and a mac machine. More info on conda release building is at https://github.com/mjuric/conda-lsst

-- First time building conda binaries on lsst-dev

  • ssh [username]@lsst-dev.ncsa.illinois.edu
  • git clone git@github.com:mjuric/conda-lsst.git
  • cd conda-lsst
  • ./bin/bootstrap.sh
  • export PATH="$PWD/miniconda/bin:$PATH"
  • export PATH="$PWD/bin:$PATH"
  • conda build recipes/static/patchelf
  • conda build recipes/static/eups
  • conda build recipes/static/legacy_configs
  • conda config --add channels http://eupsforge.net/conda/dev

-- Subsequent conda binaries on lsst-dev:

  • ssh [username]@lsst-dev.ncsa.illinois.edu
  • cd conda-lsst
  • export PATH="$PWD/miniconda/bin:$PATH"
  • export PATH="$PWD/bin:$PATH"

-- Final build and upload commands

  • conda lsst build build:BUILDID lsst_sims
  • conda lsst upload ssh lsst-dev.ncsa.illinois.edu /home/mjuric/public_html/conda/dev --conda $PWD/miniconda/bin/conda

Repeat the above on a mac to build the OSX binaries. Note that you must use BASH to run the bootstrap script. Note that you must remove anaconda or other conda installations from your path before running any of the above commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment