Page History
Settup up the conda build system
Step-by-step guide
- sudo as psreldev
- currently, for davidsch, sets path for miniconda2devel and manage/scripts
- start at /reg/g/psdm/sw/conda
- create the directory layout described in Conda Build System Directory Layout
- Install miniconda2 into the six directories inst/miniconda2-dev-rhel7 .. inst/miniconda2-prod-rhel5
- to be xtra careful, install from rhel5, rhel6, rhel7 machines - although probably not neccessary
- Due to
I don't think we should update the production environments, nor install conda build in them.Jira server SLAC National Accelerator Laboratory serverId 1b8dc293-975d-3f2d-b988-18fd9aec1546 key PSRT-129 - for each dev conda install, preferably on correct host machine (psreldev .bashrc sets up aliaes setup_condadev5)
- change the PATH so that you run from that miniconda install
- install conda build
- conda update --all, get the latest from the defaults area
- The root environment is done, we'll try not to add new packages to the root environment.
- Run ana-rel-manage -c gen-condarc to generate condarc for all the minicondas
- (execute once, from any host/conda install)
- now that we have added our file:/// channels areas, we need to turn them into channels, otherwise nothing will work
- Run ana-rel-manage -c index-channels to do this
- (once, any host/conda)
- do this to create the manage directory from stuff under version control:
git clone https://github.com/davidslac/manage-lcls-conda-build-system.git manageindex the empty channels - We will try to keep track of what packages are installed in the root environment. Update the file manage/config/conda_root_package_list
- check root environment, ana-rel-manage -c root-pkg-cmp
Info |
---|
Related articles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Overview
Content Tools