...
Get the basename (last part of your directory path) of your abs-directory for later use:
Volet |
---|
base_dir=$( basename $PWD ) |
'base_dir' should now be set to 'My_Abs'. You can verify it with:
...
Volet |
---|
git clone ~winger/SPS/v_6.1.1/Abs/SPS_UQAM_development/sps |
then change into 'sps' directory that came with the clone:
Volet |
---|
cd sps |
d) Create working directories
So the object files, libraries and executables will not be under your home, create links for the directories 'build' and 'work'. Pick a place under which you want to keep the object files, libraries and executables under your data space, or examplesomething like:
Volet |
---|
work_space=/your_data_space/GEMSPS_WORK_DIR/Abs_6.1.1 |
Create the directories and the links (using ${base_dir} from above) :
Volet |
---|
mkdir -p ${work_space}/${base_dir}/build mkdir -p ${work_space}/${base_dir}/work ln -s ${work_space}/${base_dir}/build ln -s ${work_space}/${base_dir}/work |
e) Acquire a compiler
...