11Building Tomviz
22===============
33
4- Building Tomviz is an advanced process that requires compiling ParaView,
5- as well as ensuring all necessary dependencies are in place. Most users
4+ Building Tomviz can be an advanced process that requires
5+ ensuring that all necessary dependencies are in place. Most users
66ought to install Tomviz from the conda-forge packages rather than
77building it. These instructions are primarily for developers who wish
88to make contributions.
@@ -16,14 +16,10 @@ conda create -n tomviz -y
1616conda activate tomviz
1717```
1818
19- First, we need to ensure that ParaView and tomviz are cloned into the
20- current repository. Run the following bash code to do so:
19+ First, we need to ensure that tomviz is cloned into the current repository.
20+ Run the following bash code to do so:
2121
2222``` bash
23- if ! [ -e " paraview" ]; then
24- git clone -b v6.0.1 --recursive https://gitlab.kitware.com/paraview/paraview
25- fi
26-
2723if ! [ -e " tomviz" ]; then
2824 git clone --recursive https://github.com/NSLS2/tomviz
2925fi
@@ -36,12 +32,6 @@ conda-forge. Thus we will use those lists for installation.
3632conda install -y --override-channels -c conda-forge --file tomviz/.github/workflows/build_requirements.txt
3733```
3834
39- Next, build ParaView. This may take some time.
40-
41- ``` bash
42- bash tomviz/.github/workflows/scripts/build_paraview.sh
43- ```
44-
4535Now, build Tomviz.
4636
4737``` bash
@@ -65,19 +55,14 @@ Tomviz may then be ran as follows:
6555All of the build instructions above put into a single script are as follows:
6656
6757``` bash
68- if ! [ -e " paraview" ]; then
69- git clone -b v6.0.1 --recursive https://gitlab.kitware.com/paraview/paraview
70- fi
71-
7258if ! [ -e " tomviz" ]; then
7359 git clone --recursive https://github.com/NSLS2/tomviz
7460fi
7561
7662# Install build requirements
7763conda install -y --override-channels -c conda-forge --file tomviz/.github/workflows/build_requirements.txt
7864
79- # Build ParaView and Tomviz
80- bash tomviz/.github/workflows/scripts/build_paraview.sh
65+ # Build Tomviz
8166bash tomviz/.github/workflows/scripts/build_tomviz.sh
8267
8368# Install runtime dependencies
0 commit comments