mirror of https://github.com/m-labs/artiq.git
manual: add info about upgrade/rollback with Nix
This commit is contained in:
parent
87a1ea6587
commit
62bfccc264
|
@ -107,8 +107,17 @@ This activation has to be performed in every new shell you open to make the ARTI
|
||||||
.. note::
|
.. note::
|
||||||
Some ARTIQ examples also require matplotlib and numba, and they must be installed manually for running those examples. They are available in Conda.
|
Some ARTIQ examples also require matplotlib and numba, and they must be installed manually for running those examples. They are available in Conda.
|
||||||
|
|
||||||
Upgrading ARTIQ
|
Upgrading ARTIQ (with Nix)
|
||||||
---------------
|
--------------------------
|
||||||
|
|
||||||
|
Run ``nix-channel --update`` to retrieve information about the latest versions, and then either reinstall ARTIQ into the user environment (``nix-env -i python3.6-artiq``) or re-run the ``nix-shell`` command.
|
||||||
|
|
||||||
|
To rollback to the previous version, use ``nix-channel --rollback`` and then re-do the second step. You can switch between versions by passing a parameter to ``--rollback`` (see the ``nix-channel`` documentation).
|
||||||
|
|
||||||
|
You may need to reflash the gateware and firmware of the core device to keep it synchronized with the software.
|
||||||
|
|
||||||
|
Upgrading ARTIQ (with Conda)
|
||||||
|
----------------------------
|
||||||
|
|
||||||
When upgrading ARTIQ or when testing different versions it is recommended that new Conda environments are created instead of upgrading the packages in existing environments.
|
When upgrading ARTIQ or when testing different versions it is recommended that new Conda environments are created instead of upgrading the packages in existing environments.
|
||||||
Keep previous environments around until you are certain that they are not needed anymore and a new environment is known to work correctly.
|
Keep previous environments around until you are certain that they are not needed anymore and a new environment is known to work correctly.
|
||||||
|
|
Loading…
Reference in New Issue