public:user_software:cr-tools:update_of_cr-tools_installation

User Software :: CR-Tools :: Update of an installation

Once you have your initial CR-Tools installation, of course you would like to keep up with updates and other changes.

1. Retrieve the lasted version of the source code from the Subversion repository

Given your typical installation looks like this

lofarsoft
|-- build
|   `-- build.sh
|-- data
|-- devel_common
|-- doc
|-- external
|-- release
|   |-- bin
|   |-- include
|   `-- lib
`-- src
    |-- CR-Tools
    `-- DAL

you have two options:

  1. Directly run
    svn up

    from the top-level directory of your working copy of the code tree.

  2. Call the update target provided by the CMake-generated Makefile:
    cd build
    make update

Notes:

  • In general you can of course run the update from any subdirectory of your installation, but I would strongly advise to follow the above example, because this is the safest route to catch all updates which have been taken place since the last time you went through this process. Even though most likely your main interest will be in updating whatever is contained within src/CR-Tools, modifications in directories such as external or devel_common are aimed at improving the overall flexibility and portability of the software – so make sure you do not miss them.

2. Initiate a new build and install

Simply run the build script to compile the latest version of the source code and install it:

cd build
./build.sh cr



User SoftwareCR-Tools

  • Last modified: 2017-03-08 15:27
  • by 127.0.0.1