Changes between Version 1 and Version 2 of InstallingROOT


Ignore:
Timestamp:
10/29/18 16:29:17 (6 years ago)
Author:
tbretz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallingROOT

    v1 v2  
    44
    55{{{
    6 [0] tar xvfz root_v6.14.04.source.tar.gz
    7 [1] mv root-6.14.04 root-6.14.04-src
    8 [2] mkdir root-6.14.04
    9 [3] cd root-6.14.04
    10 [4] cmake ../root-6.14.04-src
    11 [5] make
    12 [6] . bin/thisroot.sh
     6[0] tar xvfz root_v6.14.04.source.tar.gz  # Extract the tar file
     7[1] mv root-6.14.04 root-6.14.04-src      # Rename the source diretory (for convenience)
     8[2] mkdir root-6.14.04                    # Create a build directory
     9[3] cd root-6.14.04                       # Change into the build directory
     10[4] cmake ../root-6.14.04-src             # Create the build environment
     11[5] make                                  # Make root
     12[6] rm -rf ../root-6.14.04-src            # Now the source can safely be removed
     13[7] . bin/thisroot.sh                     # Properly setup your environment
    1314}}}
    1415
     16You might want to call cmake to setup the build environment with a different (e.g. faster) compiler like clang:
    1517
     18{{{
     19[4] cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ../root-6.14.04-src
     20}}}
    1621
     22To force the compilation of the GQt module
     23
     24{{{
     25[4] cmake -Dqt=ON ../root-6.14.04-src
     26}}}