Skip to content
Snippets Groups Projects
Commit c1cda890 authored by Scott Mindock's avatar Scott Mindock
Browse files

Users stuff

parent 8430c1cd
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ echo $COTS_HOME
export ADL_COTS=${COTS_HOME}/tars
export USER_COTS_PATH=${COTSBASE}/local
export USER_COTS_PATH=${COTSBASE}/libexec
export BUILD=${COTSBASE}/build
echo "LD_RUN_PATH" $LD_RUN_PATH
......@@ -542,6 +542,85 @@ all()
echo "COTS Built"
}
adl()
{
export COTS_PYTHON_HOME=/user/libexec
### end replace
export COTS_HOME=$1
export COTSBASE=$2
export ADL_HOME=$3
#echo "COTS_HOME" ${COTS_HOME}
#ls ${COTS_HOME}
#echo "COTSBASE" ${COTSBASE}
#ls ${COTSBASE}
#echo "ADL_HOME" ${ADL_HOME}
#ls ${ADL_HOME}
shift 2
echo $@
export ADL_INSTALL=${ADL_HOME}
export USER_COTS_PATH=${COTSBASE}/libexec
export BUILD=${COTSBASE}/build
export JAVA_COTS=${COTSBASE}/JAVA_COTS
export JAVA_JARS=${JAVA_COTS}
make_dir() {
DIR=$1
if [ ! -e ${DIR} ]; then
echo "Directory " ${DIR} "does not exit. Make it now"
mkdir -p ${DIR}
if [ $? -ne 0 ]; then
exit 1
fi
fi
}
# directories not kept in repo
mkdir -p ${ADL_HOME}/data/MSD_LZ/AUX
mkdir -p ${ADL_HOME}/tools/bin
mkdir -p ${ADL_HOME}/bin/
mkdir -p ${ADL_HOME}/perl/modules/PRO/SrcAutogen/src
mkdir -p ${ADL_HOME}/CMN/SrcAutogen/src
echo "Made directories"
ls -al ${ADL_HOME}/CMN/SrcAutogen/src
# gcc netos6 Comment these out for buildbucket
export CC="gcc"
export CPP="cpp"
export CXX="g++"
export FORTRAN="gfortran"
export FC="gfortran"
# gcc netos6 Comment above out for buildbucket
#CC, FC, CXX, F90, F77, F9X
#gcc buildbucket
export FORTRAN=${FC}
export F77=${FORTRAN}
export FC=${FORTRAN}
export LOADER=${FORTRAN}
export F77_COMPILER=${FORTRAN}
export F90_COMPILER=${FORTRAN}
export F95_COMPILER=${FORTRAN}
export CPP_COMPILER=${FORTRAN}
export F90=${FORTRAN}
ln -s /usr/bin/python3 /usr/libexec//bin/python3
cd ${ADL_HOME} &&
export PATH=${ADL_HOME}/bin:/usr/libexec/bin:$PATH &&
source build/envSetup.sh &&
export COTS_PYTHON=/usr/libexec/ &&
./buildAdl.sh 2>&1 | tee ${COTS_HOME}/build_adl.log
}
wipe
all
......
#!/bin/bash
COTS_HOME=/csppbinaries/cspp-sdr-binary/distro/
COTSBASE=/CSPP_SDR_4_0
mkdir -p ${COTSBASE}
export ADL_COTS=${COTS_HOME}/tars
export JAVA_COTS=${COTSBASE}/JAVA_COTS
export JAVA_JARS=${JAVA_COTS}/jars
make_dir() {
DIR=$1
if [ ! -e ${DIR} ]; then
echo "Directory " ${DIR} "does not exit. Make it now"
mkdir -p ${DIR}
if [ $? -ne 0 ]; then
exit 1
fi
fi
}
all() {
echo ${JAVA_JARS}
make_dir ${JAVA_COTS} &&
make_dir ${JAVA_JARS} &&
cd ${JAVA_COTS} &&
# install jar files needed for ADL editorq
tar xf ${ADL_COTS}/jdk-8u73-linux-x64.gz &&
tar xf ${ADL_COTS}/apache-ant-1.9.3-bin.tar.gz &&
tar xf ${ADL_COTS}/commons-beanutils-1.9.2-bin.tar.gz &&
tar xf ${ADL_COTS}/commons-digester3-3.0-bin.tar.gz &&
unzip ${ADL_COTS}/swingx-1.6.2-bundle.zip &&
tar xf ${ADL_COTS}/apache-log4j-2.10.0-bin.tar.gz &&
mv ${JAVA_COTS}/apache-log4j-2.10.0-bin ${JAVA_COTS}/apache-log4j-2.10.0 &&
cd ${JAVA_JARS} &&
tar xf ${ADL_COTS}/commons-codec-1.3.tar.gz &&
echo "Java cots installed"
}
all
File added
File added
File added
File added
File added
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment