Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Settup up the conda build system

Step-by-step guide

  1. sudo as psreldev
  2. start at /reg/g/psdm/sw/conda
  3. create the directory layout described in Conda Build System Directory Layout
  4. Install miniconda2 into the six directories inst/miniconda2-dev-rhel7 .. inst/miniconda2-prod-rhel5
    1. to be xtra careful, install from rhel5, rhel6, rhel7 machines - although probably not neccessary
  5. for each conda install, preferably on correct host machine (psreldev .bashrc sets up aliaes setup_condadev5)
    1. change the PATH so that you run from that miniconda install
    2. install conda build
    3. conda update --all, get the latest from the defaults area
    4. Note: may be risky to do update --all for the 'prod' installs
  6. The root environment is done, we'll try not to add new packages to the root environment.
  7. Run ana-rel-manage -c gen-condarc to generate condarc for all the minicondas
    1. (execute once, from any host/conda install)
  8. now that we have added our file:/// channels areas, we need to turn them into channels, otherwise nothing will work
  9. Run ana-rel-manage -c index-channels to do this
    1. (once, any host/conda)
  10. do this to create the manage directory from stuff under version control:
    git clone https://github.com/davidslac/manage-lcls-conda-build-system.git manage
  11. We will try to keep track of what packages are installed in the root environment. Update the file manage/config/conda_root_package_list
  12. check root environment, ana-rel-manage -c root-pkg-cmp

Next step is  

 

Info

Content by Label
showLabelsfalse
max5
spacesPSDMInternal
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "PSDMInternal"
labelskb-how-to-article

...