2020-02-09 11:18:42 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
srcDir=${HOME}/coriolis-2.x/src/alliance/alliance/src
|
2021-12-31 09:35:38 -06:00
|
|
|
commonRoot=${HOME}/coriolis-2.x/Linux.el9/Release.Shared
|
2020-02-09 11:18:42 -06:00
|
|
|
buildDir=${commonRoot}/build
|
|
|
|
installDir=${commonRoot}/install
|
|
|
|
|
|
|
|
export ALLIANCE_TOP=${installDir}
|
|
|
|
export LD_LIBRARY_PATH=${installDir}/lib:${LD_LIBRARY_PATH}
|
|
|
|
|
|
|
|
cd ${srcDir}
|
|
|
|
# Skip doc generation to avoid pulling TeXLive in docker images.
|
|
|
|
sed -i 's,dirs="\$newdirs documentation",dirs="$newdirs",' ./autostuff
|
|
|
|
./autostuff clean
|
|
|
|
./autostuff
|
|
|
|
mkdir -p ${buildDir}
|
|
|
|
cd ${buildDir}
|
|
|
|
${srcDir}/configure --prefix=${ALLIANCE_TOP} --enable-alc-shared
|
|
|
|
make -j1 install
|