mirror of
https://github.com/triqs/dft_tools
synced 2024-12-11 23:13:45 +01:00
Bring install.rst in line with other applications
This commit is contained in:
parent
2fea75133b
commit
64d9215dd0
@ -26,21 +26,21 @@ Prerequisites
|
||||
Installation steps
|
||||
------------------
|
||||
|
||||
#. Download the sources from github::
|
||||
#. Download the source code by cloning the ``TRIQS/dft_tools`` repository from GitHub::
|
||||
|
||||
$ git clone https://github.com/TRIQS/dft_tools.git src
|
||||
$ git clone https://github.com/TRIQS/dft_tools.git dft_tools.src
|
||||
|
||||
#. Create an empty build directory where you will compile the code::
|
||||
#. Create and move to a new directory where you will compile the code::
|
||||
|
||||
$ mkdir dft_tools.build && cd dft_tools.build
|
||||
|
||||
#. Make sure that you have added the TRIQS and Cpp2Py installation to your environment variables::
|
||||
#. Ensure that your shell contains the TRIQS environment variables by sourcing the ``triqsvars.sh`` file from your TRIQS installation::
|
||||
|
||||
$ source path_to_triqs/share/triqsvarsh.sh
|
||||
|
||||
#. In the build directory call cmake
|
||||
#. In the build directory call cmake, including any additional custom CMake options, see below::
|
||||
|
||||
$ cmake ../src
|
||||
$ cmake ../dft_tools.src
|
||||
|
||||
#. Compile the code, run the tests and install the application::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user